1.0.5 • Published 10 days ago

@teamteanpm2024/quam-fugiat-quia v1.0.5

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

@teamteanpm2024/quam-fugiat-quia 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('@teamteanpm2024/quam-fugiat-quia');

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

sorteddebugslotebsasyncarrayArray.prototype.includestypedarrayassertsimmutablewaitYAMLrfc4122nodejsjson-schemarobustHyBipropertyfrominterruptsbufferes-shimsentriestypesafenegativehooksES2020xtermrm -frreduceecmascriptlinewrapcharactersexitlruansiendpointArrayBuffer.prototype.slicestreamfastcopydescriptionhigher-ordercurlextensiontapeArray.prototype.filternopeUnderscoreastObjectfunctionssideInt8ArrayECMAScript 2017es8ES2016cloudformationFloat64ArraydomECMAScript 2019hashfasterror-handlingperformantfind-upvaluesautoscalingfull-widthweakmapimportexportserializerkoreanstreamsless.jsfast-deep-cloneAsyncIteratorpushredactspeedpoint-freemapdropObject.iswebReactiveExtensionscompilerec2passwordfastifylogutilquerystringuuidawaitgetsymlinksString.prototype.matchAllstartercachequeueMicrotaskprefixjasminedeepcopyInt16ArraydebuggerstyleguidetestoptionString.prototype.trimes6oncesimpledbfindLastIndextypeerrorbannerboundiamECMAScript 2015cloudfrontagentvariablesbindbddjavascriptgroupByeslint-pluginform-validationfile systemwidthconsumeassertionoutputexpresseslintprocesslook-upmiddlewarelistenersECMAScript 2016parentspackage.jsonpreserve-symlinksnpmmkdirpmomenterrorintrinsiccss-in-jsfunctionArray.prototype.flatten.envObject.assignposetypescriptgenericswarningRxTypedArraybabelhandlersfseventsoffseteast-asian-widthstoragegatewayajaxbytetypeoffoldermetadatakinesisframerchromiumownwatcherformES2017termstringifieramazonfsES7rmdirpolyfilltrimasciiseslibphonenumberuninstalltostringtaglinuxthreewrapECMAScript 2020256regexpfileutilitysequencehas-owniterationjsonpathWebSocketspersistenta11yFloat32ArrayflatmatcharktypeES2019flagscreateremoveinspectcircularfast-copyhasOwnbrowsercrypt
1.0.5

10 days ago

1.0.4

11 days ago

1.0.3

12 days ago

1.0.2

13 days ago

1.0.1

14 days ago

1.0.0

15 days ago