Gathering detailed insights and metrics for abc-log
Gathering detailed insights and metrics for abc-log
npm install abc-log
Typescript
Module System
Node Version
NPM Version
68.8
Supply Chain
87
Quality
74.9
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
950
Last Day
1
Last Week
3
Last Month
15
Last Year
83
5 Commits
1 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.0.2
Package Id
abc-log@0.0.2
Unpacked Size
5.80 kB
Size
2.28 kB
File Count
3
NPM Version
6.11.2
Node Version
10.16.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
200%
3
Compared to previous week
Last month
650%
15
Compared to previous month
Last year
-65.6%
83
Compared to previous year
1
Configurable JSON.stringify() logging to any output stream.
time
, level
, and log
property names1const AbcLog = require('abc-log') 2const log = new AbcLog({ level: 'info' }) 3const o = { 4 error: new Error('something bad happened'), 5 name: 'freddy', 6 address: { 7 street: '1234 lane st', 8 city: 'hereshey', 9 st: 'PA', 10 zip: '19293' 11 }, 12 nest: { 13 really: { 14 deep: { 15 stuff: ['one', 2, 'three'] 16 } 17 } 18 } 19} 20o.circular = o 21// Signature is compatible with JSON.stringify(value, replacer, space) 22log.info(o, 2) // same as log.info(o, null, 2)
Results
1{ 2 "time": "2019-08-05T18:13:25.785Z", 3 "level": "info", 4 "log": { 5 "error": { 6 "name": "Error", 7 "message": "something bad happened", 8 "stack": "Error: something bad happened\n at Object.<anonymous> (/abc-log/index.js:70:12)\n at Module._compile (internal/modules/cjs/loader.js:776:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)\n at Module.load (internal/modules/cjs/loader.js:653:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)\n at startup (internal/bootstrap/node.js:283:19)\n at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)" 9 }, 10 "name": "freddy", 11 "address": { 12 "street": "1234 lane st", 13 "city": "hereshey", 14 "st": "PA", 15 "zip": "19293" 16 }, 17 "nest": { 18 "really": { 19 "deep": { 20 "stuff": [ 21 "one", 22 2, 23 "three" 24 ] 25 } 26 } 27 }, 28 "circular": "--circular--" 29 } 30}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More