Gathering detailed insights and metrics for @putout/plugin-extract-object-properties
Gathering detailed insights and metrics for @putout/plugin-extract-object-properties
🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement 💪 with built-in support for js, jsx, typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏
npm install @putout/plugin-extract-object-properties
Typescript
Module System
Min. Node Version
Node Version
NPM Version
62.2
Supply Chain
77.3
Quality
71.4
Maintenance
100
Vulnerability
97.9
License
JavaScript (99.09%)
TypeScript (0.65%)
HTML (0.17%)
WebAssembly (0.05%)
CSS (0.02%)
Svelte (0.01%)
Total Downloads
1,761,696
Last Day
2,378
Last Week
10,253
Last Month
45,660
Last Year
667,949
722 Stars
14,734 Commits
41 Forks
10 Watching
46 Branches
24 Contributors
Minified
Minified + Gzipped
Latest Version
9.0.0
Package Id
@putout/plugin-extract-object-properties@9.0.0
Unpacked Size
7.87 kB
Size
2.95 kB
File Count
6
NPM Version
9.1.3
Node Version
18.14.2
Publised On
01 Apr 2023
Cumulative downloads
Total Downloads
Last day
-3.4%
2,378
Compared to previous day
Last week
-5.3%
10,253
Compared to previous week
Last month
-1.9%
45,660
Compared to previous month
Last year
70.2%
667,949
Compared to previous year
The destructuring assignment makes possible to unpack values from objects into distinct variables.
(c) MDN
🐊Putout plugin adds ability to apply destructuring to extract object properties.
npm i @putout/plugin-extract-object-properties -D
1{ 2 "rules": { 3 "extract-object-properties/equal-deep": "on", 4 "extract-object-properties/not-equal-deep": "on" 5 } 6}
1const {replaceWith} = a.operate; 2const {isIdentifier} = a.types;
1const { 2 operator, 3 types, 4} = a; 5 6const {replaceWith} = operator; 7const {isIdentifier} = types;
1const {replaceWith} = a; 2const {isIdentifier} = a.types;
1const {replaceWith, types} = a; 2const {isIdentifier} = types;
MIT
No vulnerabilities found.
Reason
30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 0/30 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
detected GitHub workflow tokens with excessive permissions
Details
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
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