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

@devtea2025/suscipit-assumenda-a-assumenda

v1.0.0

Published

Downloads

7

Maintainers

tranvuchinh5538tranvuchinh5538

Keywords

descriptionreadablestreamincludescloudformationtypeseventDispatchergetoptqsECMAScript 2019stylesCSSStyleDeclarationmacositeratorstringifierchromeinternalhasOwnPropertyStyleSheetirqPusheslintconfigdynamodbBigInt64Arraysyntaxerrorutil.inspectcjkfullperformancepicomatchRegExp#flagsclassnameObject.isCSSUint8ClampedArrayparsingshrinkwrapfseventEmittermkdirschinesepyyamlglacierUint32ArrayES7flagtimefastifyequalityrm -frlinuxnumberES2019libphonenumberlookslicebyteLengthrecursivelogpropertiesentriesboundwatchingresolvetesterfastcopytyped arrayrandomieclass-validatorfast_.extendfromwordwrapmapreducefunctionslotcorsrmObject.fromEntriesflagsmonorepoparserargssignalscalldateoptionObject.keyscheckinstallerworkflowfullwidthreadbddcolumnsencryptionfile systemgenericsextensioncoreratelimitrouterexpressionforEachterminalstyleguidecharacterauthenticationglobalsauthhasOwnpositivefseventswatchFilegroupTypedArrayargumentsymlinkECMAScript 2023operating-systemconsumepushwritesetterWeakMapelbreusetostringtagiddefinenodejsgetPrototypeOfRFC-6455gradients cssphonefinduptypedarrayspackage.jsonsesformattingString.prototype.trimcallboundes-abstractnested cssStreamsregular expressionsstringifyFloat32Arrayspeedjoimimetypesinstalldeepcompile lessaccessorlinewrapnametoSortedhandlersECMAScript 2020TypeBoxconfigurablegroupBywordbreakyamlargvdescriptorskeyfindava0negativeArraydeleteglobmapes7sinatrajsdomsafeeslintstructuredClonemkdirphas-ownESnextshebangenvironment256objlockfilemergecss-in-jsdescriptoramazonajvlastfast-deep-copyiteratelintjsxvestelmES2021mime-dbprunescheme-validationtraversetypescriptclibindbcryptESrapidECMAScript 2018-0concurrencyObservabletapeECMAScript 2015errorintrinsicawaitworkspace:*makeES2022clientdependencieses2015rgbArrayBuffer.prototype.sliceworkervalueurlcachetextgraphqlbundlingdeepcopydayjsbundleromitthroatmkdirArray.prototype.findLastIndexstylesheetflatMapsigtermratevaluesbrowserslistserializationpostcssarrayesinInt16Arrayisreducerjsonthrottleshellebscommandergradients css3colorhttpszeroprivate dataform-validationfindLastIndexparseprefixaccessibilitytoolsemitlanguagetypeofglobalexit-codeInt32ArraycolumnvisuallrudatastructureshimjapanesesetPrototypeOfimmerliveargparsechannelstringwebES8openeslintpluginbatchdeep-copyl10ndomutilitiesenumerableajaxpropertymake dirtelephoneSymbol.toStringTagefficientawesomesaucebrowserArrayBufferrm -rfasyncpredictableautoprefixerdefinePropertysimpledbsnspasswordvarsArray.prototype.flatES2016regular expressionescapestyleObject.getPrototypeOfprocesspipereact-hooksmatchessequenceinferencefunctionscolourgetintrinsicreduxstatusReactiveExtensionsexites2017asciihookslinkduplexsortjavascriptconnectstatepromisesReflect.getPrototypeOfInt8Arraybluebirdstreameslint-pluginECMAScript 6functionalECMAScript 2016autoscalingObject.definePropertyuninstallreduceprotoinspectimportexportcss nestingsearchassertscodesdirsidecall-bindloadbalancingqueueES6polyfillutilityastIteratorwaitsymlinksiterationnativenegative zeroupmochachromiumfast-copyconsolenameshasapolloquoteisConcatSpreadablewhichnodekinesislimitstarterYAMLrestfulschemanopedataoffsetshamcloudwatchstylingjssometestenvironmentspackagepostcss-plugincloudfrontcoerciblerfc4122emojiappmulti-packageconfigSetsettingsreplaysymbolsproxyutilcss variableelasticacheparentsconcatspinnersspecless.jsmoduletestingreact-hook-formkeysregexpdataviewprivateObject.valuesArrayBuffer#sliceSymbolmimeawsAsyncIteratorjasmineeventsArray.prototype.flattendifftypeenvlengthindicatoridentifiersmixinscss lessairbnbsetdotenves6es2018ES2020schemeredux-toolkitquerystringcomparesignales8computed-typesfolders3curlStreamECMAScript 2017ObjectprettyjQueryfilterwafbyteOffsetformswfArray.prototype.filterttyprogressfastclonejestpathObject.entriesequalcallbackECMAScript 5ES2017wraprestES2015typesafebufferstypanionUint16ArrayrequireECMAScript 2022bannerWeakSetnpmvalidationBigUint64Arrayreadablepackageshigher-orderes2016flatkarmaRxJSwatchertoolkittrimLeftvalidatetrimRighttermcore-jsmodulestrimStartexpressidleobjectsymbolrangeerrorloggerdeterministicassigncircularcall-boundmovehardlinkszodfast-cloneguidcollection.es6walkwhatwgtoobjectmobileec2callbindkoreanclassnamesTypeScriptdeep-clonecryptECMAScript 7filestableclassestslibECMAScript 3hookformfluxmetadatapackage managerArray.prototype.includesvpcdropes-shimsUnderscoretypedarrayoptimizerweaksetelectronECMAScript 2021Uint8ArraycolorswidtheveryObservablescommand-lineplugincreatesortedtouchWebSocketlook-upartsharedarraybuffermomentlessRxsuperagentpromiseString.prototype.matchAllarraybufferMappnpm9ES2023invariantbootstrap cssMicrosoftansiextrasyntax$.extendArray.prototype.flatMapstreams2variablesviewtypedFloat64Arrayponyfilles-shim APIReactiveXfast-deep-clonedataViewregexa11yapisetImmediateloggingfindLastminimalio-tswritableprotocol-buffersbrowserlistclonecompilerquerycensoragentunicodearktypegetspinnerwindowserror-handlingtsObject.assignbreakconcatMappreprocessorbytecode pointsHyBiparentstreamsbeanstalkmatchAll

Readme

@devtea2025/suscipit-assumenda-a-assumenda

npm npm

This plugin overrides no-unused-expressions to make it friendly towards chai expect and should statements.

// this
expect(foo).to.be.true;
foo.should.be.true;

// instead of this
expect(foo).to.be.true; // eslint-disable-line no-unused-expressions
foo.should.be.true; // eslint-disable-line no-unused-expressions

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @devtea2025/suscipit-assumenda-a-assumenda:

npm install @devtea2025/suscipit-assumenda-a-assumenda --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install @devtea2025/suscipit-assumenda-a-assumenda globally.

Usage

Add chai-friendly to the plugins section of your .eslintrc.* configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "chai-friendly"
    ]
}

Then disable original no-unused-expressions rule and configure chai-friendly replacement under the rules section.

{
    "rules": {
        "no-unused-expressions": 0,
        "chai-friendly/no-unused-expressions": 2
    }
}

If you don't need to tweak the above rule settings, you can instead just add the following to your config file's extends and the above will be applied automatically:

{
  "extends": ["plugin:chai-friendly/recommended"]
}

Options

This rule, in its default state, does not require any arguments. If you would like to enable one or more of the following you may pass an object with the options set as follows:

  • allowShortCircuit set to true will allow you to use short circuit evaluations in your expressions (Default: false).
  • allowTernary set to true will enable you to use ternary operators in your expressions similarly to short circuit evaluations (Default: false).
  • allowTaggedTemplates set to true will enable you to use tagged template literals in your expressions (Default: false).
  • enforceForJSX set to true will flag unused JSX element expressions (Default: false).

These options allow unused expressions only if all of the code paths either directly change the state (for example, assignment statement) or could have side effects (for example, function call).

More info in the original rule's docs.

Supported Rules

  • chai-friendly/no-unused-expressions