Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. npm scripts
  3. npm-quick-run

npm-quick-run

JavaScriptv1.18.0

Quickly run npm scripts by prefix without typing the full name, using aliases like 'nr t' for 'npm run test'.

GitHubGitHub
147 stars11 forks0 contributors

What is npm-quick-run?

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.

Target Audience

Node.js developers and teams who frequently run npm scripts during development, testing, or build processes and want to reduce typing overhead.

Value Proposition

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.

Overview

Quickly run NPM script by prefix without typing the full name

Use Cases

Best For

  • Running npm scripts with minimal typing in large projects
  • Quickly executing test or lint scripts during development
  • Managing projects with many hyphenated or namespaced npm scripts
  • Improving command-line efficiency for frequent npm script users
  • Reducing keystrokes in continuous integration or local development workflows
  • Interactive script selection when multiple scripts share prefixes

Not Ideal For

  • Projects with only a handful of npm scripts where full names are trivial to type
  • Developers who rely on advanced shell-specific autocompletion (e.g., zsh or bash completions) they've already customized
  • Environments where global npm package installations are restricted or discouraged due to security policies

Pros & Cons

Pros

Prefix Matching Efficiency

Allows running scripts with minimal keystrokes—e.g., 'nr t' for 'test'—reducing typing overhead, as demonstrated in the README examples for common workflows.

Interactive Script Selection

The '-i' flag provides a menu when multiple scripts match, preventing errors and improving usability, shown in the animated GIF in the README.

Cross-Platform Compatibility

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.

Multi-Word Script Handling

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.

Cons

Prefix Ambiguity Risks

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.

Global Installation Requirement

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.

Limited to NPM Scripts

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.

Frequently Asked Questions

Quick Stats

Stars147
Forks11
Contributors0
Open Issues3
Last commit4 years ago
CreatedSince 2015

Tags

#quick#npm#workflow-automation#cli-tool#developer-productivity#npm-scripts#nodejs#cli#package-management#utility#command-line

Built With

N
Node.js

Included in

npm scripts742
Auto-fetched 19 hours ago

Related Projects

ntlntl

Node Task List: Interactive cli to list and run package.json scripts

Stars962
Forks39
Last commit2 years ago
ForrestForrest

An npm scripts desktop client

Stars339
Forks33
Last commit7 years ago
run-npmrun-npm

Run locally-installed node module executables.

Stars187
Forks20
Last commit7 years ago
screwyscrewy

The npm scripts GUI

Stars113
Forks5
Last commit7 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub