npm-utilities
The most complete, powerful and flexible npm module to retrieve package, user and status data from npmjs.com programmatically with the power of web scraping!
Why?
- Does anything you can do manually.
- Implements the latest ES6 syntax.
- Asynchronous behavior.
- Easy to use yet powerful.
- Search for packages, retrieve full package (with version support)/user info as at appears on the website.
- Fully documented with examples.
- Open source.
Getting started
1 - Run npm i npm-utilities
on the root of your preferred project.
2 - Require what you need
// Using the package classconst { Package } = require('npm-utilities');const upjson = new Package('upjson');upjson.snippet().then(console.log).catch(console.error);
3 - Be creative with the docs!
Contributing
Any sort of contributing is welcome in the following cases:
- Finding a bug (on the docs, package or the github page) , open an issue or fix it yourself and open a pr.
- Some sort of a feature (available on the website) you want is missing , open an issue.
Copyright
This work is licensed under the Apache 2.0 license . All rights reserved to their respective owners.