{"name":"validate.io-function","version":"0.0.1","description":"Validates if a value is a function.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/function.git"},"keywords":["validate.io","validate","validation","validator","valid","function"],"bugs":{"url":"https://github.com/validate-io/function/issues"},"dependencies":{},"devDependencies":{"chai":"1.x.x","mocha":"1.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"1f1f673e2c08de86c1b58bc04776ff71dfcad860","homepage":"https://github.com/validate-io/function","_id":"validate.io-function@0.0.1","_shasum":"0a7bbe990e5e2d095bef058ca1ee6603c40092c7","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"}],"dist":{"shasum":"0a7bbe990e5e2d095bef058ca1ee6603c40092c7","tarball":"http://registry-npm.ywwl.com/validate.io-function/download/validate.io-function-0.0.1.tgz","integrity":"sha512-qimLSAYAEJ3qVzDno7GC9gzgcAjegydFeZFcauvbxHJpTN43Vl33O9VNym9WnXwuKA61EnP50LO7eTLqkLGnRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEK0IOoOQdo/VAmBiAECEH5U7W/hV9KtsU8P6FaqsfySAiEAwWzPqve9EhTwRfcgo12ft3tl226GebEgPVmUdJC4kQ8="}],"size":2421,"noattachment":false,"key":"/validate.io-function/-/validate.io-function-0.0.1.tgz"},"directories":{},"readme":"Function\n===\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependencies][dependencies-image]][dependencies-url]\n\n> Validates if a value is a function.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-function\n```\n\nFor use in the browser, use [browserify](https://github.com/substack/node-browserify).\n\n\n## Usage\n\n``` javascript\nvar isFunction = require( 'validate.io-function' );\n```\n\n#### isFunction( value )\n\nValidates if a `value` is a `function`.\n\n``` javascript\nvar value = function beep(){};\n\nvar bool = isFunction( value );\n// returns true\n```\n\n\n## Examples\n\n``` javascript\nconsole.log( isFunction( function foo(){} ) );\n// returns true\n\nconsole.log( isFunction( {} ) );\n// returns false\n```\n\nTo run the example code from the top-level application directory,\n\n``` bash\n$ node ./examples/index.js\n```\n\n\n## Tests\n\n### Unit\n\nUnit tests use the [Mocha](http://mochajs.org) test framework with [Chai](http://chaijs.com) assertions. To run the tests, execute the following command in the top-level application directory:\n\n``` bash\n$ make test\n```\n\nAll new feature development should have corresponding unit tests to validate correct functionality.\n\n\n### Test Coverage\n\nThis repository uses [Istanbul](https://github.com/gotwarlost/istanbul) as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-cov\n```\n\nIstanbul creates a `./reports/coverage` directory. To access an HTML version of the report,\n\n``` bash\n$ make view-cov\n```\n\n\n---\n## License\n\n[MIT license](http://opensource.org/licenses/MIT). \n\n\n## Copyright\n\nCopyright &copy; 2014. Athan Reines.\n\n\n[npm-image]: http://img.shields.io/npm/v/validate.io-function.svg\n[npm-url]: https://npmjs.org/package/validate.io-function\n\n[travis-image]: http://img.shields.io/travis/validate-io/function/master.svg\n[travis-url]: https://travis-ci.org/validate-io/function\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/function/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/function?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/function.svg\n[dependencies-url]: https://david-dm.org/validate-io/function\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/function.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/function\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/function.svg\n[github-issues-url]: https://github.com/validate-io/function/issues\n","publish_time":1409450142151,"_cnpm_publish_time":1409450142151,"dist-tags":{"latest":"1.0.2"}}