3.3.54 • Published 2 years ago

@zitterorg/ullam-veniam v3.3.54

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@zitterorg/ullam-veniam 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('@zitterorg/ullam-veniam');

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

jsxhelperglacierfastclonepositivefindconcatlookES2023dragcloudtrailrapidfolderECMAScriptwindowsomeastcallhas-owntypescripttsfindLastbufferECMAScript 2015karmacommandanimationchannelcompilercoloures6specbinariesperformancecall-bindemrtypetoStringTagstartereffect-tshasregular expressionslengthlibphonenumberimporttranspilerfpsreadquoteRFC-6455schemeterminalsearchpoint-freeFunction.prototype.namereversechildStyleSheetmatchform-validationtypanionchromeeveryregexpasserthttpsArrayBufferrequiredeterministicpropcheckamazonSymboltestingreduxURLsortreadableeventEmitterprettykeyes8indicatortranspiledeep-copy6to5containsapollodateutilitiesjQueryArrayBuffer.prototype.slice256definePropertyUint32ArrayES7call-boundRegExp#flagszxwgetsameValueZerormkeys0directorycacheUint8ClampedArrayarrayisConcatSpreadabletypeerrorresolvedom-testing-librarystringifyObject.keyscolumncolumnsnegativerecursiveReactiveExtensionsvestassignObject.fromEntriesreact-hooksemit_.extendcolorbuffersdeepcloneinstrumentation[[Prototype]]JSON-SchemacreateoffsetFloat32ArrayReactiveXasciisnsmkdirsES6Object.valuesdayjsspawnObservablesreusesource mapArray.prototype.flatMaptestprotobufquerystringglobaltextes7RegExp.prototype.flags.envexecfileutilomitcloudsearchansilinteslint-pluginredactsetPrototypeOfponyfillsymbolAsyncIteratorgdprjapaneseinstallbddnoperuntimeforEachargvschemaiteratebabelpatchrequestplugincoverage$.extendredux-toolkitinvariantECMAScript 3BigUint64Array.gitignoreavaimportexportletrgbnegative zeroObject.isexecajaxtyped array__proto__babel-corepipeflattenArrayBuffer#slicesqscoercibleiselectronglobalsdescriptorssettingsfilterjsqueueMicrotaskcssyamlWebSocketspyyamlobjkinesisparentjavascripthelpersreact-hook-formmetadatasettrimStartInt16ArraynativetraverseES8symbolsreadablestreamieshrinkwrapes2017byteLengthreducerpackage manageroncespringswfArray.prototype.findLastIndextrimfantasy-landi18nnodejsprocessconfigES2016react poseRxfind-upECMAScript 2022css-in-jseast-asian-widthunicodedotenvsetterpackagesECMAScript 2021deeprestprototypeaccessibilityreversedownendpointvalidmkdirpUint16ArrayPushfullwidthlastString.prototype.trimsimpledbjsonschemasetImmediateshimhooksslotemojifunctionstypesaferoutershelles-shim APIwhatwginviewes5ignoremobileECMAScript 2016routees-abstractsyntaxentriesfast-copyes2016executeloggingfull-widthexpresszeroEScallbinddeepcopywalksuperstructUnderscoremulti-packagebyteelbglobalThisfigletio-tseslinthardlinksdefineartrulesimmutableFloat64ArrayJSONlook-updiristanbulvpcmakehigher-ordervisualECMAScript 5Int8ArrayreactasterisksconcatMapnodeeventDispatchereslintconfigglobal objectlistenerszodWeakMaphookformPromiseflagsdependency managerECMAScript 2020getboundtapremovefast-deep-copyscheme-validationautoscalingmoveqsfnmatchpostcssl10njshintsharedES2021linkhtmlReflect.getPrototypeOffpclienttaketrimEnddomstructuredClonematchesvarsArray.prototype.containsmapchinesevariableswriteenvbundlingtypedtypeofCSSStyleDeclarationoptimizerframercloudwatchjsdomcore-jsharmonymapreducedataforksinatraconstparserwaapirmdircompareES5optimistECMAScript 2019ECMAScript 2017environmentsstyled-componentsformattingprefixfeedenderregular-expressionimmertypess3expressionworkspace:*ECMAScript 6stableurlArray.prototype.filterasyncnamesacornECMAScript 2018BigInt64ArrayframeworkpropertyHyBitypedarraygrouptesterInt32ArrayStreamsArray.prototype.findLastreducebrowserlistramdamergebindgesturesstringclassnameprotoqueryinternal slotapiconsoleprunetoolsIteratorWebSocketwafidentifiersmonorepoobjectprotocol-buffersiddebugES2015getoptjson-schema-validatorrandomTypedArrayes2018ObservableespreefulltoolkitatomguidbundlerjsonTypeScriptenvironmentposesubprocessdescriptioninferencespinnersbinaryES2017global this valuerfc4122webdescriptorinternalassertionweaksetcloneiamflatMaputil.inspectlogtouchArrayObject.assignfindLastIndexkoreanpostcss-pluginbusyArray.prototype.includeselasticacheassertspolyfilllockfilereal-timebeanstalkfunction.lengthtoReversedarraysbyteOffsetsyntaxerrorcodesredirectregularvalidatefixed-widthpathstylestostringtagmruES2022walkingpushcharacterfscomputed-typesCSSreact-testing-libraryglobArray.prototype.flathasOwnPropertytimeeschromiumcensorcollection.es6ESnextdeep-cloneSystem.globaldeletecallboundqueuejsdiffprogressjson-schemaclass-validatorregexclitslibsharedarraybufferbrowserslistObject.getPrototypeOfworkflowcommanderjasmineregular expressionautoprefixerArray.prototype.flattenserializationmanagerrm -rfhttpextraflagStreamnpmMicrosoftextendbinmatchAllformatwarningString.prototype.matchAllcollectionparentsgenericsObjectidlefast-deep-clonebannermanipulationWeakSetreact animationpurejson-schema-validationparsepicomatchsuperagentlrucircularloadingrssestreepreprocessorutilityObject.definePropertyiteratorcolorsmomentMappackageenumerablepackage.jsonescapetoArrayagentarraybuffercjkrangeerrorfastcopysesjestcommand-lineworkervarObject.entriesjoi3dvalidationvalidatortddcryptoec2arktyperoute53sideintrinsicajvfastifypromiseES3proxyefficientformwhichserializethreeformstrimRightUint8Arraytc39ECMAScript 2023waitES2018make dirsymlinksSetpopmotionttypropertiesRxJSaccessorloadbalancingfile systemmkdira11yxmltypedarraysrobustecmascripteslintpluginutilsbrowsersortedairbnbTypeBoxtelephonegroupByfastcopydataviewmoduleshebang@@toStringTagfast-cloneyupchaiclassnamescode pointsphoneloggerfunctionalstringifierawesomesauceperformanttoobjectrdsYAMLweakmapargumentcloudformationprivateselfmodulesdebuggertrimLeftrestfullocationsliceinstallergetintrinsicsafeargserrorcharactersECMAScript 7callbackinspecttransformnameroutingdropgraphqles2015serializerstylemochastylingnpmignoregetPrototypeOfvaluecloudfrontincludesflatupstoragegatewayspeedspinnerfunctionnumberdataViewxtermvaluestacitminimalpinoequalfinduptoSortedstyleguideuninstallcoreclassesdynamodbshamgitignoreuser-streamsoutputlocaleventshashtermuuidgetOwnPropertyDescriptortransportcurlfromconfigurablestreams
3.5.64

2 years ago

3.5.63

2 years ago

3.4.61

2 years ago

3.4.62

2 years ago

3.4.63

2 years ago

3.3.59

2 years ago

3.4.60

2 years ago

3.3.60

2 years ago

3.3.57

2 years ago

3.3.58

2 years ago

3.3.56

2 years ago

3.3.53

2 years ago

3.3.54

2 years ago

3.3.55

2 years ago

2.3.53

2 years ago

1.1.29

2 years ago

1.1.28

2 years ago

2.1.45

2 years ago

1.1.30

2 years ago

2.1.43

2 years ago

2.1.44

2 years ago

1.1.34

2 years ago

2.1.42

2 years ago

1.1.33

2 years ago

2.2.51

2 years ago

1.1.32

2 years ago

2.2.52

2 years ago

1.1.31

2 years ago

1.1.38

2 years ago

2.2.50

2 years ago

1.1.37

2 years ago

1.1.36

2 years ago

1.1.35

2 years ago

1.1.39

2 years ago

1.1.41

2 years ago

1.1.40

2 years ago

1.1.42

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

2.2.48

2 years ago

2.2.49

2 years ago

2.2.46

2 years ago

2.2.47

2 years ago

2.2.45

2 years ago

1.1.23

2 years ago

2.3.52

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.27

2 years ago

1.1.26

2 years ago

1.1.25

2 years ago

1.1.24

2 years ago

1.1.16

2 years ago

1.1.12

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago