Fetch a package's description from NPM.
Uses cross-fetch-json to support usage in both brower and node.
Installation
yarn add npm-description
npm install npm-description
API
Usage
; getDescription"chalk".then; getDescriptions.then;
Types
; ; ; ;
Dependencies
- cross-fetch-json: Universal fetch API that only returns JSON
Dev Dependencies
- @bconnorwhite/bob: Bob is a toolkit for TypeScript projects
- jest: Delightful JavaScript Testing.
License
Related Packages:
- all-package-names: Get all NPM package names.
- npms-io-client: A universal typed npms.io client
- is-name-taken: Check if an NPM package name is taken