{"_id":"chdir-promise","_rev":"102107","name":"chdir-promise","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","dist-tags":{"latest":"0.6.2"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"time":{"modified":"2021-06-03T10:35:50.000Z","created":"2014-12-24T20:12:50.582Z","0.6.2":"2017-10-28T02:38:23.250Z","0.6.1":"2017-10-28T02:31:34.554Z","0.6.0":"2017-10-28T02:31:05.153Z","0.5.0":"2017-10-28T02:19:53.415Z","0.4.2":"2017-10-28T01:42:08.734Z","0.4.1":"2017-07-10T20:53:35.686Z","0.4.0":"2016-12-04T23:22:23.799Z","0.3.0":"2016-12-04T23:18:00.200Z","0.2.1":"2014-12-29T22:23:55.084Z","0.2.0":"2014-12-26T23:51:16.028Z","0.1.0":"2014-12-24T20:34:07.384Z","0.0.2":"2014-12-24T20:28:49.697Z","0.0.1":"2014-12-24T20:22:34.383Z","0.0.0":"2014-12-24T20:12:50.582Z"},"users":{},"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"versions":{"0.6.2":{"name":"chdir-promise","version":"0.6.2","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"echo running unit tests","posttest":"npm run unit","unit":"mocha test/*-spec.js","demo":"DEBUG=chdir-promise node test/demo.js","deps":"deps-ok && dependency-check --no-dev .","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","pretty":"prettier-standard *.js src/*.js test/*.js","prelint":"npm run pretty","lint":"standard --verbose --fix *.js src/*.js test/*.js","pretest":"npm run lint","issues":"git-issues","unused-deps":"dependency-check --unused --no-dev ."},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"files":["index.js"],"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"bluebird":"^3.5.1","check-more-types":"2.24.0","debug":"3.1.0","lazy-ass":"1.6.0"},"devDependencies":{"dependency-check":"2.9.1","deps-ok":"1.2.1","git-issues":"^1.3.1","github-post-release":"1.13.1","mocha":"^4.0.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"8.2.3","standard":"10.0.3"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run deps","npm run unused-deps","npm run size"],"post-commit":[],"post-checkout":[],"post-merge":[]}},"release":{"generateNotes":"github-post-release","analyzeCommits":"simple-commit-message"},"gitHead":"51a6c06d6bb9787a05d4f1f324b2aa6e7b0913b7","_id":"chdir-promise@0.6.2","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"d4cfa0a96a112a8149341b69e2866d162f0e2dbd","size":2945,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.6.2.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chdir-promise-0.6.2.tgz_1509158302292_0.22732174396514893"},"directories":{},"publish_time":1509158303250,"_cnpm_publish_time":1509158303250,"_hasShrinkwrap":false},"0.6.1":{"name":"chdir-promise","version":"0.6.1","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"echo running unit tests","posttest":"npm run unit","unit":"mocha test/*-spec.js","demo":"DEBUG=chdir-promise node test/demo.js","deps":"deps-ok && dependency-check --no-dev .","semantic-release":"semantic-release","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","pretty":"prettier-standard *.js src/*.js test/*.js","prelint":"npm run pretty","lint":"standard --verbose --fix *.js src/*.js test/*.js","pretest":"npm run lint","issues":"git-issues","unused-deps":"dependency-check --unused --no-dev ."},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"files":["index.js"],"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"bluebird":"^3.5.1","check-more-types":"2.24.0","debug":"3.1.0","lazy-ass":"1.6.0"},"devDependencies":{"dependency-check":"2.9.1","deps-ok":"1.2.1","git-issues":"^1.3.1","github-post-release":"1.13.1","mocha":"^4.0.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"9.0.0","standard":"10.0.3"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run deps","npm run unused-deps","npm run size"],"post-commit":[],"post-checkout":[],"post-merge":[]}},"release":{"generateNotes":"github-post-release","analyzeCommits":"simple-commit-message"},"gitHead":"670ed5f436f723417f3985cd8cdffd99eeaa2e74","_id":"chdir-promise@0.6.1","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"bd255286a1be9cbb9773d98295596796ba6fc721","size":2932,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.6.1.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chdir-promise-0.6.1.tgz_1509157893559_0.9225215390324593"},"directories":{},"publish_time":1509157894554,"_hasShrinkwrap":false,"_cnpm_publish_time":1509157894554},"0.6.0":{"name":"chdir-promise","version":"0.6.0","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"echo running unit tests","posttest":"npm run unit","unit":"mocha test/*-spec.js","demo":"DEBUG=chdir-promise node test/demo.js","deps":"deps-ok && dependency-check --no-dev .","semantic-release":"semantic-release","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","pretty":"prettier-standard *.js src/*.js test/*.js","prelint":"npm run pretty","lint":"standard --verbose --fix *.js src/*.js test/*.js","pretest":"npm run lint","issues":"git-issues"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"files":["index.js"],"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"bluebird":"^3.5.1","check-more-types":"2.24.0","debug":"3.1.0","lazy-ass":"1.6.0","spots":"0.5.0"},"devDependencies":{"dependency-check":"2.9.1","deps-ok":"1.2.1","git-issues":"^1.3.1","github-post-release":"1.13.1","mocha":"^4.0.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"9.0.0","standard":"10.0.3"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run deps","npm run size"],"post-commit":[],"post-checkout":[],"post-merge":[]}},"release":{"generateNotes":"github-post-release","analyzeCommits":"simple-commit-message"},"gitHead":"bc509f532a802d1fd3c73dd426f4440d8ef218ad","_id":"chdir-promise@0.6.0","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"434c7659d9395324b2c156d7e874764f5a392308","size":2920,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.6.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chdir-promise-0.6.0.tgz_1509157864248_0.04527139640413225"},"directories":{},"publish_time":1509157865153,"_cnpm_publish_time":1509157865153,"_hasShrinkwrap":false},"0.5.0":{"name":"chdir-promise","version":"0.5.0","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"echo running unit tests","posttest":"mocha test/*-spec.js","demo":"DEBUG=chdir-promise node test/demo.js","deps":"deps-ok && dependency-check --no-dev .","semantic-release":"semantic-release","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","pretty":"prettier-standard *.js src/*.js test/*.js","prelint":"npm run pretty","lint":"standard --verbose --fix *.js src/*.js test/*.js","pretest":"npm run lint","issues":"git-issues"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"files":["index.js"],"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"bluebird":"^3.5.1","check-more-types":"2.24.0","debug":"3.1.0","lazy-ass":"1.6.0","spots":"0.5.0"},"devDependencies":{"dependency-check":"2.9.1","deps-ok":"1.2.1","git-issues":"^1.3.1","github-post-release":"1.13.1","mocha":"^4.0.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"9.0.0","standard":"10.0.3"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run deps","npm run size"],"post-commit":[],"post-checkout":[],"post-merge":[]}},"release":{"generateNotes":"github-post-release","analyzeCommits":"simple-commit-message"},"gitHead":"6ce2e493a5e850591c810997037439e14bbd27e2","_id":"chdir-promise@0.5.0","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"024a6743d7cd075d446f6fd96e680db9d0f317dd","size":2778,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.5.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chdir-promise-0.5.0.tgz_1509157192449_0.049553821329027414"},"directories":{},"publish_time":1509157193415,"_hasShrinkwrap":false,"_cnpm_publish_time":1509157193415},"0.4.2":{"name":"chdir-promise","version":"0.4.2","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js","semantic-release":"semantic-release","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","pretty":"prettier-standard *.js src/*.js","prelint":"npm run pretty","lint":"standard --verbose --fix *.js src/*.js","pretest":"npm run lint","issues":"git-issues"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"files":["index.js"],"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"2.24.0","debug":"3.1.0","lazy-ass":"1.6.0","q":"1.5.1","spots":"0.5.0"},"devDependencies":{"git-issues":"^1.3.1","github-post-release":"1.13.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"9.0.0","standard":"10.0.3"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-checkout":[],"post-merge":[]}},"release":{"generateNotes":"github-post-release","analyzeCommits":"simple-commit-message"},"gitHead":"066c94695e68647f90dce8ea1bbba4c25b02f3f3","_id":"chdir-promise@0.4.2","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"164a52d00faf3a88c3fa7486e1877f2ef85c636f","size":2650,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.4.2.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chdir-promise-0.4.2.tgz_1509154927843_0.8369791344739497"},"directories":{},"publish_time":1509154928734,"_hasShrinkwrap":false,"_cnpm_publish_time":1509154928734},"0.4.1":{"name":"chdir-promise","version":"0.4.1","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","pretty":"prettier-standard *.js src/*.js","prelint":"npm run pretty","lint":"standard --verbose --fix *.js src/*.js","pretest":"npm run lint","issues":"git-issues"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"files":["index.js"],"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"2.24.0","debug":"2.6.8","lazy-ass":"1.6.0","q":"1.5.0","spots":"0.5.0"},"devDependencies":{"git-issues":"^1.3.1","github-post-release":"^1.7.1","pre-git":"3.15.0","prettier-standard":"^6.0.0","semantic-release":"^6.3.6","standard":"^10.0.2"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-checkout":[],"post-merge":[]}},"release":{"generateNotes":"github-post-release"},"gitHead":"aac8164d829c3fbf782031ac3d515669ea1f2f05","_id":"chdir-promise@0.4.1","_shasum":"1888bb33719699c9fb72138c07556503c4913e85","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"1888bb33719699c9fb72138c07556503c4913e85","size":2703,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.4.1.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chdir-promise-0.4.1.tgz_1499720014741_0.37948095658794045"},"directories":{},"publish_time":1499720015686,"_hasShrinkwrap":false,"_cnpm_publish_time":1499720015686},"0.4.0":{"name":"chdir-promise","version":"0.4.0","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"files":["index.js"],"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"2.23.0","debug":"^2.3.3","lazy-ass":"1.5.0","q":"1.1.2","spots":"0.4.0"},"devDependencies":{"pre-git":"^3.11.1","semantic-release":"^6.3.2"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-checkout":[],"post-merge":[]}},"gitHead":"73cfc5d658035e3a62b6fc8f4779206ae482c36d","_id":"chdir-promise@0.4.0","_shasum":"46dc602ed193197470140f152459a4382cf79974","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"46dc602ed193197470140f152459a4382cf79974","size":2563,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.4.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/chdir-promise-0.4.0.tgz_1480893741812_0.4379243578296155"},"directories":{},"publish_time":1480893743799,"_cnpm_publish_time":1480893743799,"_hasShrinkwrap":false},"0.3.0":{"name":"chdir-promise","version":"0.3.0","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/chdir-promise.git"},"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"1.1.1","check-types":"1.4.0","debug":"^2.3.3","lazy-ass":"0.5.3","q":"1.1.2","spots":"0.4.0"},"devDependencies":{"pre-git":"0.1.1","semantic-release":"^6.3.2"},"pre-commit":"npm test","gitHead":"2491019e91a554595d5bd5b6e95425fcaf2c97be","_id":"chdir-promise@0.3.0","_shasum":"402faf437ec1c77e7ba938511e46ddefe0b9a3a2","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"402faf437ec1c77e7ba938511e46ddefe0b9a3a2","size":2805,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.3.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/chdir-promise-0.3.0.tgz_1480893478126_0.035814955830574036"},"directories":{},"publish_time":1480893480200,"_cnpm_publish_time":1480893480200,"_hasShrinkwrap":false},"0.2.1":{"name":"chdir-promise","version":"0.2.1","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js"},"repository":{"type":"git","url":"https://github.com/bahmutov/chdir-promise.git"},"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"1.1.0","check-types":"1.4.0","lazy-ass":"0.5.3","q":"1.1.2","spots":"0.3.0"},"devDependencies":{"pre-git":"0.1.1"},"pre-commit":"npm test","gitHead":"32fb95a5bcb7e0e62cb3b6c7ff14443b7e7ad903","_id":"chdir-promise@0.2.1","_shasum":"c75d924dd31f6aceaeeabc43659761da5712bc49","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"c75d924dd31f6aceaeeabc43659761da5712bc49","size":2715,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.2.1.tgz"},"directories":{},"publish_time":1419891835084,"_cnpm_publish_time":1419891835084,"_hasShrinkwrap":false},"0.2.0":{"name":"chdir-promise","version":"0.2.0","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js"},"repository":{"type":"git","url":"https://github.com/bahmutov/chdir-promise.git"},"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"1.1.0","check-types":"1.4.0","lazy-ass":"0.5.3","q":"1.1.2","spots":"0.3.0"},"devDependencies":{"pre-git":"0.1.1"},"pre-commit":"npm test","gitHead":"798b2e7c4b02b47f2e923b09130aeb82d4a08e5b","_id":"chdir-promise@0.2.0","_shasum":"c76635c303c29c54659a0f331e114fee954ffc20","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"c76635c303c29c54659a0f331e114fee954ffc20","size":2586,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.2.0.tgz"},"directories":{},"publish_time":1419637876028,"_cnpm_publish_time":1419637876028,"_hasShrinkwrap":false},"0.1.0":{"name":"chdir-promise","version":"0.1.0","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js"},"repository":{"type":"git","url":"https://github.com/bahmutov/chdir-promise.git"},"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"1.1.0","check-types":"1.4.0","lazy-ass":"0.5.3","q":"1.1.2","spots":"0.3.0"},"devDependencies":{"pre-git":"0.1.1"},"pre-commit":"npm test","gitHead":"ee634b99123a6a309b9b30e811595a12c9537eda","_id":"chdir-promise@0.1.0","_shasum":"52e591aebe8f4088d902aba491ef23030483ce3a","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"52e591aebe8f4088d902aba491ef23030483ce3a","size":2556,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.1.0.tgz"},"directories":{},"publish_time":1419453247384,"_cnpm_publish_time":1419453247384,"_hasShrinkwrap":false},"0.0.2":{"name":"chdir-promise","version":"0.0.2","description":"Change working dir and return a promise, a stack of folders is maintained to jump back","main":"index.js","scripts":{"test":"node test/chdir-promise-spec.js"},"repository":{"type":"git","url":"https://github.com/bahmutov/chdir-promise.git"},"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"1.1.0","check-types":"1.4.0","lazy-ass":"0.5.3","q":"1.1.2","spots":"0.3.0"},"devDependencies":{"pre-git":"0.1.1"},"pre-commit":"npm test","gitHead":"c3ae15453e190c688c4bf721af30e83eb7a24492","_id":"chdir-promise@0.0.2","_shasum":"3b3e782dd28b00d62ccacc906093569449d1e6d0","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"3b3e782dd28b00d62ccacc906093569449d1e6d0","size":2558,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.0.2.tgz"},"directories":{},"publish_time":1419452929697,"_cnpm_publish_time":1419452929697,"_hasShrinkwrap":false},"0.0.1":{"name":"chdir-promise","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":"node test/chdir-promise-spec.js"},"repository":{"type":"git","url":"https://github.com/bahmutov/chdir-promise.git"},"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"1.1.0","check-types":"1.4.0","lazy-ass":"0.5.3","q":"1.1.2","spots":"0.3.0"},"devDependencies":{"pre-git":"0.1.1"},"pre-commit":"npm test","gitHead":"41b12e8436fac7a851691f19f36a09e5432af7a9","_id":"chdir-promise@0.0.1","_shasum":"f883135c2b3ce048fa604e8d7f6e7bf25d250f59","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"f883135c2b3ce048fa604e8d7f6e7bf25d250f59","size":2527,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.0.1.tgz"},"directories":{},"publish_time":1419452554383,"_cnpm_publish_time":1419452554383,"_hasShrinkwrap":false},"0.0.0":{"name":"chdir-promise","version":"0.0.0","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"},"repository":{"type":"git","url":"https://github.com/bahmutov/chdir-promise.git"},"keywords":["chdir","change","directory","folder","promise","stack","folders","working","cwd"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"homepage":"https://github.com/bahmutov/chdir-promise","dependencies":{"check-more-types":"1.1.0","check-types":"1.4.0","lazy-ass":"0.5.3","q":"1.1.2","spots":"0.3.0"},"gitHead":"d4057c80f101a2dd48022b5c6b2d435e70470fa3","_id":"chdir-promise@0.0.0","_shasum":"5b7b796d6ebecac7157c04cad9a342bb304ece48","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"5b7b796d6ebecac7157c04cad9a342bb304ece48","size":2060,"noattachment":false,"key":"/chdir-promise/-/chdir-promise-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/chdir-promise/download/chdir-promise-0.0.0.tgz"},"directories":{},"publish_time":1419451970582,"_cnpm_publish_time":1419451970582,"_hasShrinkwrap":false}},"readme":"# chdir-promise\n\n> Change current working folder by returning a promise + a stack of folders to jump back\n\n[![NPM][chdir-promise-icon] ][chdir-promise-url]\n\n[![Build status][chdir-promise-ci-image] ][chdir-promise-ci-url]\n[![semantic-release][semantic-image] ][semantic-url]\n\n```js\nvar chdir = require('chdir-promise');\n// only has two methods: chdir.to and chdir.from (alias chdir.back)\nchdir.to('foo/bar/folder')\n    // do something inside foo/bar/folder\n    .then(chdir.back) // or chdir.from\n    .done();\n```\n\nif you need to return value before returning use `.tap` method\n\n```js\nchdir.to('foo/bar/folder')\n    .then(function () {\n        return 'foo'; // value to return\n    })\n    .tap(chdir.back);\n    // resolved with value 'foo'\n```\n\n**Advice**\n\nPut `chdir.back` into `.finally` callback to make sure it is always executed, even if there is an exception.\n\n```js\nchdir.to('foo/bar/folder')\n    .then(function () {\n        throw new Error('oh my');\n    })\n    .then(chdir.back) // not called!\n    .finally(chdir.back); // called\n```\n\n### nextTo\n\nIf you have several hops you can schedule next hop using `chdir.nextTo` which allows\nyou to save extra empty function.\n\n```js\n// second hop is deferred\nchdir.to('first/folder')\n    .then(chdir.back)\n    .then(() => chdir.to('second/folder'))\n```\n\n```js\n// equivalent\nchdir.to('first/folder')\n    .then(chdir.back)\n    .then(chdir.nextTo('second/folder'))\n```\n\nImplemented using [bluebird][https://github.com/petkaantonov/bluebird], \n[lazy-ass][lazy-ass] and [check-more-types][check-more-types].\n\n[lazy-ass]: https://www.npmjs.com/package/lazy-ass\n[check-more-types]: https://www.npmjs.com/package/check-more-types\n\n### Small print\n\nAuthor: Gleb Bahmutov &copy; 2014\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](https://glebbahmutov.com)\n* [blog](https://glebbahmutov.com/blog/)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, etc.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/chdir-promise/issues?state=open) on Github\n\n## MIT License\n\nCopyright (c) 2014 Gleb Bahmutov\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[chdir-promise-icon]: https://nodei.co/npm/chdir-promise.svg?downloads=true\n[chdir-promise-url]: https://npmjs.org/package/chdir-promise\n[chdir-promise-ci-image]: https://travis-ci.org/bahmutov/chdir-promise.svg?branch=master\n[chdir-promise-ci-url]: https://travis-ci.org/bahmutov/chdir-promise\n[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-url]: https://github.com/semantic-release/semantic-release\n","_attachments":{},"homepage":"https://github.com/bahmutov/chdir-promise","bugs":{"url":"https://github.com/bahmutov/chdir-promise/issues"},"license":"MIT"}