#package-json #stupid #updating #cli

app ncu-rs

A stupid simple and fast cli for updating your package.json dependencies

2 unstable releases

0.2.0 Aug 30, 2022
0.1.0 Jun 5, 2022

#16 in #updating

MIT license

14KB
246 lines

ncu-rs

A stupid simple and fast cli for updating your package.json dependencies.

Installation

$ cargo install ncu-rs

Usage

By default, points to the current directory package.json, but you can optionally specify a path.

$ ncu-rs -h
USAGE:
    ncu-rs [OPTIONS] [path]

ARGS:
    <path>    Optional path to package.json

OPTIONS:
    -h, --help       Print help information
    -u, --update     Enables updating of dep versions in package.json
    -V, --version    Print version information

A dry run:

$ ncu-rs ~/Documents/mycoolproject/package.json

A real run (will make changes to your package.json!):

$ ncu-rs -u ~/Documents/mycoolproject/package.json

Dependencies

~11–24MB
~364K SLoC