Skip to content

A CLI tool that lets you browse and execute npm, pnpm, yarn, or bun scripts from a local project.

Notifications You must be signed in to change notification settings

mohammedyh/np-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

np-run

A CLI tool that lets you browse and execute npm, pnpm, yarn, or bun scripts from a local project.

np-run-demo.mp4

Todo

  • Check for package.json in current directory / project
  • Read file and parse key and values in scripts object in package.json
  • Print scripts to stdout as a list - use BubbleTea
  • Detect the package manager - using the lockfile?
  • When enter is pressed for a chosen script, that script is run
  • Look at how to properly structure a Go program

Nice-To-Have Features

  • Install dependencies if node_modules isn't found
    • Show spinner or progress bar while dependencies are installing
  • Print something if multiple lockfiles are found

About

A CLI tool that lets you browse and execute npm, pnpm, yarn, or bun scripts from a local project.

Topics

Resources

Stars

Watchers

Forks

Languages