3.5.64 • Published 12 months ago

@zitterorg/ullam-veniam v3.5.64

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months 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

12 months ago

3.5.63

12 months ago

3.4.61

12 months ago

3.4.62

12 months ago

3.4.63

12 months ago

3.3.59

12 months ago

3.4.60

12 months ago

3.3.60

12 months ago

3.3.57

12 months ago

3.3.58

12 months ago

3.3.56

12 months ago

3.3.53

12 months ago

3.3.54

12 months ago

3.3.55

12 months ago

2.3.53

12 months ago

1.1.29

1 year ago

1.1.28

1 year ago

2.1.45

1 year ago

1.1.30

1 year ago

2.1.43

1 year ago

2.1.44

1 year ago

1.1.34

1 year ago

2.1.42

1 year ago

1.1.33

1 year ago

2.2.51

12 months ago

1.1.32

1 year ago

2.2.52

12 months ago

1.1.31

1 year ago

1.1.38

1 year ago

2.2.50

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.39

1 year ago

1.1.41

1 year ago

1.1.40

1 year ago

1.1.42

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

2.2.48

1 year ago

2.2.49

1 year ago

2.2.46

1 year ago

2.2.47

1 year ago

2.2.45

1 year ago

1.1.23

1 year ago

2.3.52

12 months ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.16

1 year ago

1.1.12

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.12

1 year 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

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago