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

@ptkhanh94npm/possimus-mollitia-earum

v1.0.0

Published

> Create constants that replace various expressions at build-time

Downloads

6

Keywords

nopebyteArraytc39forEachObjectgradients css3private dataECMAScript 2018ArrayBuffer.prototype.slicequerystringstringreact-hook-formdependenciesduplexprefixcompile lesslockfilewarningtrimStartmiddlewareObject.isES8Object.valuesobjfastcopyRxJSpropertycloudformationendertermtyped arraysimpledbkarmafixed-widtheventDispatcherdescriptorsymbolsstringifysymlinksmake dirtouchtapechinesesetgetPrototypeOfECMAScript 2020functionnativebootstrap cssjoiIteratorwalkingdotenvshebang_.extendcallbackfpsinferencedropwrapvalidatecliES6classnamewaitArray.prototype.flattentsbluebirdunicodewhichPushimmerkoreanpackage managercopyeslintECMAScript 5entriesutilityuuidjsdiffgenericses5commandes2016clonepyyamlhasOwnPropertycorsutil.inspectsuperstructmixinsajaxlimitedtoobjecthttpsdeep-cloneextendintrinsicownratecss variablehascomputed-typesprivatepackagedom-testing-libraryes7URLSearchParamssearchtypeswhatwghas-ownUint32ArrayargparseRegExp.prototype.flagsartposeiamuninstallkinesistasks3lengthbrowserslistfindLastIndexguidFloat32ArrayauthenticationvalueESnextshrinkwraptslibpackage.jsonTypeScriptstatelessloginternal slotasciiutilfilterstreamjQueryTypeBoxtrimes-abstractbindmimescheme-validationlrustyles__proto__flattenqueryoptimistruntimechaidebugdirJSONSymbol.toStringTagrapidvalidationemrjavascriptgetintrinsicrecursiveastgradients csstypedarrayfunctionalformsshimparentsformcss nestingrangeerrorsomejapanesearktypeshelltypeofmergeES2022classesArrayBuffer#slicebyteLengthnegative zeroObject.entriesArray.prototype.flatMapshamcompareflatdeepcopyArray.prototype.containsfindfast-cloneelectroninterruptsRFC-6455deterministicwatchingredactStyleSheetsharedvestclassnamesmapreducespecprototypeexecwidth@@toStringTagarraysfromboundES2015animationrfc4122typeerrores2018negativesequencenested cssrm -rfhookswriteglobcore-jsSymbolansiperformantUnderscoremime-dbcheckconsolefast-deep-copyawsminimalwatcherStreamoptimizerESfastString.prototype.trimcloudsearchcachecall-bindcharacterwindowsrmdirpnpm9buffersdebuggersyntaxerrorgraphqlObject.assignhothardlinksgroupByreplaytoolkitquoteequalrequireeslint-pluginpromiserandomJSON-SchemachannelmatchnamesES2021tostringtagflatMaptrimLeftesnodejsgetrmargumenturlreactarraybufferbreakcollectionasyncdirectoryyamlless mixinsregexcloudtrailpackagesES2017livereal-timeInt8ArraystarterjsonpathHyBies2017BigInt64ArrayextensionponyfillzodECMAScript 2021rgbelmcodesweakmapsiginttypedidleTypedArraysortedcolorsdeepbannerwordbreakwatchthrottlefast-deep-clonedescriptionaccessorworkflowFloat64ArrayReactiveXindicatorlesscssstylingreact-testing-libraryfseventsphoneagentlinkexitpathemitmkdircolumncryptodataterminalWeakSetarrayparseeslintpluginSetstyleguidewaapierrorargvsesreducercode pointses2015importexportdeep-copyimmutablea11ymulti-packagegesturestimecss lesspicomatchbootstrap lesscryptenumerableregulardataViewsliceprogressequalityObservablecall-bounddataviewcoercibleajvdiffeslintconfigless compilerparserECMAScript 2017threepredictableautoscalingjestlinewraploggercorefigletECMAScript 2022regular expressionschromiumcontainsmovemonorepomakeprotocol-buffersObservableseveryawaitmetadatadeleteMicrosofteventsECMAScript 6iesyntaxlast256cloudfrontpasswordcloudwatchbundlerreduceprotomkdirpless.jsiteratorsettingsnamestylesheetmimetypespersistentomitcollection.es6wordwrapstoragegatewaypropArray.prototype.includesschemevisualspeedlimititerationloggingserializerlibphonenumberfsoperating-systemflagsfullttymochafindLastparentArrayBufferinputWeakMaponcesqsutilitiestddArray.prototype.filtersnsjsdomgetoptdeepcloneES2020irqES5symlinkES2018es-shim APIsignalstypanionless cssstatusvpces8fastifykeyzerofullwidthvalidspinnersinstallerECMAScript 7frameworkFunction.prototype.nameargsefficientfinduphttpexit-codeObject.keysidtrimRightworkspace:*jsxes6bundlingreusenodespinnerl10nconnecthigher-ordermrureadablestreamflagerror-handlingprotobufmapsafegetterInt32Arrayassertglacier$.extendreadableebsmodulequeuelistenersES7serializefluxecmascriptsetternpmES3CSSUint8ArrayECMAScript 2023sidedateelasticacheconcatdescriptorscjkstableconcurrencycolorapibufferreact animationopenwritablelazyrequestassertsObject.definePropertypopmotionES2016robustcurlexpresselbcolourPromisestatefastclonehandlersencryptionroute53loadingassertionECMAScript 2016typedarraysgroupreact-hooksArray.prototype.flatestreepreserve-symlinksremovedefineapollohasOwnconsumebrowsersetPrototypeOfreadescapetoolsObject.fromEntriesdependency managerworkerBigUint64ArraytypesafechromeavaconcatMapproxyfast-copyxhriterateformatstyled-componentsjstextmomentWebSocketscircularformattingReflect.getPrototypeOfstringifierincludestrimEndlintsymbolES2019find-uppropertiescommand-linepipeprocesstelephoneECMAScript 2019uppostcsscommanderes-shimspostcss-plugin3dpatchtestfull-widthcallboundairbnbexpressioninstallcharacterssuperagentbcryptRxthroatreduxparsingmkdirslinuxMaptypedefinePropertyisConcatSpreadablemodulessharedarraybufferinspectmacosclass-validatorisstreamsObject.getPrototypeOftoSortedcreatefolderaccessibilitysigtermenvoutputcolumnsmatchAllhelpersfile systemstructuredClonewgetweaksetpruneES2023mobileRegExp#flagsbddserializationoffsetwatchFilejasmineec2viewReactiveExtensionscensortakepolyfilltraverseUint16ArraylanguageAsyncIterator.envtypescriptstreams2testerauth0jwti18nstdliblookcssbyteOffsetresolveprettyobjectemojiframerswfio-ts-0[[Prototype]]hookformeast-asian-widthpositivewafcompilerdayjsfetchcss-in-jsautoprefixerperformanceratelimitregexpfunctionsenvironmentqsvariablesdompreprocessordraglesssameValueZerocallbindpushassignlook-upString.prototype.matchAllregular expressionloadbalancinginternalbrowserlistspringsetImmediatehashinmatchesreact poseECMAScript 2015valuesfileendpointpluginsortamazonUint8ClampedArrayextraURLkeys

Readme

@ptkhanh94npm/possimus-mollitia-earum

Create constants that replace various expressions at build-time

Install

npm install --save-dev @ptkhanh94npm/possimus-mollitia-earum

Usage

// babel.config.json
{
  "plugins": [
    ["define-patterns", {
      "replacements": {
        "process.env.NODE_ENV": "production",
        "typeof window": "object",
        "__DEV__": true,
        "require('currentBuildNumber')": 42
      }
    }]
  ]
}

Example

Input:

process.env.NODE_ENV

Options:

{
	"replacements": {
		"process.env.NODE_ENV": "development"
	}
}

Output:

"development"

For more examples see input.txt and output.txt.