Gathering detailed insights and metrics for @crabas0npm/molestias-occaecati-fugiat
Gathering detailed insights and metrics for @crabas0npm/molestias-occaecati-fugiat
npm install @crabas0npm/molestias-occaecati-fugiat
Typescript
Module System
Node Version
NPM Version
54.5
Supply Chain
48.1
Quality
75.5
Maintenance
100
Vulnerability
100
License
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
0%
5
Compared to previous week
Last month
166.7%
8
Compared to previous month
Last year
0%
115
Compared to previous year
33
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('@crabas0npm/molestias-occaecati-fugiat'); 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.