chdir-promise
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "chdir-promise", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Change working dir and return a promise, a stack of folders is maintained to jump back", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "node test/chdir-promise-spec.js" | ||
}, | ||
@@ -36,3 +36,7 @@ "repository": { | ||
"spots": "0.3.0" | ||
} | ||
}, | ||
"devDependencies": { | ||
"pre-git": "0.1.1" | ||
}, | ||
"pre-commit": "npm test" | ||
} |
@@ -5,2 +5,8 @@ # chdir-promise | ||
[![NPM][chdir-promise-icon] ][chdir-promise-url] | ||
[![Build status][chdir-promise-ci-image] ][chdir-promise-ci-url] | ||
[![dependencies][chdir-promise-dependencies-image] ][chdir-promise-dependencies-url] | ||
[![devdependencies][chdir-promise-devdependencies-image] ][chdir-promise-devdependencies-url] | ||
```js | ||
@@ -18,7 +24,7 @@ var folders = require('chdir-promise'); | ||
folders.to('foo/bar/folder') | ||
.then(function () { | ||
return 'foo'; // value to return | ||
}) | ||
.tap(folders.comeBack); | ||
// resolved with value 'foo' | ||
.then(function () { | ||
return 'foo'; // value to return | ||
}) | ||
.tap(folders.comeBack); | ||
// resolved with value 'foo' | ||
``` | ||
@@ -72,1 +78,10 @@ | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
[chdir-promise-icon]: https://nodei.co/npm/chdir-promise.png?downloads=true | ||
[chdir-promise-url]: https://npmjs.org/package/chdir-promise | ||
[chdir-promise-ci-image]: https://travis-ci.org/bahmutov/chdir-promise.png?branch=master | ||
[chdir-promise-ci-url]: https://travis-ci.org/bahmutov/chdir-promise | ||
[chdir-promise-dependencies-image]: https://david-dm.org/bahmutov/chdir-promise.png | ||
[chdir-promise-dependencies-url]: https://david-dm.org/bahmutov/chdir-promise | ||
[chdir-promise-devdependencies-image]: https://david-dm.org/bahmutov/chdir-promise/dev-status.png | ||
[chdir-promise-devdependencies-url]: https://david-dm.org/bahmutov/chdir-promise#info=devDependencies |
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 tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
5614
6
46
1
85
1