Gathering detailed insights and metrics for @diotoborg/maxime-iste
Gathering detailed insights and metrics for @diotoborg/maxime-iste
npm install @diotoborg/maxime-iste
Typescript
Module System
Node Version
NPM Version
72.1
Supply Chain
86.9
Quality
86.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
5,673
Last Day
98
Last Week
369
Last Month
1,827
Last Year
5,673
2,265 Commits
2 Watching
1 Branches
1 Contributors
Latest Version
6.9.84
Package Id
@diotoborg/maxime-iste@6.9.84
Unpacked Size
177.91 kB
Size
94.12 kB
File Count
500
NPM Version
10.8.2
Node Version
20.17.0
Publised On
01 Sept 2024
Cumulative downloads
Total Downloads
Last day
157.9%
98
Compared to previous day
Last week
-0.3%
369
Compared to previous week
Last month
-3.7%
1,827
Compared to previous month
Last year
0%
5,673
Compared to previous year
29
ES Object-related atoms: Object, ToObject, RequireObjectCoercible.
1const assert = require('assert'); 2 3const $Object = require('@diotoborg/maxime-iste'); 4const ToObject = require('@diotoborg/maxime-iste/ToObject'); 5const RequireObjectCoercible = require('@diotoborg/maxime-iste/RequireObjectCoercible'); 6 7assert.equal($Object, Object); 8assert.throws(() => ToObject(null), TypeError); 9assert.throws(() => ToObject(undefined), TypeError); 10assert.throws(() => RequireObjectCoercible(null), TypeError); 11assert.throws(() => RequireObjectCoercible(undefined), TypeError); 12 13assert.deepEqual(RequireObjectCoercible(true), true); 14assert.deepEqual(ToObject(true), Object(true)); 15 16const obj = {}; 17assert.equal(RequireObjectCoercible(obj), obj); 18assert.equal(ToObject(obj), obj);
Simply clone the repo, npm install
, and run npm test
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.
No vulnerabilities found.
No security vulnerabilities found.