1.0.0 • Published 1 year ago

@tea062024/soluta-accusantium-a v1.0.0

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

@tea062024/soluta-accusantium-a 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('@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
1.0.0

1 year ago