#nodejs #package-manager #nof

app nof

NOF is an open-source tool written in Rust that allows users to search and execute Node.js scripts using fzf

12 releases (breaking)

0.9.0 Sep 9, 2023
0.8.0 Apr 22, 2023
0.7.0 Apr 15, 2023
0.5.0 Mar 27, 2023

#96 in Video

Download history 1/week @ 2023-11-02 13/week @ 2023-11-09 2/week @ 2023-11-16 13/week @ 2023-11-23 38/week @ 2023-11-30 1/week @ 2023-12-07 12/week @ 2023-12-14 25/week @ 2023-12-21 12/week @ 2024-01-04 12/week @ 2024-01-25 12/week @ 2024-02-01 25/week @ 2024-02-08 188/week @ 2024-02-15

237 downloads per month

Custom license

40KB
1K SLoC

nof

https://user-images.githubusercontent.com/44772513/225290466-70da1118-8aee-4177-8d87-65c2d39150db.mp4

You can use it no matter which package manager you use: Yarn, npm, or pnpm

Installation

To install nof, run the following command:

$ cargo install nof

Usage

To use nof, run the following command:

Usage: nof <COMMAND>

Commands:
  completion       Generates a script for completion
  run              Run node scripts [aliases: r, R, run-script]
  install          Installs all dependencies [aliases: i, I]
  add              Installs a package [aliases: a, A]
  remove           remove a package [aliases: rm]
  execute-command  Run a command from a local or remote npm package [aliases: e, exec, E]
  help             Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

This will launch fzf, which allows you to search for Node.js scripts. Once you've selected a script from the search results, it will be executed.

setup auto completion

# zsh
nof completion --shell=zsh > /usr/local/share/zsh/site-functions/_nof
# fizh
nof completion --shell=fish > ~/.config/fish/completions/nof.fish

Dependencies

~14MB
~255K SLoC