npm-api
Advanced tools
Comparing version 0.4.12 to 0.4.13
@@ -20,3 +20,3 @@ /*! | ||
* | ||
* @param {Object} `store` Cache store intance to use. | ||
* @param {Object} `store` Cache store instance to use. | ||
* @api public | ||
@@ -23,0 +23,0 @@ */ |
@@ -91,3 +91,3 @@ /*! | ||
return utils.co(function* (self) { | ||
var pkg = yield self.package(); | ||
var pkg = yield self.package('all'); | ||
if (pkg['dist-tags'][version]) { | ||
@@ -94,0 +94,0 @@ version = pkg['dist-tags'][version]; |
{ | ||
"name": "npm-api", | ||
"description": "Base class for retrieving data from the npm registry.", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"homepage": "https://github.com/doowb/npm-api", | ||
@@ -6,0 +6,0 @@ "author": "Brian Woodward (https://github.com/doowb)", |
@@ -1,5 +0,7 @@ | ||
# npm-api [![NPM version](https://img.shields.io/npm/v/npm-api.svg?style=flat)](https://www.npmjs.com/package/npm-api) [![NPM monthly downloads](https://img.shields.io/npm/dm/npm-api.svg?style=flat)](https://npmjs.org/package/npm-api) [![NPM total downloads](https://img.shields.io/npm/dt/npm-api.svg?style=flat)](https://npmjs.org/package/npm-api) [![Linux Build Status](https://img.shields.io/travis/doowb/npm-api.svg?style=flat&label=Travis)](https://travis-ci.org/doowb/npm-api) [![Windows Build Status](https://img.shields.io/appveyor/ci/doowb/npm-api.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/doowb/npm-api) | ||
# npm-api [![NPM version](https://img.shields.io/npm/v/npm-api.svg?style=flat)](https://www.npmjs.com/package/npm-api) [![NPM monthly downloads](https://img.shields.io/npm/dm/npm-api.svg?style=flat)](https://npmjs.org/package/npm-api) [![NPM total downloads](https://img.shields.io/npm/dt/npm-api.svg?style=flat)](https://npmjs.org/package/npm-api) [![Linux Build Status](https://img.shields.io/travis/doowb/npm-api.svg?style=flat&label=Travis)](https://travis-ci.org/doowb/npm-api) [![Windows Build Status](https://img.shields.io/appveyor/ci/doowb/npm-api.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/doowb/npm-api) | ||
> Base class for retrieving data from the npm registry. | ||
Please consider following this project's author, [Brian Woodward](https://github.com/doowb), and consider starring the project to show your :heart: and support. | ||
## Install | ||
@@ -100,3 +102,3 @@ | ||
* `store` **{Object}**: Cache store intance to use. | ||
* `store` **{Object}**: Cache store instance to use. | ||
@@ -359,13 +361,23 @@ ### [Maintainer](lib/models/maintainer.js#L25) | ||
### Related projects | ||
<details> | ||
<summary><strong>Contributing</strong></summary> | ||
* [base](https://www.npmjs.com/package/base): Framework for rapidly creating high quality, server-side node.js applications, using plugins like building blocks | [homepage](https://github.com/node-base/base "Framework for rapidly creating high quality, server-side node.js applications, using plugins like building blocks") | ||
* [download-stats](https://www.npmjs.com/package/download-stats): Get and calculate npm download stats for npm modules. | [homepage](https://github.com/doowb/download-stats "Get and calculate npm download stats for npm modules.") | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). | ||
### Contributing | ||
</details> | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). | ||
<details> | ||
<summary><strong>Running Tests</strong></summary> | ||
### Building docs | ||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: | ||
```sh | ||
$ npm install && npm test | ||
``` | ||
</details> | ||
<details> | ||
<summary><strong>Building docs</strong></summary> | ||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ | ||
@@ -379,10 +391,19 @@ | ||
### Running tests | ||
</details> | ||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: | ||
### Related projects | ||
```sh | ||
$ npm install && npm test | ||
``` | ||
You might also be interested in these projects: | ||
* [base](https://www.npmjs.com/package/base): Framework for rapidly creating high quality, server-side node.js applications, using plugins like building blocks | [homepage](https://github.com/node-base/base "Framework for rapidly creating high quality, server-side node.js applications, using plugins like building blocks") | ||
* [download-stats](https://www.npmjs.com/package/download-stats): Get and calculate npm download stats for npm modules. | [homepage](https://github.com/doowb/download-stats "Get and calculate npm download stats for npm modules.") | ||
### Contributors | ||
| **Commits** | **Contributor** | | ||
| --- | --- | | ||
| 106 | [doowb](https://github.com/doowb) | | ||
| 1 | [0xflotus](https://github.com/0xflotus) | | ||
| 1 | [NachmanBerkowitz](https://github.com/NachmanBerkowitz) | | ||
### Author | ||
@@ -392,8 +413,9 @@ | ||
* [github/doowb](https://github.com/doowb) | ||
* [twitter/doowb](https://twitter.com/doowb) | ||
* [GitHub Profile](https://github.com/doowb) | ||
* [Twitter Profile](https://twitter.com/doowb) | ||
* [LinkedIn Profile](https://linkedin.com/in/woodwardbrian) | ||
### License | ||
Copyright © 2017, [Brian Woodward](https://github.com/doowb). | ||
Copyright © 2019, [Brian Woodward](https://github.com/doowb). | ||
Released under the [MIT License](LICENSE). | ||
@@ -403,2 +425,2 @@ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on December 27, 2017._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on June 17, 2019._ |
421
37354
16