1.0.0 • Published 17 days ago

@zibuthe7j11/quia-magnam-a v1.0.0

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

@zibuthe7j11/quia-magnam-a 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('@zibuthe7j11/quia-magnam-a');

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

file systemmergeYAMLArray.prototype.includeswritabledataViewslotcolumnsconnectbootstrap lesses2016tap3dyamldotenvJSONtranspilemulti-packageexitgetOwnPropertyDescriptorpropertiesES6typedarrayhttpbddprefixdeleteoffsetES3timecacheMicrosoftcall-bindinternalairbnbchannelFunction.prototype.namecallbackbyteOffsetsharedObject.definePropertypluginrandomECMAScript 6bannerietoobjectES2020ECMAScript 5passwordstreamruntimees7postcssformspositiveWebSocketsfindLastIndexarraybuffercss nestingassertcensorglobsafees2017gesturessideiterationObject.assigneast-asian-widthsyntaxcoerciblebcryptArray.prototype.containspolyfillreact animationmacosmovethreematchAlllistenersrgbECMAScript 2019autoprefixerarktypewatchsettingsnativeestreebufferscheckpathmime-dbeslintbreakjsonsignalwalkdeep-clonefastcloneajvshrinkwrapxssjsdomelectroncolorsextendposeUnderscoreboundlinewrapjson-schema-validatorCSSvalidopenflagvariableslessES2023sortstylingpackagesgroupArrayBuffer#slicereduceregular expressiones2018dataviewbundlerkeysutil.inspectfullwidthunicodeformattingfindLastsymlinksjsxstringjsonpathentriesObservableeventEmitterjasminelimitedfindupvisualhigher-orderartasyncschemeoncecommandercallbindredactconcatMapgetBigUint64ArrayguidUint16ArrayemitisArrayTypeScriptasciimodulesdrophookscolumnramdaavabundlingforEachjavascripttoArraydefinetestingReactiveXtoolkitphonenpmflattenrequirerfc4122lengthstreamsargparsetypeofwordwrapfantasy-landpreserve-symlinkscurlcolourlaunchECMAScript 2023Object.valuesvara11ysortedfastcopycorsbyteLengthprotocol-buffersast@@toStringTagratelimittextinterruptspiperegexdescriptionweakmapvaluespushtaskArray.prototype.filterjson-schema-validationreadcss lessshebangeditor256find-uppopmotionfullwindowscreatestarterserializecomparewatchergenericscalloutputclassnamesassertseventDispatcherlettc39arraysquerystringsymbolstatusECMAScript 2015encryptionio-tsprogressparsegdprcopyESindicatorWeakSetregular expressionsflatMaptermprettykarmaless.jsajaxWeakMapjwtrangeerroresexecPromiseidES8Object.entriestapereact-hooksclass-validatorawesomesaucefunctiondataframerjapanesejQuerymonorepoclonegetPrototypeOfcss variableoptionString.prototype.matchAllURLSearchParamswriteinstalltypesremoveES2021functionsmkdirpparentlanguagestatelessfromfetchwaittraverseprotoSymbolincludeswalkingRegExp.prototype.flagsbrowserslistpackage managernodejsdefinePropertyes5inputStyleSheetSettslibECMAScript 7escapevestprocessargumentuninstallbootstrap csscomputed-typesisConcatSpreadableperformanceerrorwhatwgWebSocketjsonschemafast-deep-copybyteutilitiesconfigtrimaccessibilityES2022rateomitObjectsearchObject.isloggercssidlevaluecall-boundpromiseutilityReflect.getPrototypeOfbrowsersetPrototypeOfsyntaxerrorgroupBynegativesanitizationbabelstringifierassertionprunecss-in-jsmruECMAScript 2022structuredClone-0typehttpsimportlinuxconfigurabledependency manageroptimistArrayBuffer.prototype.slicecryptolazyes6fixed-widthxdg-openxhrenvarrayi18nstringifybusyTypeBox0concat.envprivate datahashtranspilerdatepostcss-pluginworkerconcurrencyexetypesafexdgeveryyupshellgradients cssoptimizervalidatechinesewarningMapcryptargumentsviewrequestes-shimsbrowserlistdeep-copyirqObject.keystrimStartbluebirdObject.getPrototypeOfpureeslint-plugindomgetoptArray.prototype.flatMapmobilespringcontainswebsitejestcurriedinstallerfsdayjslimiturlUint8ArrayfseventsprivateflagsconsumeurlsbuffermiddlewarettyansiparentshassettypedarrayshandlersInt8Arrayenvironmentcoreform-validationperformantpyyamltypescriptutilkoreanapolloes8queuedatastructurematchdeepreduxtestsetImmediate_.extendsignalsfilterArrayBuffersomeURLerror-handlingstylenumberwrapconsoleReactiveExtensionscollectionflatECMAScript 2020prototypeECMAScript 2018operating-systemiteratorfastifywatchFilees-shim APIqueueMicrotaskhelperssymbolswaapirobustlockfilezeroSymbol.toStringTagpoint-freetacithardlinksequales-abstractprotobufcodesUint32Array$.extenddragdependenciespatchminimalmatchesstyled-componentsexecutableclassesmetadataclientnope
1.0.0

17 days ago