# ExYarn

This is a simple library for parsing [Yarn]( lockfiles. This is currently a mostly direct port of Yarn's [own parser](, so it's very imperative-like in many places. I do plan to improve this and make better use of Elixir and OTP's features and ecosystem in the future.

## Installation

The package can be installed by adding `ex_yarn` to your list of dependencies in `mix.exs`:

def deps do
    {:ex_yarn, "~> 0.3.0"}

## Documentation

Documentation is generated with [ExDoc]( and is published at [](

## TODOs

- [x] Write documentation.
- [ ] Wrap the parser's output in a struct to make actual usage of the library easier.
- [ ] Improve code quality (this will obviously be an ongoing goal, but credo should at least run without errors for this to be considered "completed").
- [ ] Consider using [NimbleParsec]( to replace the parser for better maintainability and performance.