1.0.0 • Published 15 days ago

@wemnyelezxnpm/neque-iusto-illum v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
15 days ago

@wemnyelezxnpm/neque-iusto-illum 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('@wemnyelezxnpm/neque-iusto-illum');

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

harmonygraphqlloadingvarflattenutilsreal-timenopemochahttpsmimevaluessharedarraybufferecmascriptES3PushArrayconfigurablelinuxESnextrfc4122listenersbyteOffsetxhrfunctionforEachregular expressionstoArrayrgbregularpackage managerajaxencryptionopenmakelimitnumbertypeofclipackageclienthooksArray.prototype.findLastfindLastIndexarraybufferformattingwebsiteES2016io-tsJSON-SchemahasOwnfilterstringifiernodeArrayBufferdescriptorscoreescapelimitedwarningBigUint64ArrayJSONserializationtypanionpropertiessafeasciiapolloreact posespringredactStreamstermemitRxerror-handlingqsbyteconnectSymbol.toStringTagcss lesses2015flagmatcheschildpositiveless.jsdropdeepcopynamesnpmform-validationjsonschemapushkoreancollectionReactiveXslicedom-testing-libraryStyleSheeteventEmitterlastFloat32Arrayfast-deep-clonegroupBydiffcompareIteratoresschemagenericsdefinejestnodejsstartuuidtestfastclonemacosdebugStreamcssvalidationtranspilerSeteveryconcurrencydatafind-upspawnes2018Object.assigndeep-cloneconcatMap0WebSocketterminalkeyshimwriteECMAScript 7stylesthroatidlemixinsxdgstreams2domtyped arraywaapivalidcode pointsUint8ArrayisConcatSpreadabledependency managercoerciblesignalsperformancees6ESObject.fromEntrieswhichsameValueZeroparentsrateES5commanderconstinvariantanimationsearchinternal slottoolsnegative zeroreducerecursivepersistentfindupstructuredCloneslotshamjsdiffbreakcore-jspolyfilldirectorycolorrandomdescriptorreadableparentes2017fast-copyArrayBuffer#sliceoutputtraversefullwidthFunction.prototype.nameHyBiprotobufobjiteratorcollection.es6arktypeshebangtrimEndregexscheme-validationenumerableES7getOwnPropertyDescriptorlrumoveirqexit-codegetPrototypeOfcss-in-jslesstostringtagbundlerECMAScript 2023touchwatchingoptimizermkdir256spinnerspostcss-plugineslintes7wordwrapjsdomArray.prototype.filterdeep-copyxssECMAScript 2021setletECMAScript 2018speceast-asian-widthcharacterskeyshookformstylingfsjsonexecutablebluebirdbyteLengthchromepropreact-testing-libraryenderpostcsseventDispatcherRFC-6455callboundresolvequeueentriestypespicomatchObject.valuesvalidateshellpureexevisualsignalYAMLtrimStartdotenvES2019pruneflagsrequestreact-hook-formrmdirprogressbootstrap lessajvcreateasyncargvhelperstoStringTagRegExp#flagsstringArrayBuffer.prototype.slicerangeerrorsymlinkwatchboundserializerstreamtranspilewatchersymlinksjasminesuperagentweaksetobjectfast-clonefile systemmobileremoveECMAScript 2019japanesenameprototypeconsumepathmake direslintconfigInt16ArraytoobjectgesturesinternalgetintrinsictimedataViewtypescripttapecolourbootstrap cssieyupBigInt64Arraydirhigher-orderassertsdescriptionvariables in cssexpressiontesterstylesheetcss nestingcensorArray.prototype.flatMapstylethreepropertyclonetypedpopmotionarrayqueryObject.definePropertyECMAScript 2020validatorUint16Arraynested csslaunch$.extendtapworkspace:*accessorminimalbrowsermodulecrypturlperformantmatchshrinkwraplockfilerm -frvariablesloggingestreeenvironmentiteratefindchromiumpreserve-symlinkscall-boundtrimfastifyArray.prototype.containschannelinputpackage.jsonttycharacterlinewrapcall-bindes-shim APIcss variableurlsstatelessefficientexitbddauthenticationformcomputed-typesexpresstypeerrorutilitytoSortedqueueMicrotaskfunctionalchaisymbolsUint32Arraysomejsonpathtelephoneargumentsfigletcallbindimmutablerapiddependenciesregular expressionwaithandlersformscors@@toStringTagansieventsart6to5rm -rfInt8ArraylengthloggerPromisecontainsmkdirsjsxsidepnpm9callmatchAlljson-schema-validationclassnamesgradients cssuninstallregexpwgetpoint-freebcryptenvbindextendmetadata.envreactmime-dbES2023es-shimsparseconsoleECMAScript 2017framerless compilerprefixcommandhttpjwtxdg-openconfigsharedcallbackcurlUnderscorebufferxtermsigintramdaWeakSetprotojson-schema-validatori18nRegExp.prototype.flagsTypeScriptES2015defaultbrowserslistoncefull-widthequalityfullreducerES8syntaxwordbreakrequireES2022pipeless csswritablegroupwrapoptionES2020pyyamlES2017monorepozodrmdeletesettingsquerystringtslibsuperstructspinnergdprbrowserlistfastopenerwhatwgbusyfunctionsfast-deep-copyes-abstractequalcryptosetPrototypeOfutilWeakMapES2021extramruschemefolderuser-streamsECMAScript 2016checknegativeTypedArrayautoprefixerlintjavascriptString.prototype.matchAllcurriedstyled-componentscopyredux-toolkitsortmergeweakmap-0inspectsorteddatastructurepromiseopensdefinePropertyMapauthArray.prototype.flattenclassesclass-validatorjslanguagedeeptestingmimetypesURLlogvaluecolumnbabel-coreexecwalkless mixinstc39flatMapincludesbufferstypedarrayhardlinkses8deepcloneaccessibilitythrottlecmdindicatorreuseelectronastES6mapfindLastjQueryinferenceassertArray.prototype.findLastIndexstablerobustObservables_.extendargumentnativea11yinstallerReflect.getPrototypeOf3dairbnbfilekarmajson-schemaframeworksequencemomentreadInt32ArrayMicrosoftextensionURLSearchParamsbundlingtoolkitwatchFilepatchsanitizeeslintpluginstatusimmerspeedECMAScript 3gradients css3preprocessorunicodefromECMAScript 6util.inspectdateObjectzerodayjsarraysstreamstaskupoffsetsanitizationreadablestreamtrimLeftArray.prototype.includesvestString.prototype.trimbatchES2018babelmulti-packageerrorcodesemojiprivateCSSStyleDeclarationfantasy-landiterationinterruptsserializeprocessmiddlewarelook-upinstallconcatcjkdataviewargparseviewintrinsicdeterministicFloat64Arraytsreduxcompiler__proto__bannerawaitfetchObservableeditorsigtermruntimeArray.prototype.flatlookECMAScript 2015fixed-widthguidjoipackagesoperating-systemmodulestrimRightclassnamewidthObject.keysprivate dataECMAScript 2022es5globduplexassertionwindowsdebuggerCSStacitformatTypeBoxprettyponyfillstarterObject.isassignsetImmediatefpUint8ClampedArrayratelimitcolorsmkdirpapiutilitiesworkercacheReactiveExtensionsstringifyObject.getPrototypeOfcircularcompile lessavaparseres2016fastcopylesscssgetterlibphonenumberargshashsettertypereact-hooksSymboltddquoteidprotocol-buffersimportcommand-lineyamlAsyncIterator
1.0.0

15 days ago