librariesio / yarn-parser

:cat2: Tiny web service for parsing yarn.lock files

Home Page:http://libraries.io/github/librariesio/yarn-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn parser

A tiny node.js web service for parsing dependency information from yarn.lock files for Libraries.io.

Docker

First, install Docker. If you run macOS or Windows, Docker for Mac/Windows makes this really easy.

If you have Windows Home Edition, you'll need to download and run Docker Toolbox. Then, run:

    docker pull librariesio/yarn-parser
    docker run -it -e PORT=5000 -p 5000:5000 librariesio/yarn-parser

yarn-parser will be running on http://localhost:5000.

Note: You can add PORT to a .env file instead of supplying them directly on the command-line.

Development

Source hosted at GitHub. Report issues/feature requests on GitHub Issues. Follow us on Twitter @librariesio. We also hangout on Slack.

To run locally:

docker run -it -e PORT=5000 -p 5000:5000 $(docker build -q .)

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Add documentation if necessary.
  • Commit, do not change procfile, version, or history.
  • Send a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2017 Andrew Nesbitt. See LICENSE for details.

About

:cat2: Tiny web service for parsing yarn.lock files

http://libraries.io/github/librariesio/yarn-parser

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 92.8%Language:Shell 5.0%Language:Dockerfile 2.3%