npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@taktikorg/dolorum-quasi

v2.7.88

Published

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

Downloads

1,303

Maintainers

lechuongb878lechuongb878

Keywords

utillastECMAScript 5url256httptesterECMAScript 2022isgetterfileES2020react-hooksgraphqloffsetclientArray.prototype.findLasttestingnegative zerocolourspawntrimEndtsprototypeSetdatebabelirqvariables in cssSystem.globalbeanstalksharedhttpsreal-timeacorninterruptstslibdefinenodejssyntaxerrorprivate dataRFC-6455requesthotmanagerlesscssvalidateObject.entriesdescriptorscliroute53fastclonedom-testing-librarypropdayjsphoneECMAScript 7Uint8Arraybddmatchzodruntimepyyamlcorewgetpnpm9windowvarbytewarninglanguagecreatepasswordfindLastIndexStreamss3performancees6busysymbolslotFloat32Arraydeletecontainsworkerproxyamazonnpmpinoes7spinnershooksoptimizerformsyupobjectReactiveExtensionsstatelessexpresssqsmatchAllinternalMapeslinteslintconfigpushrapidliveWeakMapreplaycircularObject.getPrototypeOfYAMLec2curlspinnercallbackhardlinkspropertyArray.prototype.filterairbnbloggermixinsECMAScript 2020prettyparsevaluesdataViewyamlutilityjsxponyfillbabel-corethreeECMAScript 2023BigInt64ArraystylingECMAScript 6URLSearchParamsestreecloudwatchwritablegetPrototypeOfclassestacitRegExp.prototype.flagsworkspace:*Array.prototype.flatfast-copy.gitignoreflattenuploadbuffertc39instringgroupECMAScript 2015readablestreamiam-0Object.isoutputcollectionES2015jshintgesturesdiffwaitspeceventDispatcherexeceslint-pluginlazyelbstylescloudtrailFunction.prototype.namemkdirwhatwgredactterminalsafecallspeedprune$.extenddomdescriptorcommandFloat64ArraysliceregexbinconcatposebrowserslistfunctionalvestoptimistECMAScript 2021path__proto__autoprefixeremitsymlinkenvironmentsimportexportglobalThisweaksettakeansieventstoStringTagstyled-componentses2015mapUint32Arrayoperating-systemcryptcertificatesfullwidthString.prototype.trimshamESimmerfindLastapivisualisConcatSpreadableObject.valuesagentgdprhasOwnconsoleclonecjkfile systemregexpes2017variablesbundlerconcatMaplocalvarsscheme-validationsomegettrimStartglobalsfast-clonecore-jsajaxhasstringifybannertypesafetypedarraysECMAScript 3binaryauthrulestestsuperstructrecursivereadprocessfilterserializesignalschromiumreusejson-schema-validationcoerciblewafequalkoreanequalityes-shim APIsetterpicomatchObject.keysimportJSON-SchemaWebSocketsenvironmenterror-handlingconsumedatasetopensslcss-in-jstimeformsideresolvesequenceback-endspringbootstrap cssaccessortouchglobbundlingbcryptArray.prototype.containshandlerquerytypeerrorES2022.envtypanionrequirevpcjavascriptpackage.jsonArrayBufferdiruser-streamsgetOwnPropertyDescriptortrimES6postcss-pluginprefixdeep-clonetextkeysartObject.fromEntriesgroupByiteratorcollection.es6TypedArrayhelpersdataviewefficientdeep[[Prototype]]negativeroutingjQuerybrowserlistescapelockfiledeepcopyenderassertiondirectorylogviewstoragegatewaypipetrimLeftpostcssInt16Arrayignorewidthstylesheetpackage managerajvplugindeep-copyecmascriptinstalleriterateWebSocketcss variabletyped arrayhasOwnPropertyObject.definePropertyramdaES7linuxidleTypeBoxselfjsonxhrutilitiesMicrosoftiecall-boundcodesES2018server6to5findtostringtagtoobjectebsjapanesehandlersqueueMicrotaskargstoArraykeymodulemomentnamesfetchinternal slotcolorsmulti-packageperformantES2023mruWeakSetonceiterationtypeseast-asian-widthReactiveXcall-bindmonorepocallboundSymbolhas-ownmockingmkdirsregular expressionlrumergeTypeScriptcheckquotearraybufferargumentArrayObjectfsjsdiffeslintpluginmakeendpointeffect-tsformatloadingi18nObservableschromepromiseRxweakmapmoduleswritestylecloudsearchjson-schemaInt8Arraycss nestingremovedropRxJScompile lesscopytoSortedUint8ClampedArray@@toStringTagES8npmignoreautoscalingmetadatapopmotionES3function.lengthmobiletranspilesameValueZerofnmatchreduceECMAScript 2018bindelmless compilertransportglobal objectsymlinksloadbalancingsignaloptionES2017typedarraypolyfillStreampositivetelephoneshrinkwrapmockformattingawscommand-lineArrayBuffer.prototype.slice3dArray.prototype.includesUint16Arrayhookformanimationfront-endglobalsortedcolumnsaccessibilitypreprocessorsyntaxstringifiermacosextendshellhelperjsonschemaeveryextraprotoidentifiersawesomesaucees2016parsertranspilerexitgetintrinsicgenericsdeepcloneerrorECMAScriptserializerentriesclassnamesECMAScript 2017ECMAScript 2019descriptiones5computed-typesrdssimpledbvalidatorframerfunctionsnameserializationdependenciesRegExp#flagses-abstractpatchdynamodbsigtermPromisegradients cssfluxsettingsexecutefastindicatorreducerwaapisigintrobustnested cssECMAScript 2016Array.prototype.findLastIndextools_.extendtypeoftypescriptlocationintrinsicletstatusarktypeURLshebangflagpersistentgradients css3css lessArray.prototype.flatMapreact posestructuredClonecolumnqueueharmonyreact-componentbyteLengthfrominputmapreduceredirectflatMapcacheservicefixed-widthjoiESnextconstclassnamenopebyteOffsetemrcloudformationfantasy-landHyBifigletstyleguideargvquerystringinstallES2019shimReflect.getPrototypeOfchildvalidcommanderelasticacheconfigregularrgbcoloresnativetrimRightutilsprotocol-buffersexpressionmoveutil.inspectreactchannel0progresspackagesminimalless.jsdotenvvalidationl10nstreamfpsio-tssharedarraybufferschemePushpredictablestarterES5Observableapollojson-schema-validatorwalkcomparegetoptclass-validatorreact-hook-formcryptojsSymbol.toStringTagauthenticationlengthschemaincludesjsdomlintzxpreserve-symlinksobjsetPrototypeOfObject.assignpropertiesdependency managertypefast-deep-clonestablewhichreact-testing-librarypurefpreduxinferencecloudfrontrandomcallbindlibphonenumbereventEmitterzeroes2018chaisetImmediateinvariantString.prototype.matchAllvalueJSONform-validationbootstrap lessarraysencryptioncharacterjwtdefinePropertyomitUnderscoreassertbrowserreact animationtoolkitsymbolsprotobufhigher-orderrangeerrorfull-widthStyleSheetIteratoruninstallboundroutecompilerprivatecensortypeda11yloggingCSSStyleDeclarationArray.prototype.flattenswfconfigurableredux-toolkitnumberexit-codeimmutablepoint-freetraversedragmake dirBigUint64ArraygitignoreCSSchinesesubprocesssignedfunctionunicodeowntddsesmatchesdeterministiccurriedstateinspectsnsqswindowslistenersenvstreamsjestforklinksortes-shimsbuffershashtermES2021assertslessfastifybinariesflagselectronasyncespreekinesisglobal this value

Readme

@taktikorg/dolorum-quasi 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('@taktikorg/dolorum-quasi');

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