You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

qwas

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qwas

a useless cli script to print info about packages.json

0.0.2
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

qwas

a useless cli script to print info about packages.json

npm i -g qwas

Examples

if you have a scripts section in the package.json like this:

"scripts": {
    "debug": "npm run dev",
    "stuff:things": "npx do thing",
    "deploy:prod": "node somescript.js"
},

List

qwas -l 
// or
qwas --list

will print

------------
[0]: debug
         command: npm run dev

         npm run debug

[1]: stuff:things
         command: npx do thing

         npm run stuff:things

[2]: deploy:prod
         command: node somescript.js

         npm run deploy:prod
qwas -s depl
// or
qwas --search dploy

will print

------------
[2]: deploy:prod
         command: node somescript.js

         npm run deploy:prod

Select by Index

qwas 1

will print

        npx do thing

npm run stuff:things

so you can copy paste it.

Keywords

package.json

FAQs

Package last updated on 01 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts