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

@juigorg/iure-exercitationem-sit

v2.0.20

Published

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

Downloads

1,203

Maintainers

tiengiangb47tiengiangb47

Keywords

es7es8Array.prototype.findLastIndexairbnbreadablestylesheetcolourSymbolauthenticationeslintconfigsyntaxerrorbcryptirqtslibcliregularendpointboundcryptoparentsdeepcopyfunctionArray.prototype.findLastcontainsstyled-componentsECMAScript 2023tapqueuecolorfindLastES2022fullRxstatuspackagerouteownglacierbyteLengthschemeerrornameswatchingclassnameutilitiesstylebeanstalkautoprefixerrfc4122symbolweaksetconfiggradients cssqsconsoleintrinsicttyes5configurableObject.valuesargs0settingsstreamsUnderscoredeep-cloneWeakSetprocessterminalObservablesECMAScript 3ECMAScript 2021fpsECMAScript 2022getintrinsicformatdescriptiondefineratevaluecomputed-typesfast-cloneflatMapmonorepoequaldatastructurecolors_.extendtoStringTagTypeBoxReactiveXreadrobustefficientprotopostcss-pluginloadingeslintpluginoptimistECMAScript 6getOwnPropertyDescriptorvariablescommandstdlibtoArrayReflect.getPrototypeOfassertseslintmatcheshas-owncompile lesstoolsbannerlinewrappatchMicrosoftobjectgroupmake dirsesenderdynamodbCSSES2019AsyncIteratores-abstractmkdirArrayRegExp.prototype.flagses2016utilityarrayspropajaxfastcloneemitlibphonenumberStyleSheetsortedjsximmergraphqlfastifyfiltereventsescapebyteOffsetenvArrayBuffermrukarmafindupnegative zeroObject.definePropertyio-tswarningchaisymlinkoutputfindtostringtagmergeeast-asian-widthWeakMapfastcopyslotwordbreakrapidtoolkitconcatrequirermdirsignalsproxyinterruptsargparselook-upwordwrapunicodeparsingcore-jstestvalidvariables in csshttpslinkrgbmoment-0swfyupSetless mixinscloudformationpredictablearraylanguageaststablesetPrototypeOfsideUint8ArrayweakmapeventDispatcheroncecode pointsyamlgetoptforEachcallbindArray.prototype.includesworkerspeedinferencelessURLSearchParamsES5tapesomeprotobufnested cssguidfindLastIndexES7fast-copyES2021preserve-symlinksphonelazyPushInt8Arrayes-shim APIjavascriptpyyamlUint32Arraycommand-linecsscjktaskconcurrencystringifyflatstarterfast-deep-clonerandomES2020descriptorsclasseshotreplayvalidateES2016Streamsreal-timedomdatePromisewaitcss-in-jsawaitzeroglobIteratorl10nsyntaxwalkdeep-copycloudfrontbundleromitBigUint64Arraypushloggerfile systemfseventselbpropertiesmapreduceiterationObject.assignes2018idlebundlingwaftypedarrayshashgettertyperesolveieiamJSONcodesserializationreducerlimitrecursivehigher-orderiscreatepackage.jsonSymbol.toStringTagapolloECMAScript 2015typedpostcssinternaltelephoneimmutablehasOwnPropertysimpledbless compilerstyleguidea11yagentfsredux-toolkitkoreanhardlinkspluginschemalistenersnopeasciiuproute53call-bindUint8ClampedArrayruntimeajvdataviewnpmaccessoropenReactiveExtensionsamazonchromiumnumberObservableperformancemimetypesparsertouchexectrimLeftprototypemacosjsdiffhttpbddcall-boundhasregular expressionshelpersqueryqueueMicrotaskminimalArrayBuffer.prototype.slicebindtraversewritableexpressionvisualhookspasswordnativenamecensoroptionformattingidRFC-6455limitedfromcommandermoduleclientelmcallboundreact-testing-librarydefinePropertybusyisConcatSpreadableemojispinnersnodesymlinksdependencies256Array.prototype.containspathsetterpropertymulti-packagetexttc39es6shellshamtypeofstylesjsonpathjestcollection.es6polyfillObjectless.jswebCSSStyleDeclarationuuidless csslintdataYAMLfull-widthserializemobileelasticachewindowsrangeerrorhookformprivate datajoiawsdeepwritelinuxenumerableprefixencryptionremovetypespreprocessorURLECMAScript 2017equalityecmascriptslicebatchdeterministicString.prototype.trimflagparsemkdirsfigletcolumnspromisedifferror-handlingbrowserslistdom-testing-libraryawesomesaucetddreadablestreamtrimhandlersponyfillwidthloadbalancingwhatwgbootstrap lesstesterxtermES2018cloudwatchargvcurl.envassertionfunctionsjQueryvalidationrm -rfdropTypedArraycloudsearchHyBidirectorysetstylingcharacterprivatewhichlivekeysdebuggerRxJSECMAScript 2016react-hook-formgenericswgetdescriptorartECMAScript 2019reduceiteratorES2015toSortedrm -frredactmiddlewareregexp

Readme

@juigorg/iure-exercitationem-sit Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without instanceof, and despite Symbol.toStringTag.

Example

var whichCollection = require('@juigorg/iure-exercitationem-sit');
var assert = require('assert');

assert.equal(false, whichCollection(undefined));
assert.equal(false, whichCollection(null));
assert.equal(false, whichCollection(false));
assert.equal(false, whichCollection(true));
assert.equal(false, whichCollection([]));
assert.equal(false, whichCollection({}));
assert.equal(false, whichCollection(/a/g));
assert.equal(false, whichCollection(new RegExp('a', 'g')));
assert.equal(false, whichCollection(new Date()));
assert.equal(false, whichCollection(42));
assert.equal(false, whichCollection(NaN));
assert.equal(false, whichCollection(Infinity));
assert.equal(false, whichCollection(new Number(42)));
assert.equal(false, whichCollection(42n));
assert.equal(false, whichCollection(Object(42n)));
assert.equal(false, whichCollection('foo'));
assert.equal(false, whichCollection(Object('foo')));
assert.equal(false, whichCollection(function () {}));
assert.equal(false, whichCollection(function* () {}));
assert.equal(false, whichCollection(x => x * x));
assert.equal(false, whichCollection([]));

assert.equal('Map', whichCollection(new Map()));
assert.equal('Set', whichCollection(new Set()));
assert.equal('WeakMap', whichCollection(new WeakMap()));
assert.equal('WeakSet', whichCollection(new WeakSet()));

Tests

Simply clone the repo, npm install, and run npm test