1.1.21 • Published 12 months ago

@devtea2027/quas-inventore-vel-tenetur v1.1.21

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@devtea2027/quas-inventore-vel-tenetur 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('@devtea2027/quas-inventore-vel-tenetur');

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

walkexecutabletestingawaitES2022hardlinksvaluedayjssigintlesscsschannelidentifiersObject.getPrototypeOfdynamodbnested csssettingsfullwidthutiltouchcssauthtapeCSSStyleDeclarationcomputed-typeschildpreserve-symlinkssameValueZeromonorepotypefixed-widthcallfastInt8Arraymake dirsignals$.extendcloudfrontObject.valuesestreexhrequalcollectionlesses2018picomatchfetchlockfilecreatequeuecryptoequalityinternals3stylesheetarraysnamesargparsemakeESbatchconcatMapflatbluebirdfastifycss lesstaskes-abstractcharactersSymbol.toStringTagtostringtagobjectloadingcheckcodesassertsdatastructureemitbrowserlisthookswatchingreaddebuggerurlsmochaUnderscoreiteratepush.envtelephonebootstrap lessrobustloadbalancinggradients css3asserteventsshellio-tsdeepcopyhotmatchesasciilrufileargvappreduxYAMLfindtoolkittrimLeftextraECMAScript 7pnpm9arraybeanstalkkeyvariablessortwindowsprettymkdirmacosessetgetopttypeofeslint-pluginArrayBuffer#slicepruneexit-codewriteworkflowframeworksometoArrayenumerablegetOwnPropertyDescriptorseslengthinajvforEachsymbolarraybuffersnshttpregular expressioneditorwatchdeepcensorjQueryWeakMapES7argsES2018typedterminaltyped arrayendercommandstdlibprefixes-shim APIoffsetl10nES6persistentomitECMAScript 3spinnersmergeparsertypesafeyamldotenvimportcss-in-jsurldefinePropertyECMAScript 2015guidbddfast-deep-copyuninstallpackageidrapidimportexportextensioninspectjsdomvalidationhigher-ordertoSortedcloudwatchrestfulmetadataawseslintformnativewordbreakisintrinsiclinkECMAScript 2019sideviewwaitlogtypedarraysoptimizerautoprefixerspinnerUint8ClampedArraylimitedsuperstructeventEmitterqueryuuidregular expressionsESnextavapackage managertrimEndrequestfunctionlibphonenumberes5stringifierminimalunicodecolorsdeep-cloneyupECMAScript 5ansiHyBies-shimstesterkinesisfolderassignregexinstallbundlerjesthasOwnPropertypackagescoerciblevalidvpcreact-hook-formeslintpluginless compilerfullregularsimpledbpredictablei18nutilitiescss nestinglistenersFunction.prototype.nameproxyimmutablefile systemsearchArray.prototype.flatMapsetImmediateelasticacheindicatorUint32Arrayreuseievestreact-hooksspeces2017momentinputenvpatchTypeScriptpluginStyleSheettestredux-toolkitfunctionalstringifyexpressioninterruptsparentsnpmECMAScript 2016httpsperformanceObject.assignrangeerrorvaluesexpressargumentsInt16ArrayponyfillcmdsymlinkfindLaststylesdirtypesES2023invariantargumentrgbprivatemodulehaslaunchauthenticationmkdirpIterator0ECMAScript 6workermkdirspostcsstimeRFC-6455fast-deep-clonesetterremovejsdiffcore-jsrdsfseventsglacierartstoragegatewayfast-copykeysvisualinternal slotslotcompile lessdataViewcolourmodulesxtermschemaec2ECMAScript 2018ajaxcontainspromiseformatBigUint64ArraydatebyteLengthquerystringnumberdebugclass-validatorRxwebsiteArray.prototype.findLastIndexFloat32ArrayextendfromPromisemulti-packageObject.isassertionwrapoperating-systemstatusentriesisConcatSpreadableECMAScript 2022chromeECMAScript 2020replayzodcode pointsES2016shamscheme-validationchaittyrouterquoteworkspace:*installerswfefficientirqconsumesymbolsasynccharacterjsonrm -rfconsolecryptphonebrowsereast-asian-widthfast-clonees2016functionsastdropString.prototype.matchAllhookformexereducekarmaFloat64ArrayURLtc39ES2019serializelook-upkoreancolorecmascriptdeep-copylazyemojiparentawesomesaucenegative zeroprotostreamscorebusyconfigurableenvironmentsfsoutputwatchFilevariables in cssoncebyterandomwidthfindupmrunodejsrmdirdeterministicmimeES2020trimnopematchAll[[Prototype]]WebSocketgetterfind-upgetintrinsicES2017qssequencestylevarselbratelimitRegExp#flagsjasminejsonpathES2015pyyamlresolvecorsclisymlinksfastcloneshebangPushdeletewebopensstarterjwtapijsxdescriptortslibdiffcall-bindencryptionwalkingsafees8js__proto__Array.prototype.filtersyntaxES5execchineseformsstructuredCloneprogressexitparselinewrapreactreducerloggingconcurrencytddsharedvalidatehelpersreact-testing-librarymatchruntimeiamhandlersiteratortapfpsdependenciesqueueMicrotaskformattingpackage.jsonelectronwordwrapbufferpassword-0flattenfigleta11yObject.keysWebSocketsObservablesReflect.getPrototypeOfevery@@toStringTagcollection.es6bufferscallbindboundpreprocessor256processArray.prototype.includesES8callbounderrorcommand-linepromisesObject.fromEntriestsdescriptorsarktypeduplexobjglobalECMAScript 2023concatsortedcloudformationdeepclonemobilemimetypesmixinsutilitycss variableairbnbless csssigtermupnodesliceweaksetcircularcjkstartAsyncIteratorlintoptimistfindLastIndexwhatwgthrottlejapaneseeslintconfigincludesstreamcommanderhashStreamlimitcurlRegExp.prototype.flagssignalsyntaxerrores7WeakSetES2021readablestreamjshintrequireutil.inspectcolumnstextweakmapgetbreakimmergroupglobalsInt32Arrayloggeremrpropertyfluxwafconnectxdg-openregexpdescriptionStreamsbannerdirectoryserializationsinatraMicrosoft
1.1.21

12 months ago

1.1.20

12 months ago

1.1.19

12 months ago

1.1.18

12 months ago

1.1.17

12 months ago

1.1.16

12 months ago

1.1.15

12 months ago

1.1.14

12 months ago

1.1.13

12 months ago

1.1.12

12 months ago

1.1.11

12 months ago

1.1.10

12 months ago

1.1.9

12 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago