Gathering detailed insights and metrics for @lambrioanpm/ut-veniam-rem
Gathering detailed insights and metrics for @lambrioanpm/ut-veniam-rem
npm install @lambrioanpm/ut-veniam-rem
Typescript
Module System
Node Version
NPM Version
32.2
Supply Chain
48.1
Quality
74.6
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
120
Last Day
1
Last Week
2
Last Month
14
Last Year
120
MIT License
2,338 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 20, 2025
Latest Version
1.0.0
Package Id
@lambrioanpm/ut-veniam-rem@1.0.0
Unpacked Size
15.68 kB
Size
5.95 kB
File Count
8
NPM Version
10.5.0
Node Version
20.12.2
Published on
May 04, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-60%
2
Compared to previous week
Last Month
180%
14
Compared to previous month
Last Year
0%
120
Compared to previous year
36
An ES spec-compliant ArrayBuffer.prototype.slice
shim. Invoke its "shim" method to shim ArrayBuffer.prototype.slice if it is unavailable.
This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the spec.
Most common usage:
1var assert = require('assert'); 2var slice = require('@lambrioanpm/ut-veniam-rem'); 3 4var ab = new ArrayBuffer(1); 5var arr = new Uint8Array(ab); 6arr[0] = 123; 7 8var ab2 = slice(ab); 9 10var arr2 = new Uint8Array(ab2); 11arr2[0] = 234; 12 13assert.deepEqual(arr, new Uint8Array([123])); 14assert.deepEqual(arr2, new Uint8Array([234])); 15 16if (!ArrayBuffer.prototype.transfer) { 17 slice.shim(); 18} 19 20var ab2 = ab.slice(); 21 22var arr2 = new Uint8Array(ab2); 23arr2[0] = 234; 24 25assert.deepEqual(arr, new Uint8Array([123])); 26assert.deepEqual(arr2, new Uint8Array([234]));
Simply clone the repo, npm install
, and run npm test
No vulnerabilities found.
No security vulnerabilities found.