npm-update
Advanced tools
Comparing version 0.2.0 to 1.0.0
@@ -18,3 +18,3 @@ /* ================================================================ | ||
module.exports = function(options) { | ||
module.exports = function *(options) { | ||
var pkg = options.pkg; | ||
@@ -21,0 +21,0 @@ var callback = options.callback; |
{ | ||
"name": "npm-update", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "npm-update", | ||
@@ -5,0 +5,0 @@ "keywords": ["npm-update"], |
@@ -26,9 +26,16 @@ npm-update | ||
```bash | ||
$ npm i npm-update -g | ||
$ npm i npm-update -g --save | ||
``` | ||
## Quick Start | ||
## Usage | ||
```bash | ||
$ npm-update | ||
```js | ||
var update = require('npm-update'); | ||
var pkg = require('../package'); | ||
update({ | ||
pgk: pkg, | ||
callback: function(data, error) { | ||
} | ||
}); | ||
``` | ||
@@ -35,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8880
12
163
0
47