https://github.com/danieldelcore/scriptpal
A simple npm script palette for lazy people
https://github.com/danieldelcore/scriptpal
Last synced: 10 months ago
JSON representation
A simple npm script palette for lazy people
- Host: GitHub
- URL: https://github.com/danieldelcore/scriptpal
- Owner: danieldelcore
- Created: 2019-12-21T07:50:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T04:36:24.000Z (11 months ago)
- Last Synced: 2025-03-14T03:06:56.325Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.77 MB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ScriptPal 🤘
A simple npm script palette for lazy people who want a quick way to look through and pick npm scripts!
- keyboard navigation
- autocompletion
- fuzzy finding
## Install ⬇️
Install globally
```bash
npm install -g scriptpal
```
## Usage 🏁
```bash
scriptpal
```
Usage with npx
```bash
npx scriptpal
```
## API 🤖
- `--nowelcome`, `-n` Omit welcome message
- `--last`, `-l` Run previous command
- `--version`, `-v` Version number
- `--clipboard`, `-c` Copy command to clipboard
- `--help` Help me 🙏
### Subcommands
`list` List all scripts found in local `package.json`.
It's possible to also run arbitrary scripts from your `package.json` by passing them as sub-commands, similar to `yarn`.
For example: `scriptpal test` will run `npm run test`.
## Examples
- `$ scriptpal --nowelcome`
- `$ npx scriptpal`
- `$ scriptpal --last --preset="emoji"`
- `$ scriptpal list`
- `$ scriptpal start`
## You might also like...
- [CommitPal](https://github.com/zeropoly/commitpal): A delightful CLI tool for building complex commit messages
- [Enquirer](https://github.com/enquirer/enquirer): Stylish, intuitive and user-friendly prompts