#npm-package #package-json #json-file #parser #serde #entries #define

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

#1180 in Encoding

Download history 178/week @ 2023-12-04 303/week @ 2023-12-11 256/week @ 2023-12-18 220/week @ 2023-12-25 283/week @ 2024-01-01 317/week @ 2024-01-08 329/week @ 2024-01-15 337/week @ 2024-01-22 220/week @ 2024-01-29 460/week @ 2024-02-05 313/week @ 2024-02-12 354/week @ 2024-02-19 430/week @ 2024-02-26 403/week @ 2024-03-04 755/week @ 2024-03-11 607/week @ 2024-03-18

2,243 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.6–1.4MB
~32K SLoC