Quickly run npm scripts by prefix without typing the full name, using aliases like 'nr t' for 'npm run test'.
npm-quick-run is a command-line utility that allows developers to execute npm scripts using short prefixes instead of typing the full script name. It solves the problem of repetitive typing in projects with many npm scripts by enabling commands like 'nr t' to run 'npm run test'. The tool supports interactive mode, multi-word scripts, and argument passing for flexible usage.
Node.js developers and teams who frequently run npm scripts during development, testing, or build processes and want to reduce typing overhead.
Developers choose npm-quick-run for its simplicity and time-saving benefits—it requires minimal setup, works cross-platform, and integrates seamlessly into existing npm workflows without configuration changes.
Quickly run NPM script by prefix without typing the full name
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows running scripts with minimal keystrokes—e.g., 'nr t' for 'test'—reducing typing overhead, as demonstrated in the README examples for common workflows.
The '-i' flag provides a menu when multiple scripts match, preventing errors and improving usability, shown in the animated GIF in the README.
Implemented in JavaScript, not shell-specific, ensuring it works on any platform, unlike similar tools like nrun that rely on shell scripts, as noted in the README.
Supports scripts with colons or hyphens by matching each word's prefix, e.g., 'nr c-r' for 'cypress:run', making complex script names manageable without full typing.
In projects with many similarly prefixed scripts, users must type longer prefixes or use interactive mode, which can negate the time-saving benefits and lead to frustration.
Must be installed globally via 'npm install -g', which can be a barrier in environments with restricted permissions or when preferring local tool management per project.
Only works with npm scripts, so it doesn't assist with other CLI tasks or non-npm workflows, restricting its utility in mixed tooling environments.