npm-utils 0.5.0

Pure-Rust utilities for the npm registry: resolve a package version, download npm tarballs and GitHub archives, and extract files.
Documentation
1
2
3
4
5
6
7
//! `cargo npm-utils <verb>` — the cargo-subcommand form of the `npm-utils` CLI. Cargo finds this
//! binary by the `cargo-<name>` convention; it re-passes the subcommand name, which the shared
//! entry point strips. Requires the `cli` feature.

fn main() -> std::process::ExitCode {
    npm_utils::cli::run_as_cargo_subcommand(std::env::args_os())
}