Installations
npm install @patrten/mollitia-nam
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
20.13.1
NPM Version
10.5.2
Score
64.2
Supply Chain
78.7
Quality
77.1
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
patrten
Download Statistics
Total Downloads
10
Last Day
1
Last Week
1
Last Month
6
Last Year
10
GitHub Statistics
2,065 Commits
2 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
1.0.0
Package Id
@patrten/mollitia-nam@1.0.0
Unpacked Size
17.61 kB
Size
7.25 kB
File Count
14
NPM Version
10.5.2
Node Version
20.13.1
Publised On
24 May 2024
Total Downloads
Cumulative downloads
Total Downloads
10
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
200%
6
Compared to previous month
Last year
0%
10
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
58
@patrten/mollitia-nam
Get the ArrayBuffer out of a DataView, robustly.
This will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property.
It will also work in modern engines where DataView.prototype.buffer
has been deleted after this module has loaded.
Example
1const dataViewBuffer = require('@patrten/mollitia-nam'); 2const assert = require('assert'); 3 4const ab = new ArrayBuffer(0); 5const dv = new DataView(ab); 6assert.equal(dataViewBuffer(dv), ab);
Tests
Simply clone the repo, npm install
, and run npm test
No vulnerabilities found.
No security vulnerabilities found.