{"_id":"is-arrow-function","_rev":"22-04aebb236b36d581605f1b1a1bc96f79","name":"is-arrow-function","description":"Determine if a function is an ES6 arrow function or not.","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"is-arrow-function","version":"1.0.0","description":"Determine if a function is an ES6 arrow function or not.","main":"index.js","scripts":{"test":"node --harmony test.js"},"repository":{"type":"git","url":"git://github.com/ljharb/node-is-arrow-function.git"},"keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/node-is-arrow-function/issues"},"dependencies":{},"devDependencies":{"tape":"~1.1.0"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"_id":"is-arrow-function@1.0.0","dist":{"shasum":"530a65466d3b3706d9cda8c837d7ff7e494a437e","tarball":"https://registry.npmjs.org/is-arrow-function/-/is-arrow-function-1.0.0.tgz","integrity":"sha512-1D6EJp7Gm5L+iMVow8UVgYSF3Jp6G6A/WuQKAEq9tTfP7ib30b3ijgm29gvJMdsnXoAgHxj12m7on7+MrgRLFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAub2a2zJUOZ9Z4Nfkw1wGStrgFHViNgf2HxcEp8LvaAiEA9EWBKwef5jJve8LeUzD1IgSNzVsY79gimUdOzS7ZmOQ="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"deprecated":"This version returns false negatives for real arrow functions","directories":{}},"1.0.1":{"name":"is-arrow-function","version":"1.0.1","description":"Determine if a function is an ES6 arrow function or not.","main":"index.js","scripts":{"test":"node --harmony test.js"},"repository":{"type":"git","url":"git://github.com/ljharb/node-is-arrow-function.git"},"keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/node-is-arrow-function/issues"},"dependencies":{},"devDependencies":{"tape":"~2.3.0"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"homepage":"https://github.com/ljharb/node-is-arrow-function","_id":"is-arrow-function@1.0.1","dist":{"shasum":"7569da6b860b59c21de4b82ac0919d5123afc0b9","tarball":"https://registry.npmjs.org/is-arrow-function/-/is-arrow-function-1.0.1.tgz","integrity":"sha512-LzuePZVuaWA+QyDH5AcDYIfF/XyTa46jcS388olj50R2eO96OmHJ1i0Qabwom+tEo8rRacmHhm6WQr4BfBYETg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFaAYTgFtiZmHwYC8LKfqTLr+p8EqDmbMBsGvj/ZImg4AiEAow3eRoreZNMtj9PTLdrkboY8tRw/PG/+ZynohfTCrws="}]},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"deprecated":"This version returns false negatives for real arrow functions","directories":{}},"1.0.2":{"name":"is-arrow-function","version":"1.0.2","description":"Determine if a function is an ES6 arrow function or not.","main":"index.js","scripts":{"test":"node --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/node-is-arrow-function.git"},"keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/node-is-arrow-function/issues"},"dependencies":{},"devDependencies":{"tape":"~2.14.0","covert":"~0.4.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"22caad063ea33043436d5359b55ff5ed4b8da4ae","homepage":"https://github.com/ljharb/node-is-arrow-function","_id":"is-arrow-function@1.0.2","_shasum":"247fd46cdb9e615a3a4ebb62033b0fdbae47e0f3","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"dist":{"shasum":"247fd46cdb9e615a3a4ebb62033b0fdbae47e0f3","tarball":"https://registry.npmjs.org/is-arrow-function/-/is-arrow-function-1.0.2.tgz","integrity":"sha512-joSg5Vo6PCLsOBTausf//2cGM+SiF32yVEGS0/6B57usmvWd8kUCIiRlOHATs9+NubehtTHoIJpvyVFGh3vY9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJlPAGIrt47AzCA+WRlIZB87i5DoPZHIp1T7sToajGMwIhAJQJVPRXYa64zHsBPhDqllW62dVo4D8K/wXKs6lDpEXB"}]},"deprecated":"This version returns false negatives for real arrow functions","directories":{}},"2.0.0":{"name":"is-arrow-function","version":"2.0.0","description":"Determine if a function is an ES6 arrow function or not.","main":"index.js","scripts":{"test":"npm run lint && node --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/node-is-arrow-function.git"},"keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/node-is-arrow-function/issues"},"dependencies":{},"devDependencies":{"tape":"~3.0.3","covert":"1.0.0","jscs":"~1.8.1"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"e725163308c0962f65a195c53d8f1e0c23f3bd76","homepage":"https://github.com/ljharb/node-is-arrow-function","_id":"is-arrow-function@2.0.0","_shasum":"f7912cb0876d66eca8ebb11f028f5ce306902220","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"dist":{"shasum":"f7912cb0876d66eca8ebb11f028f5ce306902220","tarball":"https://registry.npmjs.org/is-arrow-function/-/is-arrow-function-2.0.0.tgz","integrity":"sha512-kfZQ0zfjfAmyynxKiTtpvriMwM5kopaOzECKEMPOOeDTrbnSYqA9gIyKxkxGqtFJzKwQy0gWXSzUHZva78fAbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnQrTfDhioBNKEPNqswws2DpMzX2lEfO3IcpH7/+wCUwIgYN5boTrlehhjIg40664vR6pFfzb9AKIrsNdpSdCOFNs="}]},"directories":{}},"2.0.1":{"name":"is-arrow-function","version":"2.0.1","description":"Determine if a function is an ES6 arrow function or not.","main":"index.js","scripts":{"test":"npm run lint && node --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/node-is-arrow-function.git"},"keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/node-is-arrow-function/issues"},"dependencies":{},"devDependencies":{"tape":"~3.0.3","covert":"1.0.0","jscs":"~1.8.1","make-arrow-function":"~1.0.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"8f986890a70bc08414505bdab1b52789715dac4f","homepage":"https://github.com/ljharb/node-is-arrow-function","_id":"is-arrow-function@2.0.1","_shasum":"853165ecbb8cc7b16a3fcacf87010de5c2c15415","_from":".","_npmVersion":"2.1.12","_nodeVersion":"0.11.14","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"dist":{"shasum":"853165ecbb8cc7b16a3fcacf87010de5c2c15415","tarball":"https://registry.npmjs.org/is-arrow-function/-/is-arrow-function-2.0.1.tgz","integrity":"sha512-0q6i++k+G+v+m0zJ+tIl4EMSGEgXgWqKRvkJaGOrYtWKX84QKonhAe9l2MIgZeHyYlAoTmeOsg026gTETX27Zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoo4wegDWOih03cNZ0LUIkg2xVKzJ8xaDbEA0EyKfu0AiBWL4JJ3TCnxkctPQK1Z3g3Npf3Tje2155RL4IWSmqUwQ=="}]},"directories":{}},"2.0.2":{"name":"is-arrow-function","version":"2.0.2","description":"Determine if a function is an ES6 arrow function or not.","main":"index.js","scripts":{"test":"npm run lint && node --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/node-is-arrow-function.git"},"keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/node-is-arrow-function/issues"},"dependencies":{"is-callable":"~1.0.3"},"devDependencies":{"tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0","make-arrow-function":"~1.0.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"4a09458d070104a4b1432b6d7f1cdb5d423ae598","homepage":"https://github.com/ljharb/node-is-arrow-function","_id":"is-arrow-function@2.0.2","_shasum":"524f317b9a244305e0a892bba872e137972fbf58","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"dist":{"shasum":"524f317b9a244305e0a892bba872e137972fbf58","tarball":"https://registry.npmjs.org/is-arrow-function/-/is-arrow-function-2.0.2.tgz","integrity":"sha512-oG1uBL7oQhE9R5Tsjn97v7VJSixW7PXPAscOXBVj5Vh9Jho7PAkPPJhGyBswqQWUbhCT/1dYWZET0+VdqH7JEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtkLXsdNz9AXlL630t4js5CdDpSv3YdNpmFLNBnevt1wIgQmP1v+kVyMRhFt07Sg6ukGjihnfqQNwT4w9/4d/aPCs="}]},"directories":{}},"2.0.3":{"name":"is-arrow-function","version":"2.0.3","description":"Determine if a function is an ES6 arrow function or not.","main":"index.js","scripts":{"test":"npm run lint && node --es-staging --harmony test/index.js && npm run security","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js */*.js","eslint":"eslint *.js */*.js","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-arrow-function.git"},"keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-arrow-function/issues"},"dependencies":{"is-callable":"^1.0.4"},"devDependencies":{"tape":"^4.1.0","covert":"^1.1.0","jscs":"^2.1.0","make-arrow-function":"^1.0.0","eslint":"^1.1.0","@ljharb/eslint-config":"^1.0.4","nsp":"^1.0.3"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"62a6d8a3f33df4916527ce4dc846936e0e6ad9b3","homepage":"https://github.com/ljharb/is-arrow-function#readme","_id":"is-arrow-function@2.0.3","_shasum":"29be2c2d8d9450852b8bbafb635ba7b8d8e87ec2","_from":".","_npmVersion":"2.14.0","_nodeVersion":"3.0.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"29be2c2d8d9450852b8bbafb635ba7b8d8e87ec2","tarball":"https://registry.npmjs.org/is-arrow-function/-/is-arrow-function-2.0.3.tgz","integrity":"sha512-iDStzcT1FJMzx+TjCOK//uDugSe/Mif/8a+T0htydQ3qkJGvSweTZpVYz4hpJH0baloSPiAFQdA8WslAgJphvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDt382uprgHPEoACtjcZJpgPw5qVu1woBApI0hszcA6IAiBP3mTZI1FGJax2yeHPpme6q9tBqcN/isZjv8GARWDRWQ=="}]},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"directories":{}}},"readme":"#is-arrow-function <sup>[![Version Badge][npm-version-svg]][npm-url]</sup>\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n\n[![npm badge][npm-badge-png]][npm-url]\n\n[![browser support][testling-png]][testling-url]\n\nnpm module to determine if a function is an ES6 arrow function or not.\n\nNOTE: Only works in Firefox at the moment.\n\n## Example\n\n```js\nvar isArrowFunction = require('is-arrow-function');\nassert(!isArrowFunction(function () {}));\nassert(!isArrowFunction(null));\nassert(isArrowFunction((a, b) => a * b));\nassert(isArrowFunction(() => 42));\nassert(isArrowFunction(x => x * x));\nassert(isArrowFunction(x => () => x * x));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[npm-url]: https://npmjs.org/package/is-arrow-function\n[npm-version-svg]: http://versionbadg.es/ljharb/is-arrow-function.svg\n[travis-svg]: https://travis-ci.org/ljharb/is-arrow-function.svg\n[travis-url]: https://travis-ci.org/ljharb/is-arrow-function\n[deps-svg]: https://david-dm.org/ljharb/is-arrow-function.svg\n[deps-url]: https://david-dm.org/ljharb/is-arrow-function\n[dev-deps-svg]: https://david-dm.org/ljharb/is-arrow-function/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/is-arrow-function#info=devDependencies\n[testling-png]: https://ci.testling.com/ljharb/is-arrow-function.png\n[testling-url]: https://ci.testling.com/ljharb/is-arrow-function\n[npm-badge-png]: https://nodei.co/npm/is-arrow-function.png?downloads=true&stars=true\n\n","maintainers":[{"email":"ljharb@gmail.com","name":"ljharb"}],"time":{"modified":"2022-06-19T02:36:47.991Z","created":"2013-09-13T05:54:50.198Z","1.0.0":"2013-09-13T05:54:51.687Z","1.0.1":"2013-12-07T10:47:28.320Z","1.0.2":"2014-08-10T17:47:44.443Z","2.0.0":"2014-12-03T19:17:47.538Z","2.0.1":"2014-12-15T09:42:31.061Z","2.0.2":"2015-01-29T19:04:49.529Z","2.0.3":"2015-08-16T21:44:10.357Z"},"author":{"name":"Jordan Harband"},"repository":{"type":"git","url":"git://github.com/ljharb/is-arrow-function.git"},"users":{"rocket0191":true},"homepage":"https://github.com/ljharb/is-arrow-function#readme","keywords":["arrow","arrow function","es6","fat","fat arrow","function","=>"],"bugs":{"url":"https://github.com/ljharb/is-arrow-function/issues"},"license":"MIT","readmeFilename":"README.md"}