1.0.5 • Published 11 days ago

@teamteanpm2024/doloribus-temporibus-aut v1.0.5

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

@teamteanpm2024/doloribus-temporibus-aut 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/doloribus-temporibus-aut');

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

eslint-plugindescriptorsconcurrencyURLECMAScript 2021mixinsstylessameValueZeroES2021collection.es6formattinggetRxJSprivatecoercibletoArraywhatwgdataViewargparsees5matchesreadablestreamtoStringTagperformantfixed-widthloadbalancing0waitmake dirpopmotionwarningcore-jsomitdefinejavascriptcall-bindcolumnFunction.prototype.namerequestbrowserformes2017starterio-tsECMAScript 7fastifyawesomesaucewatcherloggerprotocol-buffersreducebabelimmutableawaitdeepcopyerror-handling$.extendagentsettingsgetterframeworkeventEmitterbrowserslistreadautoscalingconcatMapserializationmodulepackage managerstreamArray.prototype.filterArray.prototype.flatMapregular expressionharmonystatelessrmparentscolorinutilitiesbcryptpromisesECMAScript 5dragjsonschematoSortedstylesheetjasminetrimWebSocketdebuggergdprtstyperapidfast-deep-cloneextendwritemakeequalityclassnamesbeanstalklisteners@@toStringTaggenericspromisewidthelectronObject.definePropertyArrayBufferjsserializegetPrototypeOfObject.ishasOwnruntimedom-testing-libraryObject.entriesfindqueryfind-upi18ncodestypedarrayES2017stablelastclass-validatorvalidate_.extendYAMLtostringtagspringnamecircularIteratorcurlhigher-orderdotenvworkflowObject.assignRxartpersistentsetterasciiURLSearchParamslazyprefixpicomatchelasticachewalkingemojiarraysortObject.getPrototypeOfTypedArraysnspnpm9preprocessorinternal slotjsdomObservabletrimEndObject.keysttythreemapreduceimmerjestwordwrapJSONmaphttpswalkcode pointsdatasymlinkcolourieESava[[Prototype]]keyscryptoAsyncIteratordropxssbddtouchUint8ClampedArraymovewraptext3dassignwebcloudwatchtoobjectjoibufferponyfillfinduprangeerrorECMAScript 3regexdeepclonereact-testing-libraryrgbcensorfetchglacierObservablesjQueryopenutilintrinsiccolumnsfastcopyauthenticationUint32Arraydatebindtermroute53linkStyleSheetaccessibilityes7bytees2015eslintpluginschemaoperating-systemUint8ArrayxtermtakeUnderscorefseventsresolveprototestingcsstypeofformsflat256MapairbnbtacitlinuxyamljsonmkdirfpssetImmediatevalidcreaterm -frRFC-6455getOwnPropertyDescriptorreusestylingpropertyclonerobustfastpipedomuser-streamsspeedinterruptstc39dirshimidle.envajaxprettyguidReactiveExtensionsfantasy-landhardlinksshamArray.prototype.flattenESnextPushfsworkerredactfunctiongetintrinsicuninstallregular expressionsemrcss nestinggradients cssconstnumberamazontapeslintconfiguuideverytoolkitlockfilenativeextracallbindlogentriesFloat64ArrayStreamconfigurablea11yoptiondynamodbcall-boundreact poseECMAScript 2018ES2019package.jsonutil.inspecthas-owntrimLeftperformancecloudfrontless compilerstructuredClonesearchSetarraysconsumeeslintshellfast-deep-copyauthisConcatSpreadableECMAScript 2017rm -rfpackageseventsbannerECMAScript 2016signalfast-cloneRegExp#flagsArray.prototype.flatfolderpyyamlchaiCSSpreserve-symlinksspinnerprocesss3Int32ArraycallbackSymbol.toStringTagposejwtprogressfile systemtslibtrimRightframercjkslotstringifyObject.valuesclassnameimportpoint-freepackageregularbyteOffsetzeroenderflatMapwindowsJSON-Schemaenvironmentjson-schematypedarrayses-shim APIsymbolsremoveregexpes2018ansicomparezodbundlerECMAScript 2015throttleflattenES2022deleteES5proxyformatcompile lessincludesmkdirsbufferspushramdabootstrap lessduplexmergevestmkdirpargvnodeString.prototype.matchAllqueuestyleguidechromiuml10nbluebirdbatchqsurlconcatArraysespositivesimpledbnpmES8macossidesetPrototypeOfArray.prototype.includesestreestyleshrinkwrapoptimizertoolscachelengthReflect.getPrototypeOftaskreact-hook-formsqsvalueinstallconfigmimetypesreadableexit-codecss lesstapejson-schema-validationimportexportPromisemulti-packageconsoleescapeloggingES3browserlistrandomsuperagentratestreams2Uint16Arraynegativearktypeswfgradients css3flagsCSSStyleDeclarationlrubootstrap cssoptimistwatchingajvcors__proto__ArrayBuffer#slicees-abstractES2016deterministicArrayBuffer.prototype.slicejsdiffspinnersdiffpurenopemetadatadayjsvalidationviewexpressionbabel-corephonecallqueueMicrotasktypanionfigletmiddlewarefindLastIndexfromlanguageECMAScript 2023iteratorcharactersaccessormomentfullwidthtypesslicefindLastvisualparsersanitizationprototypereduxstoragegatewaycollectionBigInt64ArraylimitedpropertiesObject.fromEntrieses2016xhrmimenamesautoprefixervaluespruneArray.prototype.containsinspectvpcjsxcommanderemitwritablereact animationArray.prototype.findLastIndexbalancedeslook-updescriptorsharedcolorsdefinePropertymatchAllcopyobjectconnectES2015ECMAScript 6exectypescriptminimalprivate dataassertssomeutilityenumerablescheme-validationwatchFileWeakSetInt16Arrayextensionhashisindicatormoduleses-shimsastcommand-lineloadingtranspilemobileWeakMapforEachfullasynclookobjefficient
1.0.5

11 days ago

1.0.4

12 days ago

1.0.3

13 days ago

1.0.2

14 days ago

1.0.1

15 days ago

1.0.0

15 days ago