1.0.0 • Published 13 days ago
@f1stnpm2/perferendis-aut-officia v1.0.0
@f1stnpm2/perferendis-aut-officia
Get the byte length of an ArrayBuffer, even in engines without a .byteLength
method.
Example
const assert = require('assert');
const byteLength = require('@f1stnpm2/perferendis-aut-officia');
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
chineseECMAScript 2019getintrinsiccallqueuetrimArray.prototype.findLastfastifycliparsererror-handlingratelimitreduxfast-copyutilitymatchesincludesES8writeawaitlistenerspolyfillbundlersetPrototypeOfguidwatchFileshrinkwrapcsscolourtouchtoolkitArray.prototype.findLastIndexclass-validatorframerwarningparentflattenspinnervariablesfunctionaltrimLeftreact-testing-libraryinvariantjsonpathclassnamenamesprototypegenericsprocesscommandsyntaxerroraccessibilitysanitizereducerpoint-freexdgpackagesrmdirapipatchPromiseclassnameseast-asian-widthsameValueZeroboundArray.prototype.flattenlruparseautoprefixerdom-testing-libraryES2020cjkopensencryptionschemaunicodeURLSearchParamscallbindextensionstreamtyped arraylesscsslimitdirdependenciesMicrosofttypesafefunctionsmimetypesfind-upes-shimsdeepTypeScriptBigUint64Arrayfast-deep-copyajvtraverseidlewalkingreact animationformattingtestvaluesperformantargsforEachArray.prototype.includesbddEStranspileefficientequalfindgetOwnPropertyDescriptorstarteverydatastructureoncedeletecore-jsdataViewstringenumerabledefinePropertyWeakMapmochajslinuxrfc4122sharedarraybuffercodestypedeventEmitterwhichbrowserhttputilitiesttyeslintconfiggetoptECMAScript 2015css lesstslib@@toStringTagES2022typecompareterminalio-tsdeterministicwaitWeakSetECMAScript 2023streams2gradients css3uuidnumberwritablereact posecurlstyleguideObjectfantasy-landassertiontypesdebuggerstylingES5css nestingshellponyfill[[Prototype]]dependency managervalidatorjsonschemacompilerES2018installscheme-validationcss variablethreetoolsvalidationSymbolfixed-widthrequestmacoscopyfull-width__proto__callboundexerandomStreamsuperstructgraphqlutilfinduppostcss-pluginescapeObject.isweakmap6to5ECMAScript 2016es-shim APIobjdiffwhatwgassertcloneslotkeydescriptionRFC-6455mimeisConcatSpreadablelimitedmergeStyleSheetestypanionup-0shimlastrequiresequencechaienvironmentawesomesaucegetPrototypeOfcss-in-jspackage.jsonpruneFloat64ArrayString.prototype.trimfetchchildArrayBuffer.prototype.slicemixinsInt32ArraydefinehookformECMAScript 3busyflatMappromiseflagArrayeventDispatcherjapanesepopmotionESnextwalkuser-streamskeysdescriptorssafemruUint8ArraycreateObservableobjectmonorepoquotelanguageconcatconfigsignalES2016reducefullclasseseditorlengthconnectregularintrinsicECMAScript 2020webtranspilerkoreanECMAScript 2017linthelpersopenersanitizationFloat32ArrayIteratorprotocol-buffersexpressionfast-cloneInt16Arraydeep-copynopemiddlewareES3mkdirsshebanginternal slotl10nWebSocketlooktapstylesstringifyspecjsxstructuredClonewidthexit-codermflagsfunctionless mixinslockfileschemedropenvzeroconsumeJSONvalidateutilsInt8Arraystablextermcontainsbufferslook-upoptimistassertsbluebirdbindspinnersecmascriptcode pointslogginghash.envimmerlesswatchingcryptserializationflates2018TypeBoxarttoStringTaganimationprogresspackage managerspawnjson-schemabyteOffsetspeedmkdirpleteventsi18nieless compilercomputed-typesloggerinstallerconcatMapObject.keysECMAScript 7sideurlsexecfastcopydeepcopydateYAMLpropertiesrgbinspectstarternested cssmatcherrorasciicolorsdirectorybabelloadingapolloES6dragcorsUint32Arraygradients cssperformance0checkform-validationpose_.extendqueueMicrotaskArrayBuffer#sliceArray.prototype.flatMapCSSStyleDeclarationfindLastIndexchannelstylesheethandlerssettermoduleObject.definePropertypurecharacterremovematchAllObject.entriesbytereact-hook-formtypedarrayworkerpropES2019gdpropenstyleReflect.getPrototypeOfsortedspringmkdirhasOwnvaluePushgesturesmodulescharactersextrareadablewordwrapsymlinkjson-schema-validationpyyamlsymbolsbabel-corecommanderprettytaskcall-bindwrapsearchzodES2015workspace:*RxcallbacknodedeepcloneelectronregexbrowserlistString.prototype.matchAllECMAScript 6getterfolderURLcolumnes2016ECMAScript 2021interruptses2015deep-clonetestingconcurrencyES7symbolreact-hooksnegative zeroArray.prototype.containsasyncpositivetesterbundlingvisualtermappless.jsbatchdebugstringifierinferencees6Uint16ArrayjestreadablestreamMapjsonwatchfpstdlibmapcommand-lineredux-toolkitnamees-abstractextendconfigurableObject.valuesRegExp.prototype.flagsairbnbreusebcryptECMAScript 5higher-orderfseventshasxdg-openargumentsirqutil.inspectSetmobileprotobufjsdiffvestmovetapestyled-componentstostringtagrobustsortdataviewnegativefiletacithooksresolveiteratorES2017dompicomatchgroupObject.fromEntriesserializeinputweaksetArray.prototype.flates2017coreprotoentries
@diahkomalasarinpm/odio-facilis-beatae@f1stnpm/corporis-velit-deleniti-temporibus@f1stnpm/dolor-officia-est-asperiores@f1stnpm/ea-sunt-delectus-nihil@f1stnpm/eius-ab-blanditiis-voluptas@f1stnpm/molestias-sint-cupiditate-illum@f1stnpm/repellat-eveniet-pariatur-voluptas@f1stnpm/tenetur-dicta-praesentium-explicabo@f1stnpm/vitae-blanditiis-sint-tempore@f1stnpm2/repudiandae-numquam-exercitationem@wemnyelezxnpm/neque-eligendi-dolorem
1.0.0
13 days ago