Gathering detailed insights and metrics for @ladjs/pick-original
Gathering detailed insights and metrics for @ladjs/pick-original
Gathering detailed insights and metrics for @ladjs/pick-original
Gathering detailed insights and metrics for @ladjs/pick-original
npm install @ladjs/pick-original
Typescript
Module System
Min. Node Version
Node Version
NPM Version
67.9
Supply Chain
84.9
Quality
82.9
Maintenance
100
Vulnerability
99.6
License
JavaScript (93.21%)
Shell (6.79%)
Total Downloads
7,514
Last Day
6
Last Week
21
Last Month
121
Last Year
2,036
1 Stars
19 Commits
2 Watching
1 Branches
5 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.0
Package Id
@ladjs/pick-original@2.0.0
Unpacked Size
7.64 kB
Size
3.45 kB
File Count
16
NPM Version
10.7.0
Node Version
18.20.4
Publised On
20 Aug 2024
Cumulative downloads
Total Downloads
Last day
-45.5%
6
Compared to previous day
Last week
0%
21
Compared to previous week
Last month
-38.9%
121
Compared to previous month
Last year
32.6%
2,036
Compared to previous year
Transform an Object that was transformed to return only the original properties recursively picked if they are not undefined.
npm:
1npm install @ladjs/pick-original
1const pickOriginal = require('@ladjs/pick-original'); 2 3function createObj(doc) { 4 doc.id = Date.now().toString(); 5 return doc; 6} 7 8const original = { foo: 'bar' }; 9 10const transformed = pickOriginal(createObj(original), original); 11 12console.log(transformed); 13 14// { foo: 'bar' }
Name |
---|
Titanism |
MIT © Titanism
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
Found 0/19 approved changesets -- score normalized to 0
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
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
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