Skip to content

Latest commit

 

History

History
51 lines (26 loc) · 2.39 KB

README.md

File metadata and controls

51 lines (26 loc) · 2.39 KB

Dependency.land

Find the npm modules that depend on a specific module and semver range.

Think of it as a reverse dependency search; instead of finding dependencies, it finds dependents. 🔍

Available at dependency.land. The project is created and hosted by Opbeat.

Note: This project is very much in beta, please share your feedback and contribute to the development.

Standard - JavaScript Style Guide

Development

This project contains a simple client website and a small server with a REST API. Once deployed it runs the server and a background service that keeps the local data set up-to-date continously.

The client is based on create-react-app, it talks to the API and renders the results. The server is a hapi server with a couple of plugins. It wraps the functionality of npm-dependency-db and dependency-db.

  1. Install server dependencies and client dependencies.

     npm install && cd client && npm install && cd ..
    
  2. Start both the server and the client in development mode.

     npm start
    

Contributing

Any feedback is appreciated and issues and pull requests are very welcome 🙌

This repository uses standard to maintain code style and consistency, and to avoid style arguments. Please run npm test before submitting a PR.

You can also make standard run a style check on the staged files automatically before each commit. Run this in the project folder:

ln -s ../../pre-commit.sh .git/hooks/pre-commit

This will set up a git pre-commit hook that is linked to the version controlled one in the repository.

Credits

Thanks to @watson and @mafintosh for creating the dependency-db modules and infrastructure. Thanks to the dat project for hosting the hypercore service that dependency-db depends on. Thanks to @terezka for sanity checking the client code.

And a big thanks to all the authors of all the modules that are used in this project.

License

MIT


Made with ♥️ and ☕️ by Opbeat and our community.