An open API service indexing awesome lists of open source software.

https://github.com/hellojukay/yarn-lock

parse yarn lock file
https://github.com/hellojukay/yarn-lock

Last synced: about 1 year ago
JSON representation

parse yarn lock file

Awesome Lists containing this project

README

          

# yarn-lock
parse yarn lock file

```bash
go get github.com/hellojukay/yarn-lock
```

### example

```golang
lock, err := lock.FromFile("./yarn.lock")
if err != nil {
panic(err)
}
components := lock.Component()
for _, c := range components {
fmt.Printf("%20s%30s\n", c.Name, c.Version)
}
```