1.0.0 • Published 1 year ago

@bobyzgirlllnpm/expedita-necessitatibus-alias v1.0.0

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

@bobyzgirlllnpm/expedita-necessitatibus-alias 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('@bobyzgirlllnpm/expedita-necessitatibus-alias');

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

wgetfpscreatesimpledb__proto__superstructmkdirfseventsstablepipeSetvestqseventsweb256uuidlogCSSStyleDeclarationslothashartObject.definePropertysafeownsetterspinnerprotobufshrinkwrapinspectcloneextendrandomphonebreaktextapolloRFC-6455io-tsfast-clonebundlingfull-widthcachepropertieseslint-pluginstoragegatewaysortedrobustbrowserlistcallbindMicrosoftconsumeTypedArrayECMAScript 6moduleses2016ES2019datahelpersInt32Arraylintstdlibjwttoolscss nestingoutput[[Prototype]]emojivpcwalkgenericsvalidationajvchaibootstrap csschromeindicatorpropertymime-dbcollection.es6findupjapanesecheckconcatMapgroupexpressspecimmeransieslintpluginnodejsformoptionES2018bcryptFunction.prototype.namemetadatastringifierkeyses2017yamlmatchesbannerbindES5toSortedArray.prototype.includesspinnersrapidreadtypedarraycloudwatchSymbol.toStringTagwatchingdescriptionECMAScript 2022apibytekarmaBigUint64ArrayexecrmdirlistenersReflect.getPrototypeOfhotcompareomitrdshasOwnPropertyArray.prototype.filtergraphqlArrayBuffer.prototype.sliceparserecursivelookECMAScript 2019iescheme-validationinputqueueMicrotaskimportexportcolumnstatenegativeObjectjsbyteLengthObject.keysObservabletostringtagcore-jsArray.prototype.flatwaitArray.prototype.flatMapnpmpackagedatastructuresomergbfullcontainsentriestesterairbnbbuffersdirmiddlewareclassesStreammovecall-boundargparsepostcsstypanioninstallerbrowserslistcoreregexptrimRightl10ntapassertionES2020fast-deep-copymonorepodayjsmomentebscloudsearchredirectWeakSetinternal slotWeakMaptypescriptrateintrinsictouchstylingdiffeslintprivate dataredux-toolkitfast-deep-clonedotenvresolvecss lesspromisedeepESrmconcatstructuredCloneauthmkdirpstringifytrimEndFloat32ArrayUint16Arrayec2defineoffsetcallboundstatelessformattingdebugnamestraversepromisesgetterframeworkajaxregular expressionsECMAScript 2015settingscloudtrailpathoncenativedeepcopyfromiteratorreadablestreamtrimLeftpushhttpArray.prototype.findLastqueuepasswordhigher-orderjsdiffserializationasynces-shim API0Object.fromEntriesisConcatSpreadabledefinePropertyemriterateguidworkflowfixed-widthconfigcss variableswfcjkthrottlejestfolderFloat64ArraymimetimeloadingcallbacktslocationgloboptimizerbusyargsES2015cryptolimitedconsoletrimdeep-cloneURLtdd_.extendrm -rffind-upvariables in cssECMAScript 2021walkingsymlinksdeterministicecmascriptYAMLes8nopeInt8Arrayless cssnegative zerofullwidthquotejsonpaththroatmixinsoptimistdropnumberi18nroutingcorsjsonparentsextraes2018nameObject.getPrototypeOfdescriptorfastifycalleslintconfighas-ownprototypereducerstyled-componentsutilitiesgetOwnPropertyDescriptoramazonpreprocessoropenlanguageimportstarterreducefetchreactECMAScript 7arraybuffermatchregular expressionclassnamesobjenvmkdirscollectionmrutestdeep-copydynamodbtypedwatchFileenderupdataviewdebuggerECMAScript 2023removebufferinxhrbrowserextensionparsercoercible-0predictablepostcss-pluginUint32Arrayform-validationassertflagzeroiamarrayECMAScript 2020joicompilerfastcopypatchelectronmochagetPrototypeOftoobjectAsyncIteratorcryptES2017widthexpressionArrayBuffer#sliceSymbolwatchernodeflatMapterminalsyntaxIteratorString.prototype.trimperformantJSON-Schemaobjectissyntaxerrorwritecommand-lineCSSassertsawesomesauceless compilerArray.prototype.containssymlinkcompile lessrm -frtslibreact-hooksdependenciesTypeScriptjsdomchromiumprefixruntimeboundprotocol-bufferswordwraptrimStartarrayswafpluginUint8ArrayarktypemobilelesscssrequestjavascriptfssymbolsdomflattenweaksetchannelArray.prototype.flattenhasloggerauthenticationworkspace:*serializerequireeventEmittertypedarrayssnsfast-copyaccessibilityhasOwnimmutabledirectoryObject.ises-abstractmoduleprivatequeryawaitArrayerrorespreemapreduceflagsttyreact-testing-librarylastMapautoprefixerReactiveExtensionsutilityObject.assignpicomatchbluebirdduplexpreserve-symlinksmulti-packagecensorTypeBoxhooksenumerableregexECMAScript 3reuselinkes2015groupByescapeschemadescriptorsstyletoStringTagfindLastreduxjasminekoreansidenested csschineseprettycolorseast-asian-widthfile systemeslook-upquerystringtoolkitwarningsharedarraybuffershammergefilterassignES2016lessES3columnsclass-validatorargvsharedes5unicodesymbolsetObject.entriescode pointsstring.envcloudfrontsuperagentURLSearchParamsyupvisualequalitywhatwgemitcommandertc39String.prototype.matchAllconnectsesclassnamepnpm9ArrayBufferless.jsJSONless mixinstypeszodRxfunctionscomputed-typesECMAScript 2016idpolyfillponyfilllrues-shimsperformancebundlerjQuerysliceconcurrencyreplaymapstreamuninstallcall-bindpackagesformsweakmapequalincludesvalidateStyleSheetredactfindprogressidledependency managercss-in-jsECMAScript 2018ES2023ES2022readablecloudformationlogginglinewrapreal-timeaccessorforEachvaluesortWebSocketsclientelbiterationpackage managerpyyamlUint8ClampedArrayES6dom-testing-libraryurlpackage.jsonpropUnderscoreparentestreepositiveshellES8speedefficientReactiveXformatsqsfunctioncharactersdeletefluxtoArrayvariablessameValueZeroclifunctionalWebSocketmakestreamslengthstylesheetprotoencryptionstreams2writablebeanstalkwraptypeinferencejsxschemetyped arraylibphonenumbershebangfileavaRegExp.prototype.flags
1.0.0

1 year ago