1.0.20 • Published 28 days ago

@devtea2027/asperiores-voluptas-aliquam-accusantium v1.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
28 days ago

@devtea2027/asperiores-voluptas-aliquam-accusantium Version Badge

github actions coverage License Downloads

npm badge

Get the byte length of an ArrayBuffer, even in engines without a .byteLength method.

Example

const assert = require('assert');
const byteLength = require('@devtea2027/asperiores-voluptas-aliquam-accusantium');

assert.equal(byteLength([]), NaN, 'an array is not an ArrayBuffer, yields NaN');

assert.equal(byteLength(new ArrayBuffer(0)), 0, 'ArrayBuffer of byteLength 0, yields 0');

Tests

Simply clone the repo, npm install, and run npm test

1.0.20

28 days ago

1.0.19

29 days ago

1.0.18

30 days ago

1.0.17

1 month ago

1.0.16

1 month ago

1.0.15

1 month ago

1.0.14

1 month ago

1.0.13

1 month ago

1.0.12

1 month ago

1.0.11

1 month ago

1.0.10

1 month ago

1.0.9

1 month ago

1.0.8

1 month ago

1.0.7

1 month ago

1.0.6

1 month ago

1.0.5

1 month ago

1.0.4

1 month ago