New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

scriptpal

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scriptpal

A simple npm script palette for lazy people (like me)

latest
Source
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

Script Palette

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
  • bookmarks

Demo

Install ⬇️

Install globally

npm install -g scriptpal

Usage 🏁

scriptpal

Usage with npx

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 🙏
  • list, ls List local npm scripts from package.json
  • bookmark add <name> <command...> Add a bookmark
  • bookmark edit <name> <command...> Edit a bookmark
  • bookmark remove <name>, bookmark rm <name> Remove a bookmark
  • bookmark list, bookmark ls List bookmarks
  • bookmark run <name> [name=value ...] Run a bookmark and resolve wildcards
  • bookmark Open a fuzzy-findable bookmark picker and run selection

Running Arbitrary Scripts

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.

list / ls

list List all scripts found in local package.json.

bookmark

Store reusable command bookmarks globally.

Wildcards use ${name} syntax and are resolved when running bookmarks. If a required wildcard is not provided, ScriptPal prompts for it.

Examples

  • $ scriptpal => Shows a prompt containing a list of npm scripts from the closest package.json.
  • $ scriptpal --last => Runs the previous command
  • $ scriptpal list / $ scriptpal ls => Prints all npm scripts from the closest package.json.
  • $ scriptpal start => Runs npm run start. Can be used with other scripts as well.
  • $ scriptpal bookmark add testpkg "yarn test src/packages/${package}" => Saves a bookmark.
  • $ scriptpal bookmark run testpkg package=ui-button => Runs yarn test src/packages/ui-button.
  • $ scriptpal bookmark ls => Lists bookmarks.
  • $ scriptpal bookmark => Opens fuzzy picker for saved bookmarks and runs selected one.

You might also like...

  • CommitPal: A delightful CLI tool for building complex commit messages
  • Enquirer: Stylish, intuitive and user-friendly prompts

Keywords

list

FAQs

Package last updated on 05 Apr 2026

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