use-package-json
package.json metadata primitives for RustUse.
Experimental
use-package-json is experimental while use-js remains below 0.3.0.
Example
use ;
let manifest = new
.with_name
.with_version
.with_package_type
.with_script
.with_dependency;
assert!;
# Ok::
Scope
- Lightweight package names, versions, scripts, dependency maps, and package type metadata.
- Optional serde derives behind the
serdefeature.
Non-goals
- Full npm registry validation.
- JSON parsing or formatting.
- Registry API behavior.
License
Licensed under either Apache-2.0 or MIT.