#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

#1950 in Encoding

Download history 613/week @ 2024-04-06 515/week @ 2024-04-13 507/week @ 2024-04-20 520/week @ 2024-04-27 761/week @ 2024-05-04 458/week @ 2024-05-11 487/week @ 2024-05-18 376/week @ 2024-05-25 353/week @ 2024-06-01 329/week @ 2024-06-08 407/week @ 2024-06-15 311/week @ 2024-06-22 314/week @ 2024-06-29 358/week @ 2024-07-06 483/week @ 2024-07-13 451/week @ 2024-07-20

1,640 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.8–1.7MB
~36K SLoC