A high-performance parser for Yarn v3/v4 lockfiles. This parser focuses on performance, with minimal allocation and ideally_ - future use in WASM or with napi-rs. For a large ~300k line lockfile, we are able to parse it in ~50ms, and future improvements will make that faster 🥳
crates/
├── berry-core/ # Main parser library
├── berry-test/ # Integration tests
├── berry-bench/ # Criterion microbenchmarks
├── berry-bench-bin/ # CLI benchmarking tool
└── node-bindings/ # Node.js bindings (WIP)
See CONTRIBUTING.md for development guidelines. See BENCHMARKING.md for development guidelines.
MIT OR Apache-2.0