{"_id":"try-catch-callback","_rev":"29-d3debe263734113db559149e36ead991","name":"try-catch-callback","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","dist-tags":{"latest":"2.0.2"},"versions":{"0.0.0":{"name":"try-catch-callback","version":"0.0.0","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/tunnckocore/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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 --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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"lint":{"reflinks":true}},"gitHead":"9a8f8dd32b5925adaf2da19f97cf53db04f31d1b","bugs":{"url":"https://github.com/tunnckocore/try-catch-callback/issues"},"homepage":"https://github.com/tunnckocore/try-catch-callback#readme","_id":"try-catch-callback@0.0.0","_shasum":"732a1cda09485780c8045ee2840aa5c231302765","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"732a1cda09485780c8045ee2840aa5c231302765","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-0.0.0.tgz","integrity":"sha512-wAYb32I2z51U0NgPOX3V1y9ohSzAJx8+4esip/7FK9VsvQXYE15VCP76S+k9By8zLPcxJpDTcWkl5K1aNxf8vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAf44Jd/0igMQjaSSgqWemt1VlfA1x1C6LYx+vzTmilwAiEAjiEIbcQpL/VDPTGtEy5Dha6TZ5b6yBhdwxSGuu4Mix0="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/try-catch-callback-0.0.0.tgz_1474549606324_0.07160407491028309"},"directories":{}},"0.1.0":{"name":"try-catch-callback","version":"0.1.0","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/tunnckocore/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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 --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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core"],"lint":{"reflinks":true}},"gitHead":"d2ffa6c9aad2e14823dbb3061f8dd731e80b66d0","bugs":{"url":"https://github.com/tunnckocore/try-catch-callback/issues"},"homepage":"https://github.com/tunnckocore/try-catch-callback#readme","_id":"try-catch-callback@0.1.0","_shasum":"a70d7ee100b5c96929182bb9d4b76417840e4def","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"a70d7ee100b5c96929182bb9d4b76417840e4def","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-0.1.0.tgz","integrity":"sha512-E6Ie6kIt1t2zYY7veuRU7+n5dwEeX1Epl8YRIlXKcBY5r2shzRPymjl2ttGSgG6p7I1OPmwYh6F+6v+GuKrwjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHb9JyuGKSNOGcAANVkSP1VZhpQ1mKD5faudyQg+ts/tAiBYgJlL7mAB8pcS25/rWi1NTqOTQMr26g2vhrmOP5C3kw=="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/try-catch-callback-0.1.0.tgz_1474551678170_0.16007470921613276"},"directories":{}},"1.0.0":{"name":"try-catch-callback","version":"1.0.0","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/tunnckocore/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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 --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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core"],"lint":{"reflinks":true}},"gitHead":"5f8111d092cf2b9f6756e4b70e32234be5704efb","bugs":{"url":"https://github.com/tunnckocore/try-catch-callback/issues"},"homepage":"https://github.com/tunnckocore/try-catch-callback#readme","_id":"try-catch-callback@1.0.0","_shasum":"1d7230ef1ec373bbde2db68530dc966bc4a9e8ad","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"1d7230ef1ec373bbde2db68530dc966bc4a9e8ad","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-1.0.0.tgz","integrity":"sha512-xIclSxqYPi1MvBQQsMVj/TwRqrufUPWHsVdY52Gv/gqW9ZLlLr9iKUNCdhMON5qbmb1WOFLtRXZA9NWHknqYXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc8JxqRatWDWAKcFcyoSPrCi2zwcoqUpJ/k8U/Gv83+QIhALbsEw8oHSs8+D5CH3HzgyIlKY8PSyyjEGE84BBszDNs"}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/try-catch-callback-1.0.0.tgz_1474551766852_0.14414689759723842"},"directories":{}},"1.0.1":{"name":"try-catch-callback","version":"1.0.1","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/tunnckocore/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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 --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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core"],"lint":{"reflinks":true}},"gitHead":"ae7e0a74e5b6fad75aa9ef102a698f465180f59d","bugs":{"url":"https://github.com/tunnckocore/try-catch-callback/issues"},"homepage":"https://github.com/tunnckocore/try-catch-callback#readme","_id":"try-catch-callback@1.0.1","_shasum":"722acd8e5599163b26fbb798b9abafe558e7e5f7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"722acd8e5599163b26fbb798b9abafe558e7e5f7","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-1.0.1.tgz","integrity":"sha512-IJsGEDLx4KKaaLvoF+FcNniUOpsFL/AoIWuy5kjse6WgMpyYt4K79tXJIqVLw2/ZYjcC81Ff4ckImtYR/kyAfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2QjuByUIj/iXxUHHmKlUiHOAhTwSSNWhKlronRjTONAIgGSH+K4XeE1HCTZMbwR9CmVrbFLqRGV2AAj4ktKcrQqw="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/try-catch-callback-1.0.1.tgz_1474553041289_0.1332781887613237"},"directories":{}},"1.0.2":{"name":"try-catch-callback","version":"1.0.2","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/tunnckocore/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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 --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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core"],"lint":{"reflinks":true}},"gitHead":"97837ad4f5a201ee71502b71e5753a693584c510","bugs":{"url":"https://github.com/tunnckocore/try-catch-callback/issues"},"homepage":"https://github.com/tunnckocore/try-catch-callback#readme","_id":"try-catch-callback@1.0.2","_shasum":"aee77cea2bb42684e690fae7b7f0264ecde0d53d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"aee77cea2bb42684e690fae7b7f0264ecde0d53d","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-1.0.2.tgz","integrity":"sha512-iRQofOSyQd9jT6IFgGRDW9ZI1s7/ZxiNFzhTlBhT95M2F1yyiW4e1NIZvp0PFJhY3eC4KSDM09n4SVKStLIs7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFKsWP36KrKJOz//5/CwEkTtQf9pJMhfJP2eFTRS8OvwIhANGbbP4JqcykQzNbSUit94xRfXeqiiszKHS9/1B5fN3x"}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/try-catch-callback-1.0.2.tgz_1474553264771_0.13920946908183396"},"directories":{}},"1.1.0":{"name":"try-catch-callback","version":"1.1.0","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/tunnckocore/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core","es6-template","gana","gana-compile"],"lint":{"reflinks":true}},"gitHead":"bf1e6be53ac8aed93aa1310f091a1dbcac78f0c7","bugs":{"url":"https://github.com/tunnckocore/try-catch-callback/issues"},"homepage":"https://github.com/tunnckocore/try-catch-callback#readme","_id":"try-catch-callback@1.1.0","_shasum":"bd3af1c80d241be1c705fa4693467a8ff47842d4","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"bd3af1c80d241be1c705fa4693467a8ff47842d4","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-1.1.0.tgz","integrity":"sha512-s+XS6JdyViGkf8ApEDuNu9Gpdz0ApxQ8TX17DrN6o9Jr1JaVgFgf3sBCa0mZBj9V8jhDUeP+LAr9eRyppKm2SA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhXQ2V5YHf5ZkDdupZaqFvY3lDL3nrOQpWptDApCWKqAiACWRGAxV9E8G53qNu+Imk/G3JcnKcTcnOXdiZ6ZmrX7w=="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/try-catch-callback-1.1.0.tgz_1477798558585_0.9482127910014242"},"directories":{}},"1.1.1":{"name":"try-catch-callback","version":"1.1.1","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/hybridables/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core","es6-template","gana","gana-compile"],"lint":{"reflinks":true}},"gitHead":"83fa6f89420e449f4d34ace6ee77e0464080287c","bugs":{"url":"https://github.com/hybridables/try-catch-callback/issues"},"homepage":"https://github.com/hybridables/try-catch-callback#readme","_id":"try-catch-callback@1.1.1","_shasum":"52b27b29af77da3213a55e8a081a9cf01e8a2759","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"52b27b29af77da3213a55e8a081a9cf01e8a2759","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-1.1.1.tgz","integrity":"sha512-6MNVEkBeuaG/i0IBOTXNKL312xHYpk/+EDswk9HCXN2AlGXQ+u5CyiCKSmBveMgrZb9FjkkBfVcR5auGZUAzow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxrkVQky4HH024IGkkQwBDzq5NHR17c0ExUe7GDnG3ugIgGWJ4S21OnqNozpwTFl0LCziRPpX7CsnCLm6F3Zm9LJ4="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/try-catch-callback-1.1.1.tgz_1477802892514_0.43173996824771166"},"directories":{}},"1.1.2":{"name":"try-catch-callback","version":"1.1.2","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/hybridables/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core","es6-template","gana","gana-compile"],"lint":{"reflinks":true}},"gitHead":"157ad9fdb33fc93f56d2b7dfcc0f8dc2656ffb3f","bugs":{"url":"https://github.com/hybridables/try-catch-callback/issues"},"homepage":"https://github.com/hybridables/try-catch-callback#readme","_id":"try-catch-callback@1.1.2","_shasum":"b207542bfd87a2f888a0a4032a8bd1f6ebaaa13e","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"b207542bfd87a2f888a0a4032a8bd1f6ebaaa13e","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-1.1.2.tgz","integrity":"sha512-dZEDfOQzQvE6qXnR3ez/VMYrZ1LTpMUKGM7wWzklekzdqNZiPksI0oI2sMDElGzaqZi9QbVHMcV1WwsSzGPAtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkSVIdGr1pc7F8/7qhLJg2OnZeQ/VPKyhqY2v+bkkH7AIgbvjNwdQe+Ty0skqEayIM5gr2Brcj3jrvz/JxzaFh/XE="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/try-catch-callback-1.1.2.tgz_1477953206769_0.693593259435147"},"directories":{}},"2.0.0":{"name":"try-catch-callback","version":"2.0.0","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/hybridables/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core","es6-template","gana","gana-compile"],"lint":{"reflinks":true}},"gitHead":"563a65d2c6b745bf8e3f6c8cf72660c7821b901a","bugs":{"url":"https://github.com/hybridables/try-catch-callback/issues"},"homepage":"https://github.com/hybridables/try-catch-callback#readme","_id":"try-catch-callback@2.0.0","_shasum":"4bbb06d9884cdbe5bf949fb52d4647d5f9c4c7c2","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"4bbb06d9884cdbe5bf949fb52d4647d5f9c4c7c2","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-2.0.0.tgz","integrity":"sha512-CGFAYzz8o2Maeaa2KSmaEKiSWrxVax/r5t9YJyvT9aGY1TPQ7yJddSS4JKeccX6G/q3iP3QaGR8DdXzQVQF9Jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZULTEX5OQnQKONujCfbuvXVnKWvxYTfiq5+U3ClFe7gIgTwMX3sqzgh8WNH4HG0Nguj2qX3TiKpT/wt8YnLVOWZQ="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/try-catch-callback-2.0.0.tgz_1477958864671_0.8115680166520178"},"directories":{}},"2.0.1":{"name":"try-catch-callback","version":"2.0.1","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/hybridables/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"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":{},"devDependencies":{"commitizen":"^2.8.6","coveralls":"^2.11.12","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","nyc":"^8.1.0","pre-commit":"^1.1.3","standard":"^8.1.0","standard-version":"^2.4.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","once","try-catch-core","es6-template","gana","gana-compile"],"lint":{"reflinks":true}},"gitHead":"de3fa5e098285c7ce14942e9fd7712e1825be812","bugs":{"url":"https://github.com/hybridables/try-catch-callback/issues"},"homepage":"https://github.com/hybridables/try-catch-callback#readme","_id":"try-catch-callback@2.0.1","_shasum":"54b92782f5c8032119248feca5b7716e3f73a18c","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"54b92782f5c8032119248feca5b7716e3f73a18c","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-2.0.1.tgz","integrity":"sha512-AF+ui64ExZjvCdvyNIKEgIWgSI7DUKFoGHynjq4pB9ku7FiID6xjp93zPd8Lk/bm3goPiLBXTNOCsLhVsh7UFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdWHYniZSHgNvswIG6DVgtVNY9L/OZ65XOjaSSzUGAuAiEA6VRwSq2L27rLmqSLbhBLXfD4t4ZcZBWQrXdO+Dxi19E="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/try-catch-callback-2.0.1.tgz_1478295580208_0.45839351788163185"},"directories":{}},"2.0.2":{"name":"try-catch-callback","version":"2.0.2","description":"try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].","repository":{"type":"git","url":"git+https://github.com/hybridables/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"lint":"standard **/*.js --fix --verbose","test":"npm-run-all -s lint test:*","test:api":"nyc --reporter lcov node test.js","test:report":"nyc report","prerelease":"npm test","release":"standard-version --sign --no-verify","git":"npm-run-all -s git:*","git:add":"git add --all","git:cz":"git-cz","commit":"npm-run-all -s test git"},"dependencies":{"extend-shallow":"^2.0.1"},"devDependencies":{"commitizen":"^2.8.6","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.1","npm-run-all":"^4.0.2","nyc":"^10.1.2","pre-commit":"^1.1.3","standard":"^9.0.0","standard-version":"^3.0.0"},"files":["index.js"],"keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"verb":{"run":true,"toc":false,"layout":"empty","tasks":["readme"],"related":{"list":["try-catch-core","gana","gana-compile","try-require-please","catchup"]},"reflinks":["dezalgo","es6-template","gana","gana-compile","once","try-catch-core","always-done","charlike","commitizen","standard-version","verb","verb-generate-readme"],"lint":{"reflinks":true}},"nyc":{"check-coverage":true,"statements":100,"functions":100,"branches":100,"lines":100},"gitHead":"04fd70a7732ef7c439d1aeb7d468e9c3a415644e","bugs":{"url":"https://github.com/hybridables/try-catch-callback/issues"},"homepage":"https://github.com/hybridables/try-catch-callback#readme","_id":"try-catch-callback@2.0.2","_shasum":"3ca71efa4242d8a45ee1c02c91bd17a150cdd534","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"3ca71efa4242d8a45ee1c02c91bd17a150cdd534","tarball":"https://registry.npmjs.org/try-catch-callback/-/try-catch-callback-2.0.2.tgz","integrity":"sha512-x8A83XFDYEOo1z6OjOmHQ2Qs/h00FwsvKRmpMHXhy7XOzJwPO98W605omrwERjg5OkUew9+4Iy49+qHEgaVIFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0+NLck5QFDOeB3YtkVvIF4bL6a4tJEhxx6I6Sm5fOKAIhAMfPKciQvD9VMN1biUMNlmVc2+OXPXXFt3nwUK60vyC6"}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/try-catch-callback-2.0.2.tgz_1488356939099_0.6192189417779446"},"directories":{}}},"readme":"<p align=\"center\">\n  <a href=\"https://github.com/hybridables\">\n    <img height=\"250\" width=\"250\" src=\"https://avatars1.githubusercontent.com/u/10666022?v=3&s=250\">\n  </a>\n</p>\n\n# try-catch-callback [![NPM version](https://img.shields.io/npm/v/try-catch-callback.svg?style=flat)](https://www.npmjs.com/package/try-catch-callback) [![NPM monthly downloads](https://img.shields.io/npm/dm/try-catch-callback.svg?style=flat)](https://npmjs.org/package/try-catch-callback) [![npm total downloads][downloads-img]][downloads-url]\n\n> try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].\n\n[![codeclimate][codeclimate-img]][codeclimate-url] \n[![codestyle][standard-img]][standard-url] \n[![linux build][travis-img]][travis-url] \n[![windows build][appveyor-img]][appveyor-url] \n[![codecov][coverage-img]][coverage-url] \n[![dependency status][david-img]][david-url]\n\n## Install\n```\nnpm i try-catch-callback --save\n```\n\n## Usage\n> For more use-cases see the [tests](./test.js)\n\n```js\nconst tryCatchCallback = require('try-catch-callback')\n```\n\n### [tryCatchCallback](index.js#L47)\n> Pass a synchronous `fn` that returns some result and handle completion or errors in `cb` if given, otherwise it returns thunk which accepts that `cb`. It's possible to not work in \"async mode\", if that's the case try to use [try-catch-core][] for your case, which guarantees that `cb` is called only once and always in next tick, using [dezalgo][] and [once][].\n\n**Params**\n\n* `<fn>` **{Function}**: function to be called.    \n* `[opts]` **{Object}**: optional options, such as `context` and `args`    \n* `[opts.context]` **{Object}**: context to be passed to `fn`    \n* `[opts.args]` **{Array}**: custom argument(s) to be pass to `fn`, given value is arrayified    \n* `[opts.passCallback]` **{Boolean}**: pass `true` if you want `cb` to be passed to `fn` args    \n* `[opts.return]` **{Boolean}**: if `true` returns error/value and does not calls `cb`    \n* `[cb]` **{Function}**: callback with `cb(err, res)` signature.    \n* `returns` **{Function}** `thunk`: if `cb` not given.  \n\n**Example**\n\n```js\nvar tryCatch = require('try-catch-callback')\n\ntryCatch(function () {\n  return 'fox qux'\n}, function done (err, res) {\n  if (err) return console.error(err)\n  console.log(res) // => 'fox qux'\n})\n```\n\n**passing custom context**\n\n```js\nconst tryCatch = require('try-catch-callback')\n\ntryCatch(function () {\n  console.log(this.foo) // => 'bar'\n  console.log(this.baz) // => 'qux'\n  return `${this.foo}/${this.baz}`\n}, {\n  context: { foo: 'bar', baz: 'qux' }\n}, function done (err, res) {\n  if (err) return console.error(err)\n  console.log(res) // => 'bar/qux'\n})\n```\n\n**passing custom arguments**\n\n```js\nconst tryCatchCallback = require('try-catch-callback')\nconst done = (err, res) => console.log(res) // => 'zzz123'\nconst opts = {\n  args: [ { foo: 'zzz' }, 123 ]\n}\n\ntryCatchCallback((ctx, qux) => {\n  return ctx.foo + qux\n}, opts, done)\n\n```\n\n**returning a thunk**\n\n```js\nconst tryCatch = require('try-catch-callback')\nconst thunk = tryCatch((a, b) => {\n  return a + b + 3\n}, { args: [1, 2] })\n\nthunk((err, res) => {\n  console.log(res) // => 6\n})\n```\n\n## Related\n- [catchup](https://www.npmjs.com/package/catchup): Graceful error handling. Because core `domain` module is deprecated. This share almost the same API. | [homepage](https://github.com/tunnckocore/catchup#readme \"Graceful error handling. Because core `domain` module is deprecated. This share almost the same API.\")\n- [gana-compile](https://www.npmjs.com/package/gana-compile): Pretty small synchronous template engine built on ES2015 Template Strings, working on `node@0.10` too. No RegExps, support for helpers and… [more](https://github.com/tunnckocore/gana-compile#readme) | [homepage](https://github.com/tunnckocore/gana-compile#readme \"Pretty small synchronous template engine built on ES2015 Template Strings, working on `node@0.10` too. No RegExps, support for helpers and what you want. Use [gana][] if you wanna both async and sync support.\")\n- [gana](https://www.npmjs.com/package/gana): Small and powerful template engine with only sync and async compile. The mid-level between [es6-template][] and [gana-compile][]. | [homepage](https://github.com/tunnckocore/gana#readme \"Small and powerful template engine with only sync and async compile. The mid-level between [es6-template][] and [gana-compile][].\")\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- [try-require-please](https://www.npmjs.com/package/try-require-please): Try to require the given module, failing loudly with default message if module does not exists. | [homepage](https://github.com/tunnckocore/try-require-please#readme \"Try to require the given module, failing loudly with default message if module does not exists.\")\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/hybridables/try-catch-callback/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](https://twitter.com/tunnckoCore)\n+ [codementor/tunnckoCore](https://codementor.io/tunnckoCore)\n\n## License\nCopyright © 2016-2017, [Charlike Mike Reagent](http://www.tunnckocore.tk). MIT\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on March 01, 2017._  \n_Project scaffolded using [charlike][] cli._\n\n[dezalgo]: https://github.com/npm/dezalgo\n[es6-template]: https://github.com/tunnckocore/es6-template\n[gana-compile]: https://github.com/tunnckocore/gana-compile\n[gana]: https://github.com/tunnckocore/gana\n[once]: https://github.com/isaacs/once\n[try-catch-core]: https://github.com/hybridables/try-catch-core\n\n[downloads-url]: https://www.npmjs.com/package/try-catch-callback\n[downloads-img]: https://img.shields.io/npm/dt/try-catch-callback.svg\n\n[codeclimate-url]: https://codeclimate.com/github/hybridables/try-catch-callback\n[codeclimate-img]: https://img.shields.io/codeclimate/github/hybridables/try-catch-callback.svg\n\n[travis-url]: https://travis-ci.org/hybridables/try-catch-callback\n[travis-img]: https://img.shields.io/travis/hybridables/try-catch-callback/master.svg?label=linux\n\n[appveyor-url]: https://ci.appveyor.com/project/tunnckoCore/try-catch-callback\n[appveyor-img]: https://img.shields.io/appveyor/ci/tunnckoCore/try-catch-callback/master.svg?label=windows\n\n[coverage-url]: https://codecov.io/gh/hybridables/try-catch-callback\n[coverage-img]: https://img.shields.io/codecov/c/github/hybridables/try-catch-callback/master.svg\n\n[david-url]: https://david-dm.org/hybridables/try-catch-callback\n[david-img]: https://img.shields.io/david/hybridables/try-catch-callback.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[always-done]: https://github.com/hybridables/always-done\n[charlike]: https://github.com/tunnckocore/charlike\n[commitizen]: https://github.com/commitizen/cz-cli\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","maintainers":[{"email":"super.ludiq@gmail.com","name":"vanchoy"},{"email":"mameto2011@gmail.com","name":"tunnckocore"}],"time":{"modified":"2022-06-27T21:54:57.676Z","created":"2016-09-22T13:06:47.082Z","0.0.0":"2016-09-22T13:06:47.082Z","0.1.0":"2016-09-22T13:41:19.078Z","1.0.0":"2016-09-22T13:42:48.925Z","1.0.1":"2016-09-22T14:04:02.177Z","1.0.2":"2016-09-22T14:07:46.872Z","1.1.0":"2016-10-30T03:35:59.230Z","1.1.1":"2016-10-30T04:48:14.697Z","1.1.2":"2016-10-31T22:33:28.704Z","2.0.0":"2016-11-01T00:07:45.287Z","2.0.1":"2016-11-04T21:39:42.117Z","2.0.2":"2017-03-01T08:28:59.751Z"},"homepage":"https://github.com/hybridables/try-catch-callback#readme","keywords":["async","block","callback","catch","cb","core","try","try-catch-callback","trycatch"],"repository":{"type":"git","url":"git+https://github.com/hybridables/try-catch-callback.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"bugs":{"url":"https://github.com/hybridables/try-catch-callback/issues"},"license":"MIT","readmeFilename":"README.md"}