Crates.io | nof |
lib.rs | nof |
version | 0.9.0 |
source | src |
created_at | 2023-03-15 11:21:28.220994 |
updated_at | 2023-09-09 03:20:14.203939 |
description | NOF is an open-source tool written in Rust that allows users to search and execute Node.js scripts using fzf |
homepage | https://github.com/mochi-sann/nof |
repository | https://github.com/mochi-sann/nof |
max_upload_size | |
id | 810628 |
size | 72,137 |
You can use it no matter which package manager you use: Yarn, npm, or pnpm
To install nof, run the following command:
$ cargo install nof
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.
# zsh
nof completion --shell=zsh > /usr/local/share/zsh/site-functions/_nof
# fizh
nof completion --shell=fish > ~/.config/fish/completions/nof.fish