4 releases

Uses old Rust 2015

0.2.0 May 31, 2018
0.1.2 Feb 27, 2018
0.1.1 Feb 27, 2018
0.1.0 Feb 27, 2018

#66 in #npm

Apache-2.0

11KB
70 lines

npmrc

crates.io version build status downloads docs.rs docs

Read and parse .npmrc files.

Installation

$ cargo add npmrc

License

Apache-2.0


lib.rs:

Read out npm's .npmrc file, and serialize it to a struct.

Usage

extern crate npmrc;
let npmrc_values = npmrc::read().unwrap();
println!("{:?}", npmrc_values);

Dependencies

~0.5–1MB
~24K SLoC