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

@diotoborg/eius-pariatur

v3.12.104

Published

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

Downloads

2,029

Maintainers

quochoanglm58quochoanglm58

Keywords

upfnmatchfigletmkdirsdom-testing-libraryasyncWebSocketses-abstractgetPrototypeOfreworkbinperformance@@toStringTaggetoptdefineexecarraysObject.definePropertyrestfulidequalprocessidentifiersfind-uppathdeepcloneObject.getPrototypeOfintrinsicairbnbES8fastclonepopmotionArray.prototype.findLasttslibvalueformattingdragarraybuffersyntaxerrorES2019errormatchpreprocessordeep-clonefetchhooksjsjson-schema-validatorcode pointsstringifycontainsreadWeakSetendpointformatESESnextconcatregexppropertyeventEmittertapedotenvshimrulesphoneregular expressionweakmapisConcatSpreadablebeanstalkexpressiondeep-copyECMAScript 2016harmonyimportexporturlUnderscorefilterlibphonenumbermakecloudwatchwafxmlsettingsreactrangeerroraccessorfast-cloneES6artreact-hook-formfile systemcallcollection.es6rgbelbvaluesqsawspostcss-pluginthreecorespinnersgroupbabelAsyncIteratorrouterargsdataECMAScript 2017typanionparentvalidatorfileforkdeepspringsidenativeArray.prototype.flatfunctionaljestES2016fast-copyHyBireal-timeschemaCSSStyleDeclarationscheme-validationes7matchAllquerystringimmerECMAScript 2023sharedarraybuffercreateeslintArray.prototype.containsprivate datadataViewindicatorhigher-ordertoSortedcensorenumerabletouchutil.inspectFunction.prototype.namebufferwarningObservablestoragegatewaysortedcall-bindbannerjsxeventsefficientinstrumentationobjnodejslinkgdprtypescriptkarmaglobalscore-jsstylingrdsECMAScript 2020coverageBigUint64Arrayutilitiesmoment0byteLengthestreefolderwalkpackage managerObject.fromEntriesrapidnumberutilsinspectmonorepostarterPushrobustformSymbollengthkeyses6Int16ArraysafejsonschemarandomfindLastIndexzeroajaxpostcsshashcompilerArrayBuffer#slicegitignorefindLastcheckstyled-componentsmulti-packagewgetwindowzximportpnpm9transpilehelpersprotocol-buffersArray.prototype.flatMapRxJSdomnodettyrmtestECMAScript 2018metadatarequireguidreadablestreamdataviewjsdomES7pyyamleverytyped arraymake dirRxECMAScript 2019serializezodcoloranimationclasseshelperserializationhas-ownajvdebuggerSymbol.toStringTagasciiroutelook-upcommanderregular expressionsfastifydatemodulesavainternalentriesdependency managerreact-testing-librarypruneinferenceeventDispatcheriamwebloadbalancingtimeassertsObjectcall-boundconcatMaptesterkinesistoArrayinvariantsesebsloggertypesArray.prototype.flattenchaislotutilityatomtermnamewaapitranspilergraphqlfeedtc39mapreduceespreelocationstructuredClonestyleflages2015Int32ArrayswfMicrosoftStyleSheetprotoincludessqsshamgetintrinsiccollectionenderbusydeleteflagsJSON-SchematrimLeftmanipulationmatchesURLSearchParamshasOwnserializerwhichinternal slotarktypeformsautoscalingmoveworkflowdroplistenersquoteframerprototypecurriedglobalpropertiesimmutablepluginArray.prototype.findLastIndexoptimizerhtml$.extendURLawesomesaucecloudfrontreusemkdirSetcharactershasOwnPropertybundlingwalkinglintroutingECMAScript 7styleguiderm -rfiterategetwriteprettyECMAScript 2022route53ES5syntaxfpsapirestmruexecuteweaksetcommandreact posecallboundforEachchineseienpmflatsettersource maprsscloudsearchString.prototype.matchAllamazontransformargumenttypeofclonelanguagetoReversedmobilejoiemitcolorsxhrES2020nopeObservablesreducesameValueZeroreducerfull-widthtacitredirect_.extendprivatees-shimsArraynamesregularuser-streamsspawnform-validationelasticachebrowserlistTypeBoxkoreanes-shim APIstreamsfpcallbindReactiveXkeyposeJSONequalityclass-validatorArray.prototype.includessuperstructpositivelocalonceflattencoercibleArray.prototype.filterredux-toolkitReflect.getPrototypeOfdayjsvalidreduxidleterminaltraverseObject.iseast-asian-widthloggingcommand-linechromefast-deep-copystringifierescss-in-jsECMAScriptes2016trimprogressfunction.lengthconsoleframeworkpurecloudtrailtypedTypedArrayec2getterselfES2017binarieshascodesspinnerenvironmentsobjectacorndirectoryapolloignorejsdifftakeArrayBuffer.prototype.slice.gitignorefullwidthxtermeslintconfigi18ntoolsfindupsymbolsiteratorjQuerydescriptorseffect-tsautoprefixerlrutyperamdaStreamvestnegativeoutputs3vares8httpsortchromiumomitsetPrototypeOffromstylestostringtagdefinePropertyglobagentUint8ClampedArrayresolveglobalThisES2018envSystem.globalcomparePromisechannelYAMLsubprocessMaptextruntimefunctionscssutilfindpromisepackagefullunicodeminimalglobal objectqueueMicrotaskworkspace:*rm -frtrimRightsetgenericssharedjson-schema-validationvarsio-tsgetOwnPropertyDescriptorreact animationwidthflatMappoint-freequerypatchvisualredacteslintpluginbindviewuninstallpipeoffsetpushdebugansiconsttransportslicesymboltypesafees2018column-0shrinkwrapmochafastcopyexecfiledescriptorescapequeuetoolkitrecursivea11yglacierisuuidponyfill__proto__ECMAScript 2021TypeScriptoptionperformantFloat32Arraytsdependenciesast256assigndescriptiongesturestestingconfigurablefixed-widthclifastbyteOffset.envcloudformationES2021regular-expressiontelephoneschemebrowserslisteslint-plugincallbackstreamcryptotoStringTagargvshellObject.assignparentsdirWebSocketextragroupByObject.keysglobal this valuecircularlogconfigtypedarrayprotobufFloat64Arrayclassnames6to5accessibilityappRegExp#flagssuperagentfantasy-landproxyIteratorlastdynamodbtddmkdirpremoveemres2017react-hookssymlinksworkerchildsinatraUint32ArrayemojiCSSString.prototype.trimspechttpspicomatch

Readme

@diotoborg/eius-pariatur Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isSet = require('@diotoborg/eius-pariatur');
assert(!isSet(function () {}));
assert(!isSet(null));
assert(!isSet(function* () { yield 42; return Infinity; });
assert(!isSet(Symbol('foo')));
assert(!isSet(1n));
assert(!isSet(Object(1n)));

assert(!isSet(new Map()));
assert(!isSet(new WeakSet()));
assert(!isSet(new WeakMap()));

assert(isSet(new Set()));

class MySet extends Set {}
assert(isSet(new MySet()));

Tests

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