yarn-lock-parser
A fast and reliable parser for yarn.lock files written in Rust. Supports all yarn.lock versions (v1, v2, and later). Parse lock files into structured data for dependency analysis, validation, and programmatic access.
Features
- ✅ Supports all yarn.lock versions (v1, v2, and later)
- ✅ Fast and memory-efficient parsing using nom
- ✅ Comprehensive error handling with
thiserror - ✅ Zero-copy where possible
- ✅ Pure Rust implementation
Installation
Add this to your Cargo.toml:
[]
= "0.13"
Quick Start
use ;
use ;
Documentation
API documentation is available on docs.rs
Development
Requirements
- Rust (with
cargo)
Build
Test
Running Tests Verbosely
License
MIT