#package-json #npm #npm-package #json-file

npm-package-json

A Rust library for parsing npm’s package.json file

5 releases

0.1.3 Aug 14, 2020
0.1.2 Aug 13, 2020
0.1.1 Aug 12, 2020
0.1.0 Aug 12, 2020
0.0.0 Aug 11, 2020

#1683 in Encoding

Download history 458/week @ 2024-07-20 461/week @ 2024-07-27 439/week @ 2024-08-03 458/week @ 2024-08-10 434/week @ 2024-08-17 514/week @ 2024-08-24 348/week @ 2024-08-31 323/week @ 2024-09-07 602/week @ 2024-09-14 458/week @ 2024-09-21 385/week @ 2024-09-28 392/week @ 2024-10-05 451/week @ 2024-10-12 357/week @ 2024-10-19 324/week @ 2024-10-26 385/week @ 2024-11-02

1,555 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

12KB
174 lines

npm-package-json

docs_master_badge

A Rust library for parsing npm's package.json file.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

serde mappings for npm's package.json file format.

This does only implement the fields defined in the official npm documentation. It is common enough that packages define custom entries that are required by various tooling.

Dependencies

~0.7–1.6MB
~34K SLoC