Gathering detailed insights and metrics for @ganuz/to-accessor-descriptor
Gathering detailed insights and metrics for @ganuz/to-accessor-descriptor
npm install @ganuz/to-accessor-descriptor
Typescript
Module System
Node Version
NPM Version
70.5
Supply Chain
75.2
Quality
74
Maintenance
100
Vulnerability
100
License
TypeScript (99.81%)
JavaScript (0.19%)
Total Downloads
965
Last Day
1
Last Week
3
Last Month
14
Last Year
85
8 Commits
2 Watching
2 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.1.1
Package Id
@ganuz/to-accessor-descriptor@0.1.1
Unpacked Size
73.99 kB
Size
11.12 kB
File Count
15
NPM Version
lerna/3.13.2/node@v10.15.1+x64 (win32)
Node Version
10.15.1
Cumulative downloads
Total Downloads
Last day
-50%
1
Compared to previous day
Last week
-25%
3
Compared to previous week
Last month
366.7%
14
Compared to previous month
Last year
-51.1%
85
Compared to previous year
To Accessor Descriptor is package from Ganuz library
1$ yarn add @ganuz/to-accessor-descriptor
Or
1$ npm install --save @ganuz/to-accessor-descriptor
Module
1import { 2 default as toAccessorDescriptor 3} from '@ganuz/to-accessor-descriptor';
Browser
1<script src="https://unpkg.com/@ganuz/to-accessor-descriptor/bundle.umd.min.js"></script>
1let { 2 toAccessorDescriptor 3} = G;
Examples
1 toAccessorDescriptor(); // => {configurable: true, enumerable: false, get: undefined, set: undefined} 2 toAccessorDescriptor(4, 'foo', 1); // => {configurable: true, enumerable: true, get: undefined, set: undefined} 3 toAccessorDescriptor(() => true); // => {configurable: true, enumerable: false, get: () => true, set: undefined} 4 toAccessorDescriptor(undefined, v => {}); // => {configurable: true, enumerable: false, get: undefined, set: v => {}) 5 toAccessorDescriptor(() => -1, v => {}); // => {configurable: true, enumerable: false, get: () => -1, set: v => {}) 6 toAccessorDescriptor(() => 45, 0, 'ew'); // => {configurable: false, enumerable: true, get: () => 45, set: undefined} 7 toAccessorDescriptor(null, 'set', true); // => {configurable: true, enumerable: true, get: undefined, set: undefined} 8 toAccessorDescriptor(1, 1, {enumerable: 58, writable: false, get: () => 'foo'); // => {configurable: false, enumerable: true, get: () => 45, set: undefined} 9 toAccessorDescriptor(Object, Function, false); // => {configurable: false, enumerable: false, get: Object, set: Function} 10 toAccessorDescriptor(0, v => {}, {}); // => {configurable: false, enumerable: false, get: undefined, set: v => {}}
Copyright © Yisrael Eliev, Licensed under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/8 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
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
99 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-13
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