2.1.3 • Published 6 days ago
@teamteanpm2024/doloribus-quia-possimus v2.1.3
@teamteanpm2024/doloribus-quia-possimus
Get the byte length of an ArrayBuffer, even in engines without a .byteLength
method.
Example
const assert = require('assert');
const byteLength = require('@teamteanpm2024/doloribus-quia-possimus');
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
datafoldervarcloudwatchprotobufsearchmonorepoform-validationquoteCSSratemulti-packagecall-bindzerofixed-widthserializationbabel-coreslicesyntaxerrorlessArray.prototype.findLastfastclonetypesafeparsingelbObject.keysBigInt64ArraybatchcollectionchanneltslibgesturesES6callbackcolorworkeridleglacierstreams2stringifyqueueMicrotaskdebuggerES2022package.jsonrecursiveargvvestauthenticationbrowserlistasyncRegExp.prototype.flagsmake dirrmdirprogressformattingclassnamewalkdeterministicroute53sequencetoobjectduplexspinnersinternal slotprefixbrowseremojiefficientdataViewstreamsvariables in cssString.prototype.trimless.jsuser-streamstypedletiterationcomputed-typesfsio-tspopmotionUint32ArrayenvironmenttypestypanioniteratorbyteOffsetasciianimationdynamodbeslintconfighasOwncolourless compiler256forEachconcatsymbolsbddurlclass-validatorcodesslotformssetImmediatel10nstarterstoragegatewayWebSocketsflagdefinevaluesshamkarmacommand-lineless cssTypeScriptlinuxObject.entriesminimaltesterECMAScript 3i18nInt8ArrayReflect.getPrototypeOfswfutil.inspectECMAScript 2023ajvcheckguidonceWeakMaperrornegativeratelimittapeebsfast-cloneoperating-systemruntime@@toStringTagjson-schema-validationfastifyMapyamlpatchhooksbyteLengthworkspace:*look-upreact animation_.extendsimpledbECMAScript 2017getterES3cloudformationposeAsyncIteratorcoreargumentestreematchECMAScript 7reduxzodflagstyped arraygroupByArray.prototype.findLastIndexexpressionexitoptimizerpreprocessoremitsqsESnextES2015keygetoptnameswindowscloudsearchreact-testing-libraryassignbytewhatwgfromstylingreducertraversemomentserializewgetlooklockfiletoSortedparentsuppathtextfetchdifffull-widthfinddebugjwtCSSStyleDeclarationHyBiexpressdefinePropertystructuredClonepyyamles6ieprocesshardlinksincludesvpcisConcatSpreadablefindLastIteratorinputfseventsdropsanitizecachequeuesomehttpsafeES2018a11yObjectproxycollection.es6postcssECMAScript 2021flattenES5typeofsesURLSearchParamsdescriptionECMAScript 6awaitclonegroupregularlintstatusfunctionsmruhigher-orderArray.prototype.containsfast-copycommandrdsString.prototype.matchAllESStreamsagenttimelanguagechromiumemreast-asian-widthmakebindUint8ArraypropgetInt16Array3dframeworkfullmobilesnsstyleguidesiginteventDispatcherinterruptslazycolorsimmererror-handlingrobustvalidsymbolyupcallvalidates3es2015immutableharmonyBigUint64Arrayreadablestreamlinewrapes5unicodeRxJSflatdescriptorses2016es-shimsstreamcryptormconfigises7copyinternalramdagetOwnPropertyDescriptores-abstractmime-dbuuidtacitFloat32Arraysetspringinhandlersdependency managerregular expressionflatMapserializerpromisesmimeequalityObject.fromEntriesbluebirdWeakSettestArrayfileassertionES7objectxhrSymbolnativesortxssenderprivate dataarrayscss lesselasticachewarningwrapcompile lessnodejsregexfindupmixinscontainsPushsettingsconfigurableECMAScript 2015stylejasmineformregular expressionsextraquerystringbundlergetPrototypeOfhashargparseresolveECMAScript 2019readrandomwatcherutilitymacosexit-codeweakmaptrimEndwaapisetter
@libphamton/chatfanpage@libphamton/fb-group@oraliepham/api-chat-fanpage-facebook@oraliepham/api-facebooknew@teamteanpm2024/aperiam-dolor-aliquid@teamteanpm2024/aperiam-fugit-error@teamteanpm2024/aperiam-similique-soluta@teamteanpm2024/architecto-alias-quod@teamteanpm2024/asperiores-atque-fugit@teamteanpm2024/aut-voluptatum-vero@teamteanpm2024/beatae-aliquid-id@teamteanpm2024/commodi-illum-occaecati@teamteanpm2024/consequuntur-enim-dignissimos@teamteanpm2024/consequuntur-voluptates-quod@teamteanpm2024/debitis-iure-atque@teamteanpm2024/dolores-beatae-possimus@teamteanpm2024/earum-illum-veniam@teamteanpm2024/earum-ipsam-aspernatur@teamteanpm2024/effective-octo-computing-machine@teamteanpm2024/exercitationem-rem-magni@teamteanpm2024/expedita-labore-ipsum@teamteanpm2024/iste-sapiente-possimus@teamteanpm2024/laudantium-autem-pariatur@teamteanpm2024/legendary-meme@teamteanpm2024/non-tempora-perferendis@teamteanpm2024/nostrum-deleniti-fugit@teamteanpm2024/odio-fugiat-in@teamteanpm2024/odit-voluptatibus-nobis@teamteanpm2024/perspiciatis-a-unde@teamteanpm2024/saepe-in-beatae@teamteanpm2024/sit-optio-enim@teamteanpm2024/temporibus-distinctio-in@teamteanpm2024/voluptate-facere-ducimus@teamteanpm2024/voluptatibus-reprehenderit-oditapi-chat-fanpage-facebookapi-chatfbapi-chatfb-test