{"_id":"is-empty-function","_rev":"31-ef73a1db22b2f968c440a463cd99f02e","name":"is-empty-function","description":"Check that given string, function or arrow function have empty body, using `parse-function`.","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"is-empty-function","version":"1.0.0","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/license.md"},"dependencies":{"parse-function":"^1.0.0"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"d8b006dcc6f4cb5d558373f7301c5924b5f60711","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function","_id":"is-empty-function@1.0.0","_shasum":"ecc2b99057a59bb56d5ae24a3088efd0374b11bd","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"ecc2b99057a59bb56d5ae24a3088efd0374b11bd","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.0.tgz","integrity":"sha512-wQjBn6wfH+90hhnuJZzSeesV97C30qKMsLs13DDlDNiKEpm66B7LD+uM06uLGcCL80BcJdpLWLCKjCmnOz0Jjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWXk4bvZYAQOj6MC0+FX5GggXf4RUr4K5BkT4hkwsbcgIgDDcKRt/nQN2zOOnpGKiM4Z4Io617qhbbd/ykBKzs1zk="}]},"directories":{}},"1.0.1":{"name":"is-empty-function","version":"1.0.1","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/license.md"},"dependencies":{"parse-function":"~2.0.0"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"73bc49dc218fa65e0edaf8f04ee3d8457ec77989","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function","_id":"is-empty-function@1.0.1","_shasum":"aa64884fffd1b4392f168e83e5299c20ffc9135f","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"aa64884fffd1b4392f168e83e5299c20ffc9135f","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.1.tgz","integrity":"sha512-n6Gi9e/MNu7X6iDdOsQjoUHqLDVJTNfMhpM8+fB8omdU+18R4bGolCTLHk7qPzOVgGZ3nxQPaMz2RGyrKMtAnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDyZySSyk4cHhiHyl3SHkzhS1huB7kXJhFzEVvRUBzOWAiEA3RVmjxGNafSM1WpaZ+pPB4wHz9fxvfZuX5X5XdADEWs="}]},"directories":{}},"1.0.2":{"name":"is-empty-function","version":"1.0.2","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/license.md"},"dependencies":{"parse-function":"~2.0.0"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"84823cdd098e43ee5e066e41a383745e06ad516a","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function","_id":"is-empty-function@1.0.2","_shasum":"193cdc91e20d2dc20878bfec581c9d50d289ba6f","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"193cdc91e20d2dc20878bfec581c9d50d289ba6f","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.2.tgz","integrity":"sha512-5NI+fH9MKXqJGk+DttaZya8GQOfjEPmxSgKw6Nw0Y1Ogr1av2BFmuKEhom2ZClFobolX9jlQ5OQvUclLKk2geg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSdX2eS8kQXAoPR4oEweQs0gqzCviQpco8MER2KwAf3gIgfyeDLAyS3pTwhoKiZyvKZp7SuPiAiJftgcsH2E7i4ws="}]},"directories":{}},"1.0.3":{"name":"is-empty-function","version":"1.0.3","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/license.md"},"dependencies":{"cleanup-coverage-code":"~1.0.2","parse-function":"~2.0.0"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"*","mocha-lcov-reporter":"^0.0.1"},"gitHead":"cef55c06558cc150ee4c7d85b6e9be4c27e48305","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function","_id":"is-empty-function@1.0.3","_shasum":"7d2a11647f1dc93d009eb1fca47f35eb55bc9dcd","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"7d2a11647f1dc93d009eb1fca47f35eb55bc9dcd","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.3.tgz","integrity":"sha512-5emSirjpgtP29me68M69KC+a6msXzwKVK3l+qIAROVxRQ7HwtSGe0AEVKtUFXHo5tDuHxSdGe95hxWvm7hvOgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXEwCVv+GFlh2BabJMcl/sag/VqrUVAf7ozZGc9P1WoAIhAO+vuBs2e+/RSiUtU9eseX/fdR1MwuMPzGBiknW25G4u"}]},"directories":{}},"1.0.4":{"name":"is-empty-function","version":"1.0.4","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"lint":"jshint index.js && jscs index.js --reporter inline","test":"mocha","test-cov":"istanbul cover _mocha","test-travis":"istanbul cover _mocha --report lcovonly"},"author":{"name":"Charlike Make Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/license.md"},"dependencies":{"cleanup-coverage-code":"~1.0.2","parse-function":"~2.0.0"},"devDependencies":{"istanbul-harmony":"^0.3.1","mocha":"~2.1.0"},"gitHead":"e7ebbd293cecf219dd1c37ac959f709ad2f0f0ad","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function","_id":"is-empty-function@1.0.4","_shasum":"a43c16112c0c3f73f633cca581441f14921dadb7","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.14","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"a43c16112c0c3f73f633cca581441f14921dadb7","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.4.tgz","integrity":"sha512-yBgjK67lP3Ys3eTkto4ans7Ux9lPYnxHVrxRHmRFuHrjEzuG3gXI2r3ZhBC+WiaVy/5VPn9dDyxKZQijcnhM6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCi9Ys6Xb5QTmCGD+aJSuCalksB78VdxGNgLsY6M25G6gIfFVyMyMm6L8edyqPL2rRlgnpKm+JsgeMegs+CjdFM5w=="}]},"directories":{}},"1.0.5":{"name":"is-empty-function","version":"1.0.5","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"test":"standard && node test.js"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/LICENSE.md"},"dependencies":{"balanced-match":"~0.2.0","cleanup-coverage-code":"~1.0.3"},"devDependencies":{"assertit":"^0.1.0"},"gitHead":"fdb1e8e7d64f47d519e4cafe926ef2e7d13d8679","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function#readme","_id":"is-empty-function@1.0.5","_shasum":"71174ef2a57be591fa53b73985a5086021151828","_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"}],"dist":{"shasum":"71174ef2a57be591fa53b73985a5086021151828","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.5.tgz","integrity":"sha512-Lm1BYYlAwo/LyL0T+Z4+ZwfhJU3XXQvnrIgKmAoRFHE/5RgpXyqIsvQj9Xpqfoai8bXoMfLQOLTzl+uyy35alw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl9yVmZIY/fq5TsTFlikd5bF1ALCT0bbM0t98+LZX/agIhAOOrbWiGm9WhaO7kLPsL7Q3K9dmQCv5EhPm5F2BOISNB"}]},"directories":{}},"1.0.6":{"name":"is-empty-function","version":"1.0.6","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"test":"standard && node test.js"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/LICENSE.md"},"dependencies":{"balanced-match":"~0.2.0","cleanup-coverage-code":"~1.0.3"},"devDependencies":{"assertit":"^0.1.0"},"gitHead":"66b855105fd6a93ff2b4698e1866f8d137d2926b","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function#readme","_id":"is-empty-function@1.0.6","_shasum":"2c0cf44af1ef06a8ad54ef110ffc11e50f12fcb6","_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"}],"dist":{"shasum":"2c0cf44af1ef06a8ad54ef110ffc11e50f12fcb6","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.6.tgz","integrity":"sha512-yIQbW1sUtxykX4EuVPP3Yu4zTy87bbSOFTQYoLyB8YA6RrKEOGtxP3FbSx6NvOv17JTn0wyWlG0YL2sGZaZgOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDB3D/Zlhr0DahlV8iqxsm0pZDC1ajH4CZdDvOXveRsAAiEA8YP+5uZyqctOTxniI4yupdhNntZ8+MkUgnBnfGp6zB0="}]},"directories":{}},"1.0.7":{"name":"is-empty-function","version":"1.0.7","description":"Checks the given function (or fn.toString()) is with empty body - dont have body.","scripts":{"test":"standard && node test.js"},"author":{"name":"Charlike Mike Reagent","email":"mameto_100@mail.bg","url":"https://github.com/tunnckoCore"},"repository":{"type":"git","url":"git://github.com/tunnckoCore/is-empty-function.git"},"keywords":["args","argument","arguments","body","check","checks","empty","fn","fns","func","funcs","function","functions","given","name","names","obj","object","objects","parse","parser","parsers","parses","parsing","properties","property","string","strings","tostring","util","utils","validate","validates"],"license":{"type":"MIT","url":"https://github.com/tunnckoCore/is-empty-function/blob/master/LICENSE.md"},"dependencies":{"balanced-match":"~0.2.0","cleanup-coverage-code":"~1.0.3"},"devDependencies":{"assertit":"^0.1.0"},"gitHead":"45578d509da3b1a1df273040651d932bcfb69a40","bugs":{"url":"https://github.com/tunnckoCore/is-empty-function/issues"},"homepage":"https://github.com/tunnckoCore/is-empty-function#readme","_id":"is-empty-function@1.0.7","_shasum":"bd0f862790fcf4054a9a419ebd8b0b941c6a4b45","_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"}],"dist":{"shasum":"bd0f862790fcf4054a9a419ebd8b0b941c6a4b45","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.0.7.tgz","integrity":"sha512-GRHskeNakdJyYojkcmk6ceu3cNujQWJjXT/80VDd6m5AjrNCJUF0xOCwIKZEyClAgHTLBnpiQEeUhiaSAjPbTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIqrgAMsTAY8XH9UkriKlVmeZFkCKK8WpwqFi8YE8R5AiABT0WRk++x+ziaSIygtvXmQ4M50Ih2NnwZExJgjZbGOg=="}]},"directories":{}},"1.1.1":{"name":"is-empty-function","version":"1.1.1","description":"Check that given string, function or arrow function have empty body, using `parse-function`.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/is-empty-function.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"cleanup-coverage-code":"^1.0.3","parse-function":"^2.2.1"},"devDependencies":{"assertit":"^0.1.0","pre-commit":"^1.1.2"},"files":["index.js"],"keywords":["arrow","arrowfn","arrowfunction","body","check","empty","fn","func","function","is","is-empty-function","parse","string","validate","value"],"gitHead":"940fd2e206e3c9b5a428976deb3c125c334a08fa","bugs":{"url":"https://github.com/tunnckocore/is-empty-function/issues"},"homepage":"https://github.com/tunnckocore/is-empty-function#readme","_id":"is-empty-function@1.1.1","_shasum":"04bef4b6cff625fbf1a22eb1b2702a154e3c78de","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"04bef4b6cff625fbf1a22eb1b2702a154e3c78de","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.1.1.tgz","integrity":"sha512-LmF+6L+pDB1PRnVgHDUpYwwrRl+lbJau1zxi2pBCbuCj83AwGiKqc9pe5seb5smmACRDIwT9Pg+1CEGPhmXFew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH297mifJeOfp4iluc1iRuyluqlmqCCqAL4/WBeFSzxXAiB06WyO5G8hOp0sf5sDe35iFkCZoICtXBGr1FVPczzlCQ=="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"directories":{}},"1.1.2":{"name":"is-empty-function","version":"1.1.2","description":"Check that given string, function or arrow function have empty body, using `parse-function`.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/is-empty-function.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"cleanup-coverage-code":"^1.0.3","parse-function":"^2.3.0"},"devDependencies":{"assertit":"^0.1.0","pre-commit":"^1.1.2"},"files":["index.js"],"keywords":["arrow","arrowfn","arrowfunction","body","check","empty","fn","func","function","is","is-empty-function","parse","string","validate","value"],"gitHead":"c710a7642dba351c25f2486e3e220aea288d50d6","bugs":{"url":"https://github.com/tunnckocore/is-empty-function/issues"},"homepage":"https://github.com/tunnckocore/is-empty-function#readme","_id":"is-empty-function@1.1.2","_shasum":"f70ef35b89acbb746df917e34a190cd182aafc67","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"f70ef35b89acbb746df917e34a190cd182aafc67","tarball":"https://registry.npmjs.org/is-empty-function/-/is-empty-function-1.1.2.tgz","integrity":"sha512-t446A0/pMJ6WIsZLDDUoO3j6PcwpZwKO5CvDWuNcNmM4JFpjNevHeT/Mk+MdZ5eCmepwf7dmah1ZBCUNYshcog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDA2IsAAYYZRR3bhj1+yIzi2KF5Rs/jIsZkigHa5+CBewIhAOomcaYsVHVsnKU6OEDeU5vWGHQRP5M+QwzY0be64kFp"}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/is-empty-function-1.1.2.tgz_1454386529999_0.7460617437027395"},"directories":{}}},"readme":"# [is-empty-function][author-www-url] [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] \n\n> Check that given string, function or arrow function have empty body, using `parse-function`.\n\n[![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![dependency status][david-img]][david-url]\n\n\n## Install\n```\nnpm i is-empty-function --save\n```\n\n\n## Usage\n> For more use-cases see the [tests](./test.js)\n\n```js\nconst isEmptyFunction = require('is-empty-function')\n```\n\n### [isEmptyFunction](./index.js#L46)\n> Check that given string, function or arrow function have empty body, using `parse-function`.\n\n- `[val]` **{Function|ArrowFunction|String}** passed to [parse-function][parse-function]  \n- `return` **{Boolean}**\n\n**Example**\n\n```js\nconst isEmptyFunction = require('is-empty-function')\n\nconst fixture = \"function codeCov () {__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;};\"\nisEmptyFunction(fixture)            // => true\nisEmptyFunction('function () {}')   // => true\nisEmptyFunction('z => {}')          // => true\nisEmptyFunction('(a, b) => {}')     // => true\nisEmptyFunction(z => {})            // => true\nisEmptyFunction((a, b) => {})       // => true\n\n// return `false`\nisEmptyFunction('function () { return true }')      // => false\nisEmptyFunction('z => { return z * z }')            // => false\nisEmptyFunction('(a, b) => {}')                     // => false\nisEmptyFunction(z => { return z + z })              // => false\nisEmptyFunction((a, b) => { return a * b})          // => false\nisEmptyFunction((a, b) => a * 2 * z)                // => false\nisEmptyFunction(function () { return true })        // => false\nisEmptyFunction(function named () { return true })  // => false\n```\n\n\n## Related\n- [cleanup-coverage-code](https://github.com/tunnckoCore/cleanup-coverage-code): Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.\n- [is-ansi](https://github.com/tunnckocore/is-ansi): Check that given string contain ANSI color codes, without CLI\n- [is-async-function](https://github.com/tunnckocore/is-async-function): Check that given function is async (callback) function or not. Trying to guess that based on check if `callback`, `cb`, `done` or `next` exists as function argument name.\n- [is-backslash](https://github.com/tunnckocore/is-backslash): Checks given value is backslash - support char code number, hex, unicode or string value to be given.\n- [is-installed](https://github.com/tunnckoCore/is-installed): Checks that given package is installed on the system - globally or locally.\n- [is-missing](https://github.com/tunnckocore/is-missing): Check that given `name` or `user/repo` exists in npm registry or in github as user repository.\n- [is-real-object](https://github.com/tunnckocore/is-real-object): Returns `true` if a value is any type of object, but not an array. Browserify-ready.\n- [parse-function](https://github.com/tunnckocore/parse-function): Parse a function, arrow function or string to object with `name`, `args`, `params` and `body` properties.\n- [relike](https://github.com/hybridables/relike): Simple promisify a callback-style function with sane defaults. Support promisify-ing sync functions.\n\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/is-empty-function/issues/new).  \nBut before doing anything, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines.\n\n\n## [Charlike Make Reagent](http://j.mp/1stW47C) [![new message to charlike][new-message-img]][new-message-url] [![freenode #charlike][freenode-img]][freenode-url]\n\n[![tunnckocore.tk][author-www-img]][author-www-url] [![keybase tunnckocore][keybase-img]][keybase-url] [![tunnckoCore npm][author-npm-img]][author-npm-url] [![tunnckoCore twitter][author-twitter-img]][author-twitter-url] [![tunnckoCore github][author-github-img]][author-github-url]\n\n\n[npmjs-url]: https://www.npmjs.com/package/is-empty-function\n[npmjs-img]: https://img.shields.io/npm/v/is-empty-function.svg?label=is-empty-function\n\n[license-url]: https://github.com/tunnckoCore/is-empty-function/blob/master/LICENSE\n[license-img]: https://img.shields.io/badge/license-MIT-blue.svg\n\n\n[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/is-empty-function\n[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/is-empty-function.svg\n\n[travis-url]: https://travis-ci.org/tunnckoCore/is-empty-function\n[travis-img]: https://img.shields.io/travis/tunnckoCore/is-empty-function.svg\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/is-empty-function\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/is-empty-function.svg\n\n[david-url]: https://david-dm.org/tunnckoCore/is-empty-function\n[david-img]: https://img.shields.io/david/tunnckoCore/is-empty-function.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\n[author-www-url]: http://www.tunnckocore.tk\n[author-www-img]: https://img.shields.io/badge/www-tunnckocore.tk-fe7d37.svg\n\n[keybase-url]: https://keybase.io/tunnckocore\n[keybase-img]: https://img.shields.io/badge/keybase-tunnckocore-8a7967.svg\n\n[author-npm-url]: https://www.npmjs.com/~tunnckocore\n[author-npm-img]: https://img.shields.io/badge/npm-~tunnckocore-cb3837.svg\n\n[author-twitter-url]: https://twitter.com/tunnckoCore\n[author-twitter-img]: https://img.shields.io/badge/twitter-@tunnckoCore-55acee.svg\n\n[author-github-url]: https://github.com/tunnckoCore\n[author-github-img]: https://img.shields.io/badge/github-@tunnckoCore-4183c4.svg\n\n[freenode-url]: http://webchat.freenode.net/?channels=charlike\n[freenode-img]: https://img.shields.io/badge/freenode-%23charlike-5654a4.svg\n\n[new-message-url]: https://github.com/tunnckoCore/ama\n[new-message-img]: https://img.shields.io/badge/ask%20me-anything-green.svg\n\n[parse-function]: https://github.com/tunnckoCore/parse-function","maintainers":[{"email":"super.ludiq@gmail.com","name":"vanchoy"},{"email":"mameto2011@gmail.com","name":"tunnckocore"}],"time":{"modified":"2022-06-19T02:40:25.059Z","created":"2015-01-26T00:43:02.391Z","1.0.0":"2015-01-26T00:43:02.391Z","1.0.1":"2015-01-27T02:47:35.160Z","1.0.2":"2015-01-27T23:00:28.416Z","1.0.3":"2015-01-28T04:29:13.272Z","1.0.4":"2015-02-04T04:42:31.537Z","1.0.5":"2015-05-11T08:37:19.444Z","1.0.6":"2015-05-16T23:11:11.531Z","1.0.7":"2015-05-16T23:26:03.255Z","1.1.1":"2016-01-29T15:35:36.285Z","1.1.2":"2016-02-02T04:15:31.077Z"},"homepage":"https://github.com/tunnckocore/is-empty-function#readme","keywords":["arrow","arrowfn","arrowfunction","body","check","empty","fn","func","function","is","is-empty-function","parse","string","validate","value"],"repository":{"type":"git","url":"git+https://github.com/tunnckocore/is-empty-function.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"bugs":{"url":"https://github.com/tunnckocore/is-empty-function/issues"},"license":"MIT","readmeFilename":"README.md"}