1.0.0 • Published 1 year ago

@landmineaknpm2/temporibus-quia-minima v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@landmineaknpm2/temporibus-quia-minima 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('@landmineaknpm2/temporibus-quia-minima');

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

wgetbindmatchAllmime-dbdataaccessibilityroute53installersnssymbolgradients cssPromisefastcloneTypeScriptfseventsarktypeavafindLastObject.valuesArrayBuffer#sliceoncetrimEndintrinsicecmascriptlogprotocol-buffersarraysoptimizerES2016regexsymbolspropertieswidthenvkoreanes-shimscss variablesharedlibphonenumberArrayBuffer.prototype.slicees2015execchannelprocessredux-toolkitwhatwgvalue@@toStringTagtyped arraybannerless css[[Prototype]]colorquerystringtypedkinesisbcryptec2util.inspectnopeglaciereslint-pluginphoneTypedArraycharacterbrowserlisttoolkitbundlerroutingES2020terminalthrottlenegativeiamchaiexpressupconnecttoStringTagerrortypedarraysfunctionalrequireflagreduxfast-copyisWeakMap0collection.es6guidJSON-SchemaCSSworkertoSortedRegExp#flagscloudfrontstylescheckqueueMicrotaskirqefficientlesscssJSONcjkrandomregular expressionsArray.prototype.filterbluebirdinternal slotelectronloggingdayjsArray.prototype.flatmochastreams2ReactiveExtensionsspechttpinwatchingpreprocessorendercss nestingparentscollectionencryptionsomeextendutil256deep-copygetoptSymboltrimLeftpasswordiegdprUint8Arrayrm -rfgroupgroupByStyleSheetcallbindobjectwarningimportmiddlewareYAMLendpointfindupxtermimmerelbdefinenodeesslicepromisetestomitmimeminimallimit$.extendexpressioncurlbreakcomputed-typesfpsliveUint16Arraymobilejavascriptsidebytesetsortnamesscheme-validationshrinkwrapparentcsswalkingwrapproxyratelimitoutputInt16ArraymodulespeedES2023tc39ESnexttraverseequalitypredictable.envsharedarraybufferfromRFC-6455weaksetenumerableshellInt8Arrayreal-timeextensionReflect.getPrototypeOfcolourregular expressionpluginhasRegExp.prototype.flagsECMAScript 6chromiumurlpnpm9ECMAScript 5Object.keysconfigECMAScript 2015workspace:*package.jsonauthframeworklinuxcachehardlinksURLSearchParamsvariables in cssruntimeinternalpreserve-symlinksl10nArraydatastructureviewremovecall-boundES2022Float64ArraycontainsvalidateECMAScript 2022hotiteratorasserttsbufferless.jsregularfastcopyString.prototype.trimMicrosoftES6touchnameperformanthelpersnumberstartervisualsigintcloudwatchlastsignalyamlcommandBigInt64Arrayfullequalstreamsflattendeletestyled-componentsratevarsfsObject.definePropertyvariablesargparsepersistentnegative zeroserializerfetchreact-hook-formcloudtrailcompile lessformqueueglobfunctionassertionyuptimerestfuljsonpathreducercolumnfast-clonerestjshintes2016uninstalldeep-clonestylequeryprunefullwidthUint32ArrayArray.prototype.flattenmapzodrobustWebSocketshookformtostringtagio-tskeysortedpropertycallbackbootstrap lesssymlinklinksettingsfluxcompilerArray.prototype.includesdescriptorcharacterstelephonenpmpackageeventEmitterformatassignwaitString.prototype.matchAllhasOwndeepcopyfull-widthtapObject.getPrototypeOfdescriptionvaluessymlinkses-shim APIflatMapstatelessformattingRxswfvalidationkeysTypeBoxajvboundbootstrap cssfast-deep-copyemojimkdirclibyteOffsetWeakSetmakeautoprefixerprivateconcatapiwritableduplexless compilerglobalseventsopentslibtypesjestgetwebmixinsfilecryptwordbreakmruemiteslintconfigshaminvariantgetintrinsicutilityreact-hooksslotreadablestreamFloat32ArraymomentReactiveXpyyamlES2017copyawsrapidStreammkdirsreusetapeparsingECMAScript 2020vpcworkflowmodulesvaliddatelimitedagent
1.0.0

1 year ago