1.0.0 • Published 1 year ago
@tea062024/soluta-accusantium-a v1.0.0
@tea062024/soluta-accusantium-a 
Get the byte length of an ArrayBuffer, even in engines without a .byteLength
method.
Example
const assert = require('assert');
const byteLength = require('@tea062024/soluta-accusantium-a');
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
styleenvsetImmediatelessmkdirpwafprotoescapeargsperformantoptiondataviewwalkimmerjsxxtermframeworkrm -frwgetsesincludeswindowsfilterloadbalancingUint8ClampedArraycryptdescriptiones2017appworkersqsidoutputpluginbluebirdwritablegetOwnPropertyDescriptorpositivesetautoscalingjsdomwatchcalljasminehelpersgetintrinsicgdprrouterless.jsstringtsvalidstringifyimmutablecontainslistenersmacostapreplayglobalstestercloudfrontcolumnsawaiteveryjscolorssyntaxerrorreaddeterministictrimtypedarrayfindcloudtraileventDispatcherArray.prototype.containssharedarraybufferdeepcopydebugrapidbufferbannerlanguageerrordataViewfromfast-copyerror-handlingcomputed-typeseast-asian-widthvisualmoveduplexTypeBoxconcurrencyrgbreduceUint32ArrayflagshaselasticacheiteratorpackageremovefileastimportexportArray.prototype.findLastIndexbreakrdsredactprivaterobustinternalflattensigtermrestObjectkoreanprotocol-bufferscomparemoduleslimitedinterruptsfetchfast-deep-copyfull-widthequalityPromisemobilepromiseoptimizerECMAScript 2023toobjectstylingtoSortedcommanderArrayBufferpipeInt16Arraytypanion.envmimedefinePropertykinesisArray.prototype.filteres-shimsslicesyntaxscheme-validationprefixfstypexhrquotetoStringTaginvariantES3toolsutil.inspectforEachsetPrototypeOfconsumefigletcjktermbrowserlistdependenciesjestjsonpathbundlerIteratormatchbcryptUint8ArrayflagstreamflatMapparseString.prototype.matchAlltddentriesjshintshrinkwrapcopylinewrapclassesArray.prototype.findLastAsyncIteratordom-testing-librarystyleguideunicodeec2testJSONebshas-ownnativedeep-copymimetypescoercibletrimLeftgradients css3importcliopenefficientECMAScript 2020phoneguidclassnamescallbackes6symbolsvalidationwatchercoreESsigintagentprivate datainstallerurldeepclonesymlinkairbnbfast-deep-clonetc39fullwidthcodesvesttslibObject.keys256execsettingsmulti-packageenvironmentsstreamsexpressbrowserreactshamInt32ArraypyyamlemojiansisimpledbgetterauthenticationfindLastnodemoduletypescriptbrowserslistcloudwatchcall-boundStyleSheetpathmatchesserializeschemasuperagentelectronidentifierscolourstyled-componentsomitdiffnested cssglobalextraes-abstractWebSocketasciireal-timefindupbddjwtstylesconfigarraybootstrap cssform-validationinferencecensorspinnerscircularaccessibilityjavascriptes-shim APIrandomECMAScript 2022SymbolcloudsearchmkdirtelephonefpsTypedArrayregularhasOwnPropertywebES2017react-hook-formassertsobjgroupBydirdebuggerless mixinschinesequerystringlintextensioncheckECMAScript 2015callboundargvhigher-orderjsonoptimistlookregexdatacall-bindObject.definePropertyfastifystreams2fluxonceconcatObject.valuesRegExp.prototype.flagspromiseseslintplugindescriptorroutingloggerpackage.jsonformattingpropECMAScript 5wordbreakmruvarsPushlruECMAScript 2017operating-systemieiterationmomenttaskreact-hookstypedarraysconnectdeep-clonestylesheetchaicompilerarraysprocessdescriptorses2018$.extendobjectyupES2018Array.prototype.includes-0[[Prototype]]ECMAScript 7idlestructuredClonecss lessecmascriptreduxparentreact-testing-libraryargumentArrayfind-upwatchFilerm -rfreadableformswrapnegative zerogetconfigurablethrottleintapees8isSymbol.toStringTagflatdirectoryrmdir@@toStringTagkarmachromeesexpressionvpcsymlinksgetoptObservablessinatracolorsameValueZerowhatwgindicatorencryptionproxyresolveprettystdlibworkflowtestingRxJSargparsesetterArray.prototype.flatMapHyBiroute53dependency managerfunctionaldatespinnertrimStartslotweaksetawscorscode pointscsshttpsformboundArrayBuffer.prototype.sliceECMAScript 2021npmautoprefixermetadataownuninstallmapjQueryObject.getPrototypeOfJSON-SchemaloggingponyfillbyteeventEmitterfolderinspectmochaES8progresschanneltypeofObject.assignStreamsReactiveXbusyStreamWebSocketsartzerolengthyamlcachees5curltypesafeaccessorisConcatSpreadableuphasOwnsomewriteES7columnparserexitrangeerrorpostcssfindLastIndexdynamodbMapprototype
@npmtuanmap/aperiam-natus-quis-autem@npmtuanmap/ex-vel-expedita-impedit@npmtuanmap/psychic-guide@npmtuanmap/recusandae-recusandae-nam-et@npmtuanmap/sed-quo-nemo-rerum@npmtuanmap/tenetur-quisquam-quia-aliquam@npmtuanmap/ut-quas-amet-possimus@npmtuanmap/velit-esse-velit-magnam@npmtuanmap/velit-nobis-nostrum-nam@tea062024/amet-eum-occaecati@tea062024/architecto-eos-dignissimos@tea062024/asperiores-quae-ut@tea062024/assumenda-possimus-adipisci@tea062024/beatae-assumenda-dolorum@tea062024/deserunt-repellat-accusamus@tea062024/dolores-magni-laboriosam@tea062024/inventore-sequi-officiis@tea062024/numquam-quo-quibusdam@tea062024/repellat-omnis-accusamus@tea062024/sunt-earum-nesciunt@tea062024/veniam-facere-voluptatum@tea062024/vero-ipsum-similique
@tea062024/totam-vitae-maxime@tea062024/voluptates-nihil-nisi@tea062024/voluptatibus-ut-asperiores@tea062024/facilis-fugit-quam@tea062024/maxime-aliquid-sunt@tea062024/officia-ratione-nostrum@tea062024/ratione-saepe-temporibus@tea062024/doloremque-exercitationem-asperiores@tea062024/eveniet-modi-ab@tea062024/facere-dignissimos-aliquam@tea062024/a-soluta-accusantium
1.0.0
1 year ago