Skip to content

librariesio/yarn-parser

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.