{"_id":"detect-installed","_rev":"3374060","name":"detect-installed","description":"Checks that given package is installed globally or locally.","dist-tags":{"latest":"2.0.4"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"time":{"modified":"2024-08-26T02:59:39.000Z","created":"2015-04-14T08:39:38.806Z","2.0.4":"2016-12-12T16:23:21.848Z","2.0.3":"2016-12-11T11:51:41.659Z","2.0.2":"2016-12-11T11:50:44.671Z","2.0.1":"2016-12-11T03:10:57.235Z","2.0.0":"2016-12-11T03:06:01.191Z","1.0.4":"2015-07-16T22:26:20.575Z","1.0.3":"2015-05-08T23:38:50.160Z","1.0.2":"2015-05-06T00:53:59.545Z","1.0.1":"2015-04-18T00:56:39.264Z","1.0.0":"2015-04-14T11:58:00.725Z","0.0.2":"2015-04-14T11:13:38.876Z","0.0.0":"2015-04-14T08:39:38.806Z","0.0.1":"2015-04-14T10:21:15.975Z"},"users":{},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"repository":{"type":"git","url":"git+https://github.com/tunnckocore/detect-installed.git"},"versions":{"2.0.4":{"name":"detect-installed","version":"2.0.4","description":"Checks that given package is installed globally or locally.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/detect-installed.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"lint":"standard --verbose","pretest":"npm run lint","test":"npm run coverage","posttest":"npm run lint:coverage","coverage":"nyc node test.js","lint:coverage":"nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100","report-coverage":"nyc report --reporter=text-lcov | coveralls","prerelease":"npm test","release":"standard-version --sign --no-verify","precommit":"git add --all","commit":"git-cz"},"dependencies":{"get-installed-path":"^2.0.3"},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.15","cz-conventional-changelog":"^1.2.0","mkdirp":"^0.5.1","mukla":"^0.4.8","nyc":"^10.0.0","pkg-dir":"^1.0.0","pre-commit":"^1.2.1","rimraf":"^2.5.4","standard":"^8.6.0","standard-version":"^4.0.0"},"files":["index.js"],"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","modules","npm","package","packages","pkg","util","utils","validate"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4","npm":">=2"},"verb":{"run":true,"toc":{"render":true,"method":"preWrite","maxdepth":3,"footer":""},"layout":"empty","tasks":["readme"],"related":{"list":["always-done","minibase","try-catch-core","is-installed","global-modules","get-installed-path"],"highlight":"get-installed-path"},"reflinks":["always-done","async-done","base","charlike","commitizen","dezalgo","once","standard-version","verb","verb-generate-readme"],"lint":{"reflinks":true}},"gitHead":"25ee38ec516955f30d2a10ce9e7f0b89716b04df","bugs":{"url":"https://github.com/tunnckocore/detect-installed/issues"},"homepage":"https://github.com/tunnckocore/detect-installed#readme","_id":"detect-installed@2.0.4","_shasum":"a0850465e7c3ebcff979d6b6535ad344b80dd7c5","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"a0850465e7c3ebcff979d6b6535ad344b80dd7c5","size":5788,"noattachment":false,"key":"/detect-installed/-/detect-installed-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-2.0.4.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/detect-installed-2.0.4.tgz_1481559801215_0.3839260523673147"},"directories":{},"publish_time":1481559801848,"_hasShrinkwrap":false,"_cnpm_publish_time":1481559801848,"_cnpmcore_publish_time":"2021-12-16T17:26:24.501Z"},"2.0.3":{"name":"detect-installed","version":"2.0.3","description":"Checks that given package is installed globally or locally.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/detect-installed.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"lint":"standard --verbose","pretest":"npm run lint","test":"npm run coverage","posttest":"npm run lint:coverage","coverage":"nyc node test.js","lint:coverage":"nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100","report-coverage":"nyc report --reporter=text-lcov | coveralls","prerelease":"npm test","release":"standard-version --sign --no-verify","precommit":"git add --all","commit":"git-cz"},"dependencies":{"get-installed-path":"^2.0.1"},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.15","cz-conventional-changelog":"^1.2.0","mkdirp":"^0.5.1","mukla":"^0.4.8","nyc":"^10.0.0","pkg-dir":"^1.0.0","pre-commit":"^1.2.0","rimraf":"^2.5.4","standard":"^8.6.0","standard-version":"^4.0.0"},"files":["index.js"],"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","modules","npm","package","packages","pkg","util","utils","validate"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4","npm":">=2"},"verb":{"run":true,"toc":{"render":true,"method":"preWrite","maxdepth":3,"footer":""},"layout":"empty","tasks":["readme"],"related":{"list":["always-done","minibase","try-catch-core","is-installed","global-modules","get-installed-path"],"highlight":"get-installed-path"},"reflinks":["always-done","async-done","base","charlike","commitizen","dezalgo","once","standard-version","verb","verb-generate-readme"],"lint":{"reflinks":true}},"gitHead":"9104f2c986c8d0dacb286bbae355754d1c20120c","bugs":{"url":"https://github.com/tunnckocore/detect-installed/issues"},"homepage":"https://github.com/tunnckocore/detect-installed#readme","_id":"detect-installed@2.0.3","_shasum":"a69e29ca6c779a6255b480a3d919fe3cbee04b41","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"a69e29ca6c779a6255b480a3d919fe3cbee04b41","size":5753,"noattachment":false,"key":"/detect-installed/-/detect-installed-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-2.0.3.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/detect-installed-2.0.3.tgz_1481457100928_0.348470666911453"},"directories":{},"publish_time":1481457101659,"_hasShrinkwrap":false,"_cnpm_publish_time":1481457101659,"_cnpmcore_publish_time":"2021-12-16T17:26:24.722Z"},"2.0.2":{"name":"detect-installed","version":"2.0.2","description":"Checks that given package is installed globally or locally.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/detect-installed.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"lint":"standard --verbose","pretest":"npm run lint","test":"npm run coverage","posttest":"npm run lint:coverage","coverage":"nyc node test.js","lint:coverage":"nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100","report-coverage":"nyc report --reporter=text-lcov | coveralls","prerelease":"npm test","release":"standard-version --sign --no-verify","precommit":"git add --all","commit":"git-cz"},"dependencies":{"get-installed-path":"^2.0.1"},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.15","cz-conventional-changelog":"^1.2.0","mkdirp":"^0.5.1","mukla":"^0.4.8","nyc":"^10.0.0","pkg-dir":"^1.0.0","pre-commit":"^1.2.0","rimraf":"^2.5.4","standard":"^8.6.0","standard-version":"^4.0.0"},"files":["index.js"],"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","modules","npm","package","packages","pkg","util","utils","validate"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4","npm":">=3"},"verb":{"run":true,"toc":{"render":true,"method":"preWrite","maxdepth":3,"footer":""},"layout":"empty","tasks":["readme"],"related":{"list":["always-done","minibase","try-catch-core","is-installed","global-modules","get-installed-path"],"highlight":"get-installed-path"},"reflinks":["always-done","async-done","base","charlike","commitizen","dezalgo","once","standard-version","verb","verb-generate-readme"],"lint":{"reflinks":true}},"gitHead":"46e273a59e2dc273e5ae535cee7d4d754917306d","bugs":{"url":"https://github.com/tunnckocore/detect-installed/issues"},"homepage":"https://github.com/tunnckocore/detect-installed#readme","_id":"detect-installed@2.0.2","_shasum":"5889ea9b6659391b9b211bf0f152e7dd562abe46","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"5889ea9b6659391b9b211bf0f152e7dd562abe46","size":5694,"noattachment":false,"key":"/detect-installed/-/detect-installed-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-2.0.2.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/detect-installed-2.0.2.tgz_1481457042607_0.00627608853392303"},"directories":{},"publish_time":1481457044671,"_hasShrinkwrap":false,"_cnpm_publish_time":1481457044671,"_cnpmcore_publish_time":"2021-12-16T17:26:24.985Z"},"2.0.1":{"name":"detect-installed","version":"2.0.1","description":"Checks that given package is installed globally or locally.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/detect-installed.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"lint":"standard --verbose","pretest":"npm run lint","test":"npm run coverage","posttest":"npm run lint:coverage","coverage":"nyc node test.js","lint:coverage":"nyc check-coverage --lines 0 --branches 0 --statements 0 --functions 0","report-coverage":"nyc report --reporter=text-lcov | coveralls","prerelease":"npm test","release":"standard-version --sign --no-verify","precommit":"git add --all","commit":"git-cz"},"dependencies":{"global-modules":"^0.2.3"},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.15","cz-conventional-changelog":"^1.2.0","mkdirp":"^0.5.1","mukla":"^0.4.8","nyc":"^10.0.0","pkg-dir":"^1.0.0","pre-commit":"^1.2.0","rimraf":"^2.5.4","standard":"^8.6.0","standard-version":"^4.0.0"},"files":["index.js"],"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","modules","npm","package","packages","pkg","util","utils","validate"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4","npm":">=3"},"verb":{"run":true,"toc":{"render":true,"method":"preWrite","maxdepth":3,"footer":""},"layout":"empty","tasks":["readme"],"related":{"list":["always-done","minibase","try-catch-core","is-installed","global-modules","get-installed-path"],"highlight":"get-installed-path"},"reflinks":["always-done","async-done","base","charlike","commitizen","dezalgo","once","standard-version","verb","verb-generate-readme"],"lint":{"reflinks":true}},"gitHead":"488a074c22d7a2620ad68361b106733a01750745","bugs":{"url":"https://github.com/tunnckocore/detect-installed/issues"},"homepage":"https://github.com/tunnckocore/detect-installed#readme","_id":"detect-installed@2.0.1","_shasum":"df9f440555f772440d060c2f2c3730d247371c89","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"df9f440555f772440d060c2f2c3730d247371c89","size":5840,"noattachment":false,"key":"/detect-installed/-/detect-installed-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-2.0.1.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/detect-installed-2.0.1.tgz_1481425856448_0.6100261623505503"},"directories":{},"publish_time":1481425857235,"_hasShrinkwrap":false,"_cnpm_publish_time":1481425857235,"_cnpmcore_publish_time":"2021-12-16T17:26:25.219Z"},"2.0.0":{"name":"detect-installed","version":"2.0.0","description":"Checks that given package is installed globally or locally.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/detect-installed.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"lint":"standard --verbose","pretest":"npm run lint","test":"npm run coverage","posttest":"npm run lint:coverage","coverage":"nyc node test.js","lint:coverage":"nyc check-coverage --lines 0 --branches 0 --statements 0 --functions 0","report-coverage":"nyc report --reporter=text-lcov | coveralls","prerelease":"npm test","release":"standard-version --sign --no-verify","precommit":"git add --all","commit":"git-cz"},"dependencies":{"global-modules":"^0.2.3"},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.15","cz-conventional-changelog":"^1.2.0","mkdirp":"^0.5.1","mukla":"^0.4.8","nyc":"^10.0.0","pkg-dir":"^1.0.0","pre-commit":"^1.2.0","rimraf":"^2.5.4","standard":"^8.6.0","standard-version":"^4.0.0"},"files":["index.js"],"keywords":[],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4","npm":">=3"},"verb":{"run":true,"toc":{"render":true,"method":"preWrite","maxdepth":3,"footer":""},"layout":"empty","tasks":["readme"],"related":{"list":["always-done","minibase","try-catch-core","is-installed","global-modules","get-installed-path"],"highlight":"get-installed-path"},"reflinks":["always-done","async-done","base","charlike","commitizen","dezalgo","once","standard-version","verb","verb-generate-readme"],"lint":{"reflinks":true}},"gitHead":"cea838e0c37389c4d4bba7a65ffd0097844983dd","bugs":{"url":"https://github.com/tunnckocore/detect-installed/issues"},"homepage":"https://github.com/tunnckocore/detect-installed#readme","_id":"detect-installed@2.0.0","_shasum":"902ce85fc14a6465391fd6adaf7230a2f2d80001","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"902ce85fc14a6465391fd6adaf7230a2f2d80001","size":5733,"noattachment":false,"key":"/detect-installed/-/detect-installed-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-2.0.0.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/detect-installed-2.0.0.tgz_1481425560429_0.7569520159158856"},"directories":{},"publish_time":1481425561191,"_hasShrinkwrap":false,"_cnpm_publish_time":1481425561191,"_cnpmcore_publish_time":"2021-12-16T17:26:25.435Z"},"1.0.4":{"name":"detect-installed","version":"1.0.4","description":"Checks that given package name is installed locally or globally. Support sync and async api.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/detect-installed.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"global-modules":"^0.2.0"},"devDependencies":{"assertit":"^0.1.0"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"gitHead":"09c2fe3dbe2240550fb39361505ee4b89cbfa1f6","bugs":{"url":"https://github.com/tunnckocore/detect-installed/issues"},"homepage":"https://github.com/tunnckocore/detect-installed#readme","_id":"detect-installed@1.0.4","_shasum":"06125dc1397cff96899d983766ed7a2d6802c1c0","_from":".","_npmVersion":"3.1.2","_nodeVersion":"2.3.4","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"06125dc1397cff96899d983766ed7a2d6802c1c0","size":5148,"noattachment":false,"key":"/detect-installed/-/detect-installed-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-1.0.4.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"directories":{},"publish_time":1437085580575,"_hasShrinkwrap":false,"_cnpm_publish_time":1437085580575,"_cnpmcore_publish_time":"2021-12-16T17:26:25.672Z"},"1.0.3":{"name":"detect-installed","version":"1.0.3","description":"Checks that given package name is installed locally (in current working directory) or globally.","scripts":{"test":"standard && node test.js","travis":"standard && istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/detect-installed.git"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/detect-installed/blob/master/LICENSE.md"},"dependencies":{"debug":"~2.1.3","global-modules":"~0.1.0","handle-arguments":"~3.0.0"},"devDependencies":{"assertit":"^0.1.0","istanbul":"^0.3.9","standard":"^3.7.3"},"gitHead":"ca14ab9f7732ba715f43267984fa537b291f979c","bugs":{"url":"https://github.com/tunnckoCore/detect-installed/issues"},"homepage":"https://github.com/tunnckoCore/detect-installed#readme","_id":"detect-installed@1.0.3","_shasum":"b7e70041a0083ad64f04992b5c3bc68f192611fa","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"dist":{"shasum":"b7e70041a0083ad64f04992b5c3bc68f192611fa","size":4266,"noattachment":false,"key":"/detect-installed/-/detect-installed-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-1.0.3.tgz"},"directories":{},"publish_time":1431128330160,"_hasShrinkwrap":false,"_cnpm_publish_time":1431128330160,"_cnpmcore_publish_time":"2021-12-16T17:26:26.021Z"},"1.0.2":{"name":"detect-installed","version":"1.0.2","description":"Checks that given package name is installed locally (in current working directory) or globally.","scripts":{"test":"standard && node test.js","travis":"standard && istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/detect-installed.git"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/detect-installed/blob/master/LICENSE.md"},"dependencies":{"debug":"~2.1.3","fn-name":"~2.0.0","global-modules":"~0.1.0","handle-arguments":"~2.0.0"},"devDependencies":{"assertit":"^0.1.0","istanbul":"^0.3.9","standard":"^3.7.3"},"gitHead":"8afe2fd4c360e0e147d539fc499ecde554a040ff","bugs":{"url":"https://github.com/tunnckoCore/detect-installed/issues"},"homepage":"https://github.com/tunnckoCore/detect-installed#readme","_id":"detect-installed@1.0.2","_shasum":"064f51b29063ce95235723eaacff640e7256273c","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"dist":{"shasum":"064f51b29063ce95235723eaacff640e7256273c","size":4174,"noattachment":false,"key":"/detect-installed/-/detect-installed-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-1.0.2.tgz"},"directories":{},"publish_time":1430873639545,"_hasShrinkwrap":false,"_cnpm_publish_time":1430873639545,"_cnpmcore_publish_time":"2021-12-16T17:26:26.219Z"},"1.0.1":{"name":"detect-installed","version":"1.0.1","description":"Checks that given package name is installed locally (in current working directory) or globally.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"node test.js","test-cov":"istanbul cover test.js","test-travis":"istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/detect-installed.git"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/detect-installed/blob/master/license.md"},"dependencies":{"debug":"^2.1.3","fn-name":"~2.0.0","global-modules":"^0.1.0","handle-arguments":"~2.0.0"},"devDependencies":{"assertit":"^0.1.0","istanbul-harmony":"~0.3.1"},"gitHead":"1ab2cd1f49f5cf5e8038353e2fd64048dc806f2d","bugs":{"url":"https://github.com/tunnckoCore/detect-installed/issues"},"homepage":"https://github.com/tunnckoCore/detect-installed","_id":"detect-installed@1.0.1","_shasum":"915998941afc7e6f59044255acd8c75e4449aa3d","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"dist":{"shasum":"915998941afc7e6f59044255acd8c75e4449aa3d","size":5339,"noattachment":false,"key":"/detect-installed/-/detect-installed-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-1.0.1.tgz"},"directories":{},"publish_time":1429318599264,"_hasShrinkwrap":false,"_cnpm_publish_time":1429318599264,"_cnpmcore_publish_time":"2021-12-16T17:26:26.414Z"},"1.0.0":{"name":"detect-installed","version":"1.0.0","description":"Checks that given package name is installed locally (in current working directory) or globally.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"node test.js","test-cov":"istanbul cover test.js","test-travis":"istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/detect-installed.git"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/detect-installed/blob/master/license.md"},"dependencies":{"debug":"^2.1.3","fn-name":"~2.0.0","global-modules":"^0.1.0","handle-arguments":"~2.0.0"},"devDependencies":{"assertit":"^0.1.0","istanbul-harmony":"~0.3.1"},"gitHead":"a860bd9e241eb5959ba2280bc7a6e9d4a8794312","bugs":{"url":"https://github.com/tunnckoCore/detect-installed/issues"},"homepage":"https://github.com/tunnckoCore/detect-installed","_id":"detect-installed@1.0.0","_shasum":"41f5fe482e708555e1e31697deca05b3a2316e9b","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"dist":{"shasum":"41f5fe482e708555e1e31697deca05b3a2316e9b","size":5312,"noattachment":false,"key":"/detect-installed/-/detect-installed-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-1.0.0.tgz"},"directories":{},"publish_time":1429012680725,"_hasShrinkwrap":false,"_cnpm_publish_time":1429012680725,"_cnpmcore_publish_time":"2021-12-16T17:26:26.622Z"},"0.0.2":{"name":"detect-installed","version":"0.0.2","description":"Checks that given package name is installed locally (in current working directory) or globally.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"node test.js","test-cov":"istanbul cover test.js","test-travis":"istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/detect-installed.git"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/detect-installed/blob/master/license.md"},"dependencies":{"debug":"^2.1.3","fn-name":"~2.0.0","global-modules":"^0.1.0","handle-arguments":"~2.0.0","is-kindof":"~1.0.0"},"devDependencies":{"assertit":"^0.1.0","istanbul-harmony":"~0.3.1"},"bugs":{"url":"https://github.com/tunnckoCore/detect-installed/issues"},"homepage":"https://github.com/tunnckoCore/detect-installed","_id":"detect-installed@0.0.2","_shasum":"b20673daa49b2869340b0f8ea796c72ec9b4bf17","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"dist":{"shasum":"b20673daa49b2869340b0f8ea796c72ec9b4bf17","size":5283,"noattachment":false,"key":"/detect-installed/-/detect-installed-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-0.0.2.tgz"},"directories":{},"publish_time":1429010018876,"_hasShrinkwrap":false,"_cnpm_publish_time":1429010018876,"_cnpmcore_publish_time":"2021-12-16T17:26:26.832Z"},"0.0.0":{"name":"detect-installed","version":"0.0.0","description":"Checks that given package name is installed locally (in current working directory) or globally.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"node test.js","test-cov":"istanbul cover test.js","test-travis":"istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/detect-installed.git"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/detect-installed/blob/master/license.md"},"dependencies":{"global-modules":"^0.1.0","is-kindof":"^1.0.0"},"devDependencies":{"assertit":"^0.1.0","istanbul-harmony":"~0.3.1"},"bugs":{"url":"https://github.com/tunnckoCore/detect-installed/issues"},"homepage":"https://github.com/tunnckoCore/detect-installed","_id":"detect-installed@0.0.0","_shasum":"f89550565d795ad8a169c1d4747258ffff0c85a5","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"dist":{"shasum":"f89550565d795ad8a169c1d4747258ffff0c85a5","size":4704,"noattachment":false,"key":"/detect-installed/-/detect-installed-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-0.0.0.tgz"},"directories":{},"publish_time":1429000778806,"_hasShrinkwrap":false,"_cnpm_publish_time":1429000778806,"_cnpmcore_publish_time":"2021-12-16T17:26:27.240Z"},"0.0.1":{"name":"detect-installed","version":"0.0.1","description":"Checks that given package name is installed locally (in current working directory) or globally.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"node test.js","test-cov":"istanbul cover test.js","test-travis":"istanbul cover test.js --report lcovonly"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/detect-installed.git"},"keywords":["check","detect","directory","global","globally","install","installed","local","locally","module","npm","package","pkg","util","validate"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/detect-installed/blob/master/license.md"},"dependencies":{"fn-name":"~2.0.0","global-modules":"^0.1.0","handle-arguments":"~2.0.0","is-kindof":"~1.0.0"},"devDependencies":{"assertit":"^0.1.0","istanbul-harmony":"~0.3.1"},"bugs":{"url":"https://github.com/tunnckoCore/detect-installed/issues"},"homepage":"https://github.com/tunnckoCore/detect-installed","_id":"detect-installed@0.0.1","_shasum":"e02dbdb71e881c529fb03b6b72326a413abd893a","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"},{"name":"vanchoy","email":"super.ludiq@gmail.com"}],"dist":{"shasum":"e02dbdb71e881c529fb03b6b72326a413abd893a","size":5005,"noattachment":false,"key":"/detect-installed/-/detect-installed-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-installed/download/detect-installed-0.0.1.tgz"},"directories":{},"publish_time":1429006875975,"_hasShrinkwrap":false,"_cnpm_publish_time":1429006875975,"_cnpmcore_publish_time":"2021-12-16T17:26:27.043Z"}},"readme":"# detect-installed [![NPM version](https://img.shields.io/npm/v/detect-installed.svg?style=flat)](https://www.npmjs.com/package/detect-installed) [![NPM downloads](https://img.shields.io/npm/dm/detect-installed.svg?style=flat)](https://npmjs.org/package/detect-installed) [![npm total downloads][downloads-img]][downloads-url]\n\n> Checks that given package is installed globally or locally.\n\n[![code climate][codeclimate-img]][codeclimate-url] \n[![standard code style][standard-img]][standard-url] \n[![linux build status][travis-img]][travis-url] \n[![windows build status][appveyor-img]][appveyor-url] \n[![coverage status][coveralls-img]][coveralls-url] \n[![dependency status][david-img]][david-url]\n\nYou might also be interested in [get-installed-path](https://github.com/tunnckocore/get-installed-path#readme).\n\n## Table of Contents\n- [Install](#install)\n- [Usage](#usage)\n- [API](#api)\n  * [detectInstalled](#detectinstalled)\n  * [.sync](#sync)\n- [Related](#related)\n- [Contributing](#contributing)\n- [Building docs](#building-docs)\n- [Running tests](#running-tests)\n- [Author](#author)\n- [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Install\nInstall with [npm](https://www.npmjs.com/)\n\n```\n$ npm install detect-installed --save\n```\n\nor install using [yarn](https://yarnpkg.com)\n\n```\n$ yarn add detect-installed\n```\n\n## Usage\n> For more use-cases see the [tests](test.js)\n\n```js\nconst detectInstalled = require('detect-installed')\n```\n\n## API\n\n### [detectInstalled](index.js#L60)\n> Detect if some package `name`is installed globally or locally. By default checks if it exists in globally installed modules, using [global-modules][]. Pass `opts.local` to check if it exists in locally installed modules or in `opts.cwd` dir.\n\n**Params**\n\n* `name` **{String}**: package name    \n* `opts` **{Object}**: pass `opts.local` to check locally    \n* `returns` **{Promise}**: always resolved promise, never rejected  \n\n**Example**\n\n```js\nconst detectInstalled = require('detect-installed')\n\ndetectInstalled('npm').then((exists) => {\n  console.log(exists) // => true\n})\n\ndetectInstalled('foo-bar-barwerwlekrjw').then((exists) => {\n  console.log(exists) // => false\n})\n\ndetectInstalled('npm', {\n  local: true\n}).then((exists) => {\n  console.log(exists) // => false\n})\n\ndetectInstalled('global-modules', {\n  local: true\n}).then((exists) => {\n  console.log(exists) // => true\n})\n\n// If you are using it for some sub-directory\n// pass `opts.cwd` to be where the `node_modules`\n// folder is.\nprocess.chidr('foo-bar-baz')\ndetectInstalled('global-modules', {\n  local: true,\n  cwd: '../'\n}).then((exists) => console.log(exists)) // => true\n```\n\n### [.sync](index.js#L86)\n> Synchronously check if package `name` exists as locally or globally installed modules.\n\n**Params**\n\n* `name` **{String}**: package name    \n* `opts` **{Object}**: pass `opts.local` to check locally    \n* `returns` **{Boolean}**: false, if error or not exists globally/locally  \n\n**Example**\n\n```js\nconst detectInstalled = require('detect-installed')\n\nconst exists = detectInstalled.sync('npm') // => true\nconst result = detectInstalled.sync('global-modules', { local: true }) // => true\n```\n\n## Related\n- [always-done](https://www.npmjs.com/package/always-done): Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement… [more](https://github.com/hybridables/always-done#readme) | [homepage](https://github.com/hybridables/always-done#readme \"Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more\")\n- [get-installed-path](https://www.npmjs.com/package/get-installed-path): Get locally or globally installation path of given package name | [homepage](https://github.com/tunnckocore/get-installed-path#readme \"Get locally or globally installation path of given package name\")\n- [global-modules](https://www.npmjs.com/package/global-modules): The directory used by npm for globally installed npm modules. | [homepage](https://github.com/jonschlinkert/global-modules \"The directory used by npm for globally installed npm modules.\")\n- [is-installed](https://www.npmjs.com/package/is-installed): Checks that given package is installed on the system - globally or locally. | [homepage](https://github.com/tunnckoCore/is-installed#readme \"Checks that given package is installed on the system - globally or locally.\")\n- [minibase](https://www.npmjs.com/package/minibase): Minimalist alternative for Base. Build complex APIs with small units called plugins. Works well with most of the already existing… [more](https://github.com/node-minibase/minibase#readme) | [homepage](https://github.com/node-minibase/minibase#readme \"Minimalist alternative for Base. Build complex APIs with small units called plugins. Works well with most of the already existing [base][] plugins.\")\n- [try-catch-core](https://www.npmjs.com/package/try-catch-core): Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and… [more](https://github.com/hybridables/try-catch-core#readme) | [homepage](https://github.com/hybridables/try-catch-core#readme \"Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.\")\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/detect-installed/issues/new).  \nPlease read the [contributing guidelines](CONTRIBUTING.md) for advice on opening issues, pull requests, and coding standards.  \nIf you need some help and can spent some cash, feel free to [contact me at CodeMentor.io](https://www.codementor.io/tunnckocore?utm_source=github&utm_medium=button&utm_term=tunnckocore&utm_campaign=github) too.\n\n**In short:** If you want to contribute to that project, please follow these things\n\n1. Please DO NOT edit [README.md](README.md), [CHANGELOG.md](CHANGELOG.md) and [.verb.md](.verb.md) files. See [\"Building docs\"](#building-docs) section.\n2. Ensure anything is okey by installing the dependencies and run the tests. See [\"Running tests\"](#running-tests) section.\n3. Always use `npm run commit` to commit changes instead of `git commit`, because it is interactive and user-friendly. It uses [commitizen][] behind the scenes, which follows Conventional Changelog idealogy.\n4. Do NOT bump the version in package.json. For that we use `npm run release`, which is [standard-version][] and follows Conventional Changelog idealogy.\n\nThanks a lot! :)\n\n## Building docs\nDocumentation and that readme is generated using [verb-generate-readme][], which is a [verb][] generator, so you need to install both of them and then run `verb` command like that\n\n```\n$ npm install verbose/verb#dev verb-generate-readme --global && verb\n```\n\n_Please don't edit the README directly. Any changes to the readme must be made in [.verb.md](.verb.md)._\n\n## Running tests\nClone repository and run the following in that cloned directory\n\n```\n$ npm install && npm test\n```\n\n## Author\n**Charlike Mike Reagent**\n\n+ [github/tunnckoCore](https://github.com/tunnckoCore)\n+ [twitter/tunnckoCore](http://twitter.com/tunnckoCore)\n+ [codementor/tunnckoCore](https://codementor.io/tunnckoCore)\n\n## License\nCopyright © 2016, [Charlike Mike Reagent](http://i.am.charlike.online). Released under the [MIT license](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on December 11, 2016._  \n_Project scaffolded using [charlike][] cli._\n\n[always-done]: https://github.com/hybridables/always-done\n[async-done]: https://github.com/gulpjs/async-done\n[base]: https://github.com/node-base/base\n[charlike]: https://github.com/tunnckocore/charlike\n[commitizen]: https://github.com/commitizen/cz-cli\n[dezalgo]: https://github.com/npm/dezalgo\n[once]: https://github.com/isaacs/once\n[standard-version]: https://github.com/conventional-changelog/standard-version\n[verb-generate-readme]: https://github.com/verbose/verb-generate-readme\n[verb]: https://github.com/verbose/verb\n\n[downloads-url]: https://www.npmjs.com/package/detect-installed\n[downloads-img]: https://img.shields.io/npm/dt/detect-installed.svg\n\n[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/detect-installed\n[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/detect-installed.svg\n\n[travis-url]: https://travis-ci.org/tunnckoCore/detect-installed\n[travis-img]: https://img.shields.io/travis/tunnckoCore/detect-installed/master.svg?label=linux\n\n[appveyor-url]: https://ci.appveyor.com/project/tunnckoCore/detect-installed\n[appveyor-img]: https://img.shields.io/appveyor/ci/tunnckoCore/detect-installed/master.svg?label=windows\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/detect-installed\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/detect-installed.svg\n\n[david-url]: https://david-dm.org/tunnckoCore/detect-installed\n[david-img]: https://img.shields.io/david/tunnckoCore/detect-installed.svg\n\n[standard-url]: https://github.com/feross/standard\n[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n\n[global-modules]: https://github.com/jonschlinkert/global-modules","_attachments":{},"homepage":"https://github.com/tunnckocore/detect-installed#readme","bugs":{"url":"https://github.com/tunnckocore/detect-installed/issues"},"license":"MIT"}