4.9.68 • Published 1 year ago

@hishprorg/distinctio-ab v4.9.68

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@hishprorg/distinctio-ab 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('@hishprorg/distinctio-ab');

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

String.prototype.matchAllcurriedglobal objectexecfileArrayBufferinterruptscollectionreducercurlWeakMapprefixelasticachegradients csselectronbyteLengthwritesettingsttyES2017mixinsexpressionfluxchildjoiArray.prototype.findLastIndexbddsigintsetPrototypeOfgroupInt16ArrayvalidationisES7linuxoptionawsuploadclonenodeeslintnopetranspileres-abstractmulti-packagehigher-orderpatchfullwidthflagsRegExp#flagseslintconfigargsreact posequeuematchpyyamlInt8ArrayvalidateapiECMAScript 2022domievarlesscsscolorspositiverobustextraenvironmentsselfsymlinksbrowserlistRegExp.prototype.flagsutilitybundlerreducenumberignorextermes2017deeprandomES2018processelbbyteOffsetbeanstalkECMAScript 2019es-shim APIES2021typedarraysidevestindicatorequalityswfWebSocketshebangsuperstructstablefigletstylesheettransportpinojavascriptutilitiescloudwatchregexfull-widtheventsenumerableweakmapoptimizerreact animationjson-schema-validationobjmake dirUint8ClampedArrayrgbless.jslanguagepredictablepackage.jsones2016variables in cssbabelbusyes-shimsgetPrototypeOfdateebsextendECMAScript 2015callcss variableimmermetadataboundfunction.lengthregexpcoercibleclassnamePromisekoreanquerydeep-cloneES2016createEStoobjectrdsschemetrimEndcloudformationcertificatesArray.prototype.filterreactprototypeWeakSetregularcss-in-jsglobbuffersbannerassertiontypessimpledbsyntaxflatstyled-componentsestreedayjsloadbalancingterminalvarssafechineseworkerES2023columnrecursivefastifyJSON-SchemaruntimeES8directoryjsdiffHyBiamazonhashtrimagenttypedarraysfast-clonecall-bindpathcss nestingformsignalArray.prototype.flatMapfastcopylockfileargvreplayreadablestreamremoveprunetestpopmotionauthspringqsconcatMap6to5configinspectencryptiontstranspileidentifiersbootstrap cssstreamsetterproxycensortypesafeserverlogexit-codedom-testing-libraryUnderscorebrowserslistreadableeventEmittersyntaxerrorpreserve-symlinksarktypeauthenticationsharedarraybufferString.prototype.trimcorecontainstddformattingerrordeepcopyES2022slotgetterSystem.globales7formsuninstallFunction.prototype.nameemrfunctionscjk__proto__react-testing-libraryfindLastUint8Arrayinstallercolumnsmoveeast-asian-widthpipewidthcollection.es6Float64Arraydata.envredux-toolkitpicomatchReflect.getPrototypeOfworkflowchromefast-deep-copyelmECMAScriptpreprocessorgroupByenvironmentrequestgetOwnPropertyDescriptoreffect-tswgetcore-jsstatelessstringifiergradients css3real-time256fpspropwarningminimal[[Prototype]]servicesymbolssigtermcommanderes8gitignoreparsefantasy-landglobalThismoduleoffsetfastjson-schema3dhelperseveryfindLastIndexkeysrapidBigInt64ArrayprotobufconstSymbol.toStringTagfindinternalinferenceimportexportstatedirownshim$.extend.gitignorepropertiesmockingarraysObjectECMAScript 2021Array.prototype.findLastemittoolkitspeedjsonschemaserializationsuperagentimmutableObservablesforksesyupspinnerss3redirectreusegenericsendpointtoArrayhas-owndependenciesroute53schematraverseECMAScript 6stringcomparesqsroutingES5Object.isqueueMicrotaskreduxECMAScript 2023ECMAScript 2016idleiteratorreact-hook-formautoscalingbundlingdeep-copybrowsercompilerajaxStreamsFloat32Arraystylingposeflattencloudtrailoperating-systemvariablestrimLeftxhruser-streamspackages
4.9.68

1 year ago

3.9.68

1 year ago

3.9.67

1 year ago

3.9.66

1 year ago

3.9.65

1 year ago

3.9.64

1 year ago

3.9.63

1 year ago

3.9.62

1 year ago

3.9.61

1 year ago

3.9.60

1 year ago

2.9.60

1 year ago

2.8.60

1 year ago

2.8.59

1 year ago

2.8.58

1 year ago

2.8.57

1 year ago

2.8.56

1 year ago

2.8.55

1 year ago

2.8.54

1 year ago

2.7.54

1 year ago

2.7.53

1 year ago

2.7.52

1 year ago

2.6.52

1 year ago

2.6.51

1 year ago

2.6.50

1 year ago

2.6.49

1 year ago

2.6.48

1 year ago

2.6.47

1 year ago

2.6.46

1 year ago

2.5.46

1 year ago

2.5.45

1 year ago

2.5.44

1 year ago

2.5.43

1 year ago

2.5.42

1 year ago

2.5.41

1 year ago

2.5.40

1 year ago

2.5.39

1 year ago

2.5.38

1 year ago

2.5.37

1 year ago

2.5.36

1 year ago

2.5.35

1 year ago

2.5.34

1 year ago

2.5.33

1 year ago

2.5.32

1 year ago

2.5.31

1 year ago

2.5.30

1 year ago

2.5.29

1 year ago

2.5.28

1 year ago

2.5.27

1 year ago

2.5.26

1 year ago

2.5.25

1 year ago

2.5.24

1 year ago

2.4.24

1 year ago

2.4.23

1 year ago

2.4.22

1 year ago

2.4.21

1 year ago

2.4.20

1 year ago

2.4.19

1 year ago

2.4.18

1 year ago

2.4.17

1 year ago

2.4.16

1 year ago

2.4.15

1 year ago

2.4.14

1 year ago

2.3.14

1 year ago

2.3.13

1 year ago

2.3.12

1 year ago

2.3.11

1 year ago

1.3.11

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

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