Skip to content

spanishpear/berry-rs

Repository files navigation

Berry - High-Performance Yarn Lockfile Parser

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 🥳

Layout

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.

License

MIT OR Apache-2.0

About

Experimental rust parser for yarn berry lockfiles

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages