1.0.0 • Published 12 days ago

@crabas0npm/repellat-iusto-nulla v1.0.0

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

@crabas0npm/repellat-iusto-nulla 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('@crabas0npm/repellat-iusto-nulla');

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

prunelruwgetuninstallbabel-coreimportplugineslintconfigutilsReflect.getPrototypeOfpostcss-pluginonceconcurrencyUint32ArrayshebanghookformArrayflagses-shimsECMAScript 5chromekarmaduplexworkspace:*widthisConcatSpreadableclassnamesreducerobjTypeScriptmimelockfiledefaultfixed-widthomitprotobufUint8Arrayvariables in cssserializercomparecorsES7airbnbcore-jsforEachlast256toSortedECMAScript 20230promisefindLastIndexoffsetdatastarteroptionpasswordqueuergbmatchesregular expressionrm -frES2022call-boundsettingseslintdeepcopyArray.prototype.includesString.prototype.matchAllanimationjwtJSONimmercallsyntaxerroreventsjsxgetFloat32ArraybrowserdefinechromiumArray.prototype.findLastwatchFiledomFloat64ArrayregularasyncRegExp.prototype.flagstranspilei18nsymlinksopensbyteOffsetformattingassertskeyscryptobatchrm -rfcharacterjsexecformharmonyterminalUint16Arraytypanionfiltersuperagentargvbddautoprefixerdeep-clonespawnuuidfastifyparserspinnerStreampushsigtermES5setPrototypeOftypedarraymodulesUint8ClampedArrayurlssymbolReactiveXstatusoptimistObject.getPrototypeOfcompile lessstringifierexit-codeinstaller-0arraysextraparenttakeESnextinferenceecmascriptreadcmdtsjavascriptmergesymbolsbindinstallcjkclonefunctionsdropstylesformatpropertiestimewalkpnpm9minimaldatastructureponyfillrangeerrorcontainsrfc4122URLcomputed-typesES2023schemees2018clifile systemdom-testing-libraryuploggermiddlewarenumberStyleSheetwordwrapconnectworkerframerECMAScript 6xdg-openbannertoobjectcall-bindemitcolorcheckrmperformancedefinePropertywatchcodespackagesdescriptorsspringstyled-componentsstyleguidecolumnslinuxjsonschemaspecwhatwgsignalsprettyxhrdescriptionmulti-packagestylesheetlintchildoptimizerECMAScript 2016ajvshrinkwrapvarinspectcryptkeylengthdeterministiccss lessfullYAMLchineseobjectspinnersredactjsonloggingchannelfigletshamprefixargparsestylepersistentconfigurablephonepackage.jsoninterruptsramdamomentcore@@toStringTagRxJSgetoptratetrimserializationreduxes2016collectionhardlinksvalid$.extendArrayBuffer#sliceframeworkArray.prototype.findLastIndexdateiteratorelectronPromiseInt16ArrayjoisequencekoreandescriptorajaxdirectorypreprocessorsetsomegesturesgetterES2017RegExp#flagsreact animationprototypenamesCSSStyleDeclarationpropwarningeslintpluginxssES2015polyfillfrominputexitECMAScript 2021columnastcurriedmkdirmobileWeakMapgdpremojipackage managerl10ncharacterslaunchsetImmediatebundlingES2018internal slotfastcopymoduleUnderscorecurllimitrapidtypeerrorrandomvaluelesscssoperating-systemfilelazycacheObjectgraphqlpoint-freegenericseventEmittermapexpressbyteArrayBuffer.prototype.slicenested csscss-in-jsvariableswaitbufferreduceaccessorcreateES2019BigUint64ArraytoStringTagreadablesetterstableURLSearchParamspropertyparentsenvArray.prototype.flattraverseenvironmentfast-copyratelimitwraptacitweakmapFunction.prototype.namewindowsfetchfastcloneasciicensorless.jssigintarraybuffertaskbootstrap lesswaapiES3progressapi
1.0.0

12 days ago