Gathering detailed insights and metrics for @ganuz/to-data-descriptor
Gathering detailed insights and metrics for @ganuz/to-data-descriptor
npm install @ganuz/to-data-descriptor
Typescript
Module System
Node Version
NPM Version
70.4
Supply Chain
74.6
Quality
74
Maintenance
100
Vulnerability
100
License
TypeScript (99.81%)
JavaScript (0.19%)
Total Downloads
1,485
Last Day
1
Last Week
5
Last Month
19
Last Year
162
8 Commits
2 Watching
2 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.1.1
Package Id
@ganuz/to-data-descriptor@0.1.1
Unpacked Size
70.37 kB
Size
10.96 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
0%
1
Compared to previous day
Last week
-16.7%
5
Compared to previous week
Last month
533.3%
19
Compared to previous month
Last year
-23.9%
162
Compared to previous year
To Data Descriptor is package from Ganuz library
1$ yarn add @ganuz/to-data-descriptor
Or
1$ npm install --save @ganuz/to-data-descriptor
Module
1import { 2 default as toDataDescriptor 3} from '@ganuz/to-data-descriptor';
Browser
1<script src="https://unpkg.com/@ganuz/to-data-descriptor/bundle.umd.min.js"></script>
1let { 2 toDataDescriptor 3} = G;
Examples
1 toDataDescriptor(); // => {configurable: true, enumerable: true, writable: true, value: undefined} 2 toDataDescriptor(Symbol.for('foo')); // => {configurable: true, enumerable: true, writable: true, value: Symbol.for('foo')} 3 toDataDescriptor({}, 0); // => {configurable: false, enumerable: false, writable: false, value: {}} 4 toDataDescriptor(-1, {}); // => {configurable: false, enumerable: false, writable: false, value: -1} 5 toDataDescriptor('foo', true); // => {configurable: true, enumerable: true, writable: true, value: 'foo'} 6 toDataDescriptor(45, 'cw'); // => {configurable: true, enumerable: false, writable: true, value: 45} 7 toDataDescriptor(Object, 74); // => {configurable: true, enumerable: true, writable: true, value: Object} 8 toDataDescriptor(NaN, {configurable: true, get(){}}); // => {configurable: true, enumerable: false, writable: false, value: NaN} 9 toDataDescriptor([0, 1, 2], {enumerable: 'foo', writable: 0, value: -1); // => {configurable: false, enumerable: true, writable: false, value: [0, 1, 2]}
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