1.0.0 • Published 1 year ago
@f1stnpm3/aut-laborum-illo v1.0.0
@f1stnpm3/aut-laborum-illo 
Get the byte length of an ArrayBuffer, even in engines without a .byteLength
method.
Example
const assert = require('assert');
const byteLength = require('@f1stnpm3/aut-laborum-illo');
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
streamsdeterministicperformantassertionpostcss-plugindeletecall-boundspinnerseventseast-asian-widthInt8Arrayxdgprotocol-bufferseventDispatcherassertclass-validatorgradients css3linuxsyntaxerrorObject.definePropertycheck[[Prototype]]mochasafefileTypeScriptthroatoptimistidentifiersexpressArray.prototype.findLastIndexcompile lessruntimeshimchromiumlisteners$.extendxdg-openurlstyped arraydependenciesspinnerFloat32Arrayspawnwordbreakutil.inspectbundlermimeReactiveXmobileyupnpmapiObjectcallbackcloudfrontdependency managerfindLastserializerhooksnopedom-testing-libraryhardlinksObject.assignerror-handlingWeakMapRxJSebsArrayBuffer.prototype.slicetypedarraysliceWebSocketpredictablecloudwatcheditortaskopenerless cssindicatorcode pointswebcss nestingfoldermiddlewareclassesavaes5typedarraysWeakSetdiffreacteveryconcurrencypropertiess3configurablejsRegExp#flagssymbolsmodulesforEacheslint-pluginhascommand-lineasyncfsserializationjsxfull-widthimportlaunchiteratetypesparentsidleflattencensorfulliamrfc4122immermkdirpkinesisreduxemrwget.envdomoutputECMAScript 2018ES7cacheastES6getterpluginlinewrapkeyssyntaxes8TypedArrayidnamewatchFileUint8Arrayprototypeinhandlerscompareless.jssearchgrouparraysoptionquotetstddoptimizermonorepowritablequerycssgetOwnPropertyDescriptortypeofarraysequencevalidatefindLastIndexworkerjoireact-hookshasOwnPropertywalkrestfulnegativeless compilerlibphonenumberflatpyyamlargparseexecircularspeedmacosdateparentregexpguidpackagespromisestraverseescaperedux-toolkitmetadatavaluesglobcallbcryptrdsauthenticationECMAScript 3getPrototypeOfMapenumerablesideautoscalingpackagehotArraycryptes2018negative zerojsonpathstyleutilstablefunctionES2017executablepicomatchstyleguidesetPrototypeOfArrayBufferfind-upserializeloadbalancingtypeargsobjectcommanderunicodeclassnamesignalchromeextensioncontainsjwtUint8ClampedArraydayjsratestringifyECMAScript 7deep-cloneparsingregexsigintjsdomdataViewprettydebuggervisualstdlibES2015specisConcatSpreadabletypescriptargvglobalstostringtagsigtermpositivecoercibletoArrayargumentsiteratorjshintrm -frnamesstructuredCloneinternalWebSocketssetImmediatedefaultObject.getPrototypeOfinferencebrowserflagcss variableArray.prototype.filterdynamodbrm -rfrestlastpatchajaxpropertymkdirString.prototype.matchAllSymbolratelimitwatchautoprefixerreadinvariantbatchsesopensmruchinesetypesafeES2022promisehigher-orderrecursivecolourxhrtermvariablesuninstallrmdirRFC-6455nested css256javascriptreal-timefiltertypanionfpsglacierstylestrimEndECMAScript 2020colorwhichESnextformatES2018getzerocloudformationlimitprivate datasettingsfastclonesinatracorstc39viewcurltrimRightprocessrangeerrorshebanges2015matchdropencryptioninstallwarningECMAScript 2016eslintagentfastduplexcolumnsdeepcopylinkloadingvaluesymbolbundlingkeyajvcallboundglobalObject.isdefinePropertycorelesscssquerystringPromisevalidcollection.es6exit-codemapreducewindowsURLiemkdirsstartregular expressionsjsdiffchaicharacterfindnodejscss lesslogfseventsomittestoperating-systemuuidsqsfluxslotArray.prototype.flatMapdeepfastcopydataopeninputclonemulti-packagecryptoisfunctionsArray.prototype.containssimpledbformECMAScript 2023concatMapinspectwatcherdeep-copyeventEmitterlimitedloggingutilitychanneljestlazyreadablestreamhookformObject.entriesansiECMAScript 2017tslibsnsio-tsAsyncIteratorObservablesmakeawaitworkflowendpointprunetestingfast-deep-cloneextrabootstrap lesssharedarraybufferrouterqscodescore-jsauthcopyJSONregular expressionlockfilettyEStextparserjasminebannerthrottlecomputed-typesenvironmentsObject.keysassertsponyfillreadableCSSec2BigUint64ArraybuffertrimexpressionstatesetbindpipeES5toolkitpersistentresolveelectronenderwafrgbUint32Arraygradients cssstarterhttpirqcallbindestreeelasticacheECMAScript 6Underscorenativetapfast-copyJSON-SchemafastifybeanstalkproxyReactiveExtensionsdebugTypeBoxtypeerrorwebsiteschemaartredactpackage.jsonconsumeArray.prototype.findLastrequirequeueMicrotaskreplayformsfetchpostcsseses2016@@toStringTagECMAScript 2021signalscolorsdescriptorsfigletbrowserslistpushinstallerairbnbbluebirdroute53ECMAScript 2019nodelivereusemappreserve-symlinkssymlinkreact-testing-libraryReflect.getPrototypeOflanguageArray.prototype.flatkoreanassigncommandlookgenericsIteratorcall-bind
@f1stnpm3/autem-expedita-fugiat@f1stnpm3/consequuntur-distinctio-provident@f1stnpm3/corrupti-explicabo-optio@f1stnpm3/cumque-labore-ullam@f1stnpm3/dicta-recusandae-vel@f1stnpm3/dolores-distinctio-enim@f1stnpm3/doloribus-architecto-architecto@f1stnpm3/eaque-accusantium-quis@f1stnpm3/enim-ducimus-maiores@f1stnpm3/eveniet-sapiente-aperiam@f1stnpm3/exercitationem-asperiores-inventore@f1stnpm3/impedit-consequuntur-aliquam@f1stnpm3/laboriosam-magni-consectetur@f1stnpm3/laborum-blanditiis-id@f1stnpm3/magni-enim-quaerat@f1stnpm3/maxime-temporibus-quisquam@f1stnpm3/nemo-quasi-commodi@f1stnpm3/nobis-laboriosam-maiores@f1stnpm3/numquam-nemo-dicta@f1stnpm3/optio-nobis-dignissimos@f1stnpm3/perspiciatis-voluptatem-quis@f1stnpm3/quaerat-dolorum-natus@f1stnpm3/quo-vel-sed@f1stnpm3/repudiandae-quibusdam-voluptatibus@f1stnpm3/saepe-itaque-distinctio@f1stnpm3/sed-veritatis-culpa@f1stnpm3/sequi-quaerat-necessitatibus@f1stnpm3/sunt-ullam-minus@f1stnpm3/voluptate-ipsum-accusamus@f1stnpm3/voluptates-quis-doloremque@ryniaubenpm2/ea-facere-cum@ryniaubenpm2/laudantium-quo-amet
1.0.0
1 year ago