4.7.96 • Published 11 months ago

@patrtorg/est-iure v4.7.96

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

@patrtorg/est-iure 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('@patrtorg/est-iure');

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

bootstrap lessWebSocketmkdirpshrinkwraptranspileeslintopensslvalidatorhttpsObject.valuesstreamssesajaxglobreact-hook-formtypedhandlercompilervalidpolyfill$.extendECMAScriptArrayairbnbendpointpathESnext__proto__stringgesturesmapreducewhichfixed-widthTypedArrayviewtesthasOwnPropertyauthURLexecfilecallvarString.prototype.trimanimation_.extenddeep-clonetacitfiltereventEmitterinstallsigtermhas-owntsroutingpostcss-pluginquoteremovedefinedropender3dtraversehardlinksbinestypedarraydescriptornegativekeyinspectES2023sortediteratorastwafscheme-validation-0persistent.envcommandfastsnspropertiestrimStartmodulesharedarraybuffer@@toStringTagglobalassignansiincludesregexArray.prototype.includesescapeArray.prototype.containsentriesReactiveXchildpackagesamazonsymboles5css variablejQuerytoStringTageslintplugingradients cssyamlFloat32ArraydiffObject.assignStreamfront-endclientfullwidthObject.isInt32Arrayimmer6to5trimtoobjectsetImmediateselfwindowworkertouchequalitycoercibleacornfpflatbyteOffsetfile systemchaicompareprotocol-bufferstrimEndsetnested csssignedinputa11ysyntaxlistenersglobal this valuees2017pluginmodulesserializationhookformuploadPushECMAScript 7Array.prototype.flatdeterministicchromiumsortparseloadingreduxreadablestreamJSONgradients css3serverObject.keyslinuxoptimistterminalbyteLengthhandlerspatchcomputed-typesoptioncommanderconsolejwtpreprocessorhelpertermURLSearchParamsasyncbytetextrobustweakmapArray.prototype.filtermacosreducecodesobjectquerystringECMAScript 2023certificatesconcatexithigher-ordernpmignorestoragegatewaycircularrecursivematchAllawesomesaucecopyfull-widthfullexit-codeconfigtyped arraywgetArray.prototype.findLastIndexserializegdprcloudwatchrequireESquerycss-in-jsdateargumentdeleteES2016performancecall-bindfindpnpm9objtesterdragcollectiontypeofcontainsreadloggerbootstrap cssMaptypeerrormkdirspropertyform-validationsettingspromisefpsowninstallermapletwriteespreemixinsfslibphonenumberdataViewponyfillwaitsyntaxerrorsameValueZeronopeminimaldeepcopyspawnvpctypesafeSymbolintrinsicconsumefast-deep-copyYAMLpopmotionES2018jsonschemajavascriptjshintruntimecompile lessefficientstyling0lrulanguagecolumnschemewritableassertionsidegenericsreplaygetintrinsicWeakSetECMAScript 2016fantasy-landprototypedirectoryestreeimmutablematchlazyfunctioncsscloudsearchpreserve-symlinkscallboundreal-timefast-deep-clonestylesheetgetterutil.inspectaccessibilitycloudfrontconstES7stringifierlocationslotless.jsfastifycolourinterruptsredirectfindLastIndexsharedformatcryptES5graphqlzodvariablesSystem.globalsafeutilsgroupByvariables in csspackage managerbabel-corefrominternalCSSStyleDeclarationjsdiffSetfastclonearrayseast-asian-widthiteratees-abstractES8multi-packagehookscheckservicelivebundlingmovecommand-linecloudtrailtypescriptsigintflagwidthinmockingtypanionstylespinnerses7superstructES6mrutypedarraysmobilemkdirBigInt64ArrayconcatMapdom-testing-librarysubprocessstatelessstyleguidegetPrototypeOfidlestylesclassnamecolortakerequestclonecurlreuseserializerinternal slotlintzerotslibttyjson-schema-validationjapanesees6256someInt8Arrayemrhotfunction.lengtherror-handlingchromecallbackarktypeparserReactiveExtensionsenumerabledeepclonereact-componentvalidateargvsetPrototypeOfObjectagentiamJSON-SchemaclassnamesbddsetterfetchcloudformationflagsutilitiesframerES2021electronformattingstreamprivateenvl10nelbredactkinesispostcsshashfindLastcss nestingflattentestinglockfilewhatwgstablejson-schemaUint16Arrayreact-testing-libraryoncefigletnumbercryptoloadbalancingworkflowec2weaksetbusyrapidramdaimportexportsliceInt16Arrayforkpoint-freebinaryasterisksbabeleveryemitpurejsxclinametostringtagcore-jsdataviewpredictablesuperagentpyyamliterationirqcreateES2017nodejsrangeerrorpipeSymbol.toStringTaglesscssreact animationreactignoremockgetOwnPropertyDescriptorAsyncIteratorvaluewaapiargsECMAScript 2020ArrayBuffer.prototype.sliceutileslintconfiges2016proxydotenvspinnercall-boundworkspace:*WeakMapelasticacheECMAScript 2019channelregular expressiondayjsspecdatastructureebspositiveurlprotovalidationomitWebSocketsperformantisObservableFunction.prototype.nameback-endcacheObject.definePropertyECMAScript 2018censorECMAScript 6private datamonoreponpmkoreanES2022toolkitencryptionharmonystringifyoptimizeraccessorreducerStreamsclassesietoolscurriedsignalstateqsIteratorES2015makeajvasserteffect-tsoperating-systemregular-expressionMicrosoftString.prototype.matchAllsymbolsES3ObservablespinoformtransportTypeBoxlogginghttpmetadataformsless compilerprunetc39varsdefinePropertyArray.prototype.findLastconfigurablehasOwns3ECMAScript 2021datautilityObject.entriesexectimeprefixqueueexecuteredux-toolkitlinknamesfunctionspicomatchless cssshimfast-copyes-shim APIUint8ArraymomentbufferextendautoprefixerECMAScript 2017xtermRFC-6455Promiseshamjs.gitignorestyled-componentsschemawalkthreebrowserlistes2018toArrayfast-cloneECMAScript 2022localxhrrandombcryptenvironmentcollection.es6react-hooksequalawsglobalsbeanstalkbinarieslessoffsetvisualhelpersdirUnderscorearrayArrayBuffertranspileryupArrayBuffer#slicedeepelmfunctionalprocessUint8ClampedArrayapiTypeScriptfilecolorsshellidentifiersdynamodbES2019class-validatorcss lesstelephonehaszxrdsextraglobal objectisConcatSpreadableartspeedgroupinferencewarningcharacterArray.prototype.flatMapregexpuninstallinvariantbrowserslisttddjestexpressecmascriptapollosymlinksbundleres8nativebuffersgetoptjsdomES2020springRegExp#flagsarraybufferexpressionuser-streamsCSSpackage.jsondependenciesECMAScript 5pushFloat64ArrayglobalThissignalsunicodebrowserdeep-copyeventDispatcherRxtrimLeftrgbqueueMicrotaskfnmatcherrorkeysObject.getPrototypeOfcoretrimRightgetdescriptionnodemergedomnegative zeroenvironmentsRxJSvestprettymanagerassertsasciirulesECMAScript 2015symlinklastHyBijsonbannerstarterroute53simpledbStyleSheetswfpropshebangbindvaluesphonees-shimsArray.prototype.flattenoutputio-tssequence[[Prototype]]glaciertypescolumnsforEachreadablesqsjson-schema-validatorflatMapprogressmatcheswindowsimportdescriptorschineseObject.fromEntriesfastcopytypeeventsi18nstatusless mixinslogprotobufcjkes2015boundindicatormake dirBigUint64ArrayfluxReflect.getPrototypeOftoSortedRegExp.prototype.flagsdependency managerreact poseroutepasswordstructuredClonejoigitignoreregularUint32Arrayresolveauthenticationeslint-pluginautoscaling
4.7.96

11 months ago

4.7.95

11 months ago

4.7.94

11 months ago

4.7.93

11 months ago

4.7.92

11 months ago

4.7.91

11 months ago

4.7.90

11 months ago

4.7.89

11 months ago

4.6.89

11 months ago

4.6.88

11 months ago

4.6.87

11 months ago

4.6.86

11 months ago

4.6.85

11 months ago

4.6.84

11 months ago

4.6.83

11 months ago

4.6.82

11 months ago

3.6.82

11 months ago

3.6.81

11 months ago

3.6.80

11 months ago

3.6.79

11 months ago

3.6.78

11 months ago

3.6.77

11 months ago

3.6.76

12 months ago

3.6.75

12 months ago

3.6.74

12 months ago

3.6.73

12 months ago

3.6.72

12 months ago

3.6.71

12 months ago

3.6.70

12 months ago

3.6.69

12 months ago

3.6.68

12 months ago

3.6.67

12 months ago

3.6.66

12 months ago

3.6.65

12 months ago

3.6.64

12 months ago

3.6.63

12 months ago

3.6.62

12 months ago

3.5.62

12 months ago

3.5.61

12 months ago

3.5.60

12 months ago

3.5.59

12 months ago

3.5.58

12 months ago

3.5.57

1 year ago

3.5.56

1 year ago

3.4.56

1 year ago

3.4.55

1 year ago

3.4.54

1 year ago

3.4.53

1 year ago

3.4.52

1 year ago

3.4.51

1 year ago

3.4.50

1 year ago

3.4.49

1 year ago

3.4.48

1 year ago

3.4.47

1 year ago

3.4.46

1 year ago

2.4.46

1 year ago

2.4.45

1 year ago

2.4.44

1 year ago

2.4.43

1 year ago

2.4.42

1 year ago

2.4.41

1 year ago

2.4.40

1 year ago

2.4.39

1 year ago

2.4.38

1 year ago

1.4.38

1 year ago

1.4.37

1 year ago

1.4.36

1 year ago

1.4.35

1 year ago

1.4.34

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.4.31

1 year ago

1.4.30

1 year ago

1.4.29

1 year ago

1.3.29

1 year ago

1.3.28

1 year ago

1.2.28

1 year ago

1.2.27

1 year ago

1.2.26

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

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