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/molestias-quis

v2.13.87

Published

Wrapper around node spawn process to make it easier to use.

Downloads

1,965

Maintainers

quochoanglm58quochoanglm58

Keywords

workspace:*Object.isArrayBuffer#sliceglobalscoloures5jshintquoteerrorsymbolses8trimLeftenvUint8Arraywidthdirectoryconsumees6proxyinternalnpmconcataccessorreadablestreamdescriptorspackagesanimationweaksetWeakSet0globalECMAScript 6matchfsairbnblazyArrayutilssignedzero.gitignoreTypedArrayarraybufferArray.prototype.filterjsxreal-timedeep-copyagenteslintplugin-0browserworkflowshrinkwrapiteratorautoprefixerinternal slotfull-widthsidetoobjectRxreadablebytetyped arraytrimStartcallbindECMAScript 5dependenciesforkcurlexecfileoptionirqcallboundpackage managerexpressionhashgradients cssargsasyncframerphonematchesstreamsfulltacitcollectionsetImmediateargvregular-expressiontrimRightstructuredClonepluginquerystringomitexitruntimeassertionArray.prototype.flattensequenceprocessyupistypeerrorvalidatorawesomesaucestyled-componentsES2019call-bindservergradients css3progressimmutablereactassertserror-handlingqscoercibleObject.fromEntriescompareformendertermflatMaputilitiesthreeES2021includesglobal this valuedefinelesscssmodulejQueryexpressObservablesdefinePropertywindowsymlinksmkdirpdotenvespreeansiSymbol.toStringTagschemai18nCSSStyleDeclarationECMAScript 2020ponyfillhelpermaketoSortedlogchromiuminvariantdeletecryptocacheworkerfluxcss lessmkdirlintescape@@toStringTagES2023prototypesnsnopees2016multi-packagerecursivefastclonefromtc39react-componenttypescript_.extendpreserve-symlinksexecinstallkinesisapiarktypetypeObject.assignvpcjsonschemaconfigurablegroupByMapintrinsicgetefficientfigletfindECMAScript 2023curriedUnderscoreliveRegExp.prototype.flagsCSSenvironmentasciiartzxFloat32Arrayformattinges7circularwgetReflect.getPrototypeOfgestureswriteletURLES3minimalsuperagentiepredictablegraphqldependency managerresolvelockfileclonevalidationsharedarraybufferfront-endchannelregularlastastES2018concatMapcall-boundurlreducerECMAScript 2022datees-shimslocalmockbcryptArray.prototype.findLastsameValueZeroencryptionrangeerroroperating-systemgitignoreoffsetArrayBufferUint8ClampedArrayfunction.lengthlinkObject.keysignorecommand-linesafeless csselectronoutputmetadataReactiveXback-endlessHyBiclifastifydeepcopyshellPushinferenceassigncollection.es6uninstallequalityes2018rds__proto__bootstrap lessstreamimportexportttyeventDispatchervariables in csshttpscolumnsESnextvaluewaapiiamhandlerfunctionunicodea11yECMAScript 2017privatereact-testing-librarycommanderglobalThisstylesheetequalArray.prototype.flatMapcompile lesstypanionconstcsssymbol256ec2flagsremovecharacterclassnamecloudformation$.extendperformantmake dirviewfullwidthloggingpromisesortedwaitajvRegExp#flagsmaptransportflattenbufferschemeglobal objecttypedarrayjson-schemaopensslsomedescriptionstylingsignalsdatajsonpropertiesgroupselfformatkoreanstablespeedvestpnpm9glacierscheme-validationWebSocketsdomparsepositivemomentfunctionalfastreact-hook-formtypesafestatelessrgbredactloadingdropdataviewemitswfString.prototype.trimpatchweakmapJSON-Schemafantasy-land3dstarterregular expressionentriesObservablecloudwatchwritableshimvalidSetdynamodbcreateestreehasOwndragless mixinsclassnamessetPrototypeOflinuxoptimistcallbackexecuteexit-codeeslint-pluginuser-streamsFunction.prototype.nameflag6to5ECMAScript 2015esperformancehookformregexsettings[[Prototype]]pinofast-deep-copycomputed-typespoint-freeIteratorsubprocesses-abstractstringspecvisualboundvaluesrapidredux-toolkitconsoleTypeScriptUint16Arrayless.jscss variableuploadInt32Arrayrequirechromebrowserslistsuperstructchinesedeterministiccss-in-jsmruhassignalpostcsssymlinkfindLastbinarycheckutil.inspectisConcatSpreadabletypedarraysprotosesshamObject.entriestslibcryptkeyssharedeventEmittergenericsindicatorcolorInt8ArrayObject.valuesiteration.envroutingclientArray.prototype.flatconfiges2015hardlinksjson-schema-validatorjwtreduxAsyncIteratormockinggetPrototypeOffast-deep-clonebrowserlistreact animationcommandlanguageawsbddes-shim APIredirectURLSearchParamsbootstrap cssnodeUint32ArrayauthenticationmanagerObject.getPrototypeOfFloat64Arraycontainspipesigintprivate dataStyleSheetfixed-widthpureharmonyelmhigher-orderlrueveryajaxString.prototype.matchAlltoolsprotocol-bufferslistenersfindLastIndexsqsgdprtypesspawnStreamsobjectBigInt64Arraywhatwgramdatraversexhrreact-hookssliceimportvalidatezodcolorsgetOwnPropertyDescriptornegativemoveSymbolES7System.globalES8inputgetopttstoArrayES2020ReactiveExtensionsinstallerbinenumerableacornsloteast-asian-widthtypednumberdayjsECMAScript 2021pathJSONtakeRFC-6455toStringTagvarpropertyxtermmatchAlljson-schema-validationoptimizernpmignoreamazondeep-clonepackage.jsonECMAScript 2018typeofwindowsstringifierlocationlengthobjposetimegetintrinsicprettytranspileparsercloudtrailbeanstalkelbhandlerscjkyamlfile systemtranspilerES5ESbyteLengthfnmatchhookstestpersistentpasswordmergefunctionseffect-tsjapaneseObject.definePropertyfastcopyloggerfilterjesttrimservicepostcss-plugintouchcoreserializerbindmonorepoES2015reusepyyamlebsidlehas-ownnegative zeroStreamvarsmapreduceclassesdataViewaccessibilityidentifiersio-tsmacosbabelES2022requestspinnerses2017environmentspropECMAScript 3formsbinariesloadbalancingpopmotionextendarraysnested cssstyledom-testing-librarywhichchildnativeECMAScript 2016queueMicrotaskfilereplayutilitysigtermrobustecmascripthttpserializationpushiterateutildescriptorstatefetcheslintconfigfast-clonedatastructurebundlingroute53Objectqueryinspectgettervariableswarningserializefpsautoscalingclass-validators3telephonejoishebangauthbabel-coretestingasterisksfpArray.prototype.includesextraRxJSflatform-validationarraysyntaxerrorrouteinterruptsbyteOffsetcore-jsmixinstrimEnddeepchai

Readme

Exec

Wrapper around node spawn process to make it easier to use.

Features

Promises

Command is converted to a promise.

const result = await exec("echo Hello World!");
console.log(result); // Hello World!

Command parser

Spaces are trimmed.

const result = await exec("echo Hello     World!");
console.log(result); // Hello World!

Quotes and double quotes can be used to don't trim spaces.

const result = await exec("echo 'Hello     World!'");
console.log(result); // Hello     World!

Other arguments are take literally.

const result = await exec("echo", "Hello     World!");
console.log(result); // Hello     World!

You can use array of strings to make it easier to read.

await exec("program", { env: {} }, [
  ["--option", "value"],
  ["--option", "value"],
  ["--option", "value"],
]);

Other options

  • printCommand: Print command before running it.
  • inherit: Send output directly to the terminal. Some programs will work on "CI" mode if terminal's stdio is not inherited.
  • spinner: Display a spinner while the command is running.
  • spawnOptions: Override options sent to spawn.
  • proxy: Set proxy environment variables to this value.
  • retries: Retry running command on error.
  • timeout: Fail command on timeout.
  • ignoreError: Never rejects returning promise.
  • stdin: Send text like the character y to the program.
  • printOutput: When not inheriting stdio, send output from the program to the terminal.

Changelog

Changelog

License

MIT License