{"id":18277670,"url":"https://github.com/inspect-js/is-arrow-function","last_synced_at":"2025-04-05T04:30:44.475Z","repository":{"id":10589579,"uuid":"12801341","full_name":"inspect-js/is-arrow-function","owner":"inspect-js","description":"Determine if a function is an ES6 arrow function or not.","archived":false,"fork":false,"pushed_at":"2024-05-10T04:09:07.000Z","size":103,"stargazers_count":22,"open_issues_count":4,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-20T21:44:14.281Z","etag":null,"topics":["arrow","function","is","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inspect-js.png","metadata":{"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"npm/deep-equal","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-13T04:18:35.000Z","updated_at":"2023-12-25T04:15:07.000Z","dependencies_parsed_at":"2024-06-18T15:44:10.615Z","dependency_job_id":null,"html_url":"https://github.com/inspect-js/is-arrow-function","commit_stats":{"total_commits":154,"total_committers":1,"mean_commits":154.0,"dds":0.0,"last_synced_commit":"264503a8864d40f1578348a9e2180fba7fd19987"},"previous_names":["ljharb/is-arrow-function"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-arrow-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-arrow-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-arrow-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-arrow-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inspect-js","download_url":"https://codeload.github.com/inspect-js/is-arrow-function/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289382,"owners_count":20914463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arrow","function","is","javascript"],"created_at":"2024-11-05T12:20:01.396Z","updated_at":"2025-04-05T04:30:42.356Z","avatar_url":"https://github.com/inspect-js.png","language":"JavaScript","readme":"# is-arrow-function \u003csup\u003e[![Version Badge][npm-version-svg]][npm-url]\u003c/sup\u003e\n\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\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) =\u003e a * b));\nassert(isArrowFunction(() =\u003e 42));\nassert(isArrowFunction(x =\u003e x * x));\nassert(isArrowFunction(x =\u003e () =\u003e 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]: https://versionbadg.es/inspect-js/is-arrow-function.svg\n[deps-svg]: https://david-dm.org/inspect-js/is-arrow-function.svg\n[deps-url]: https://david-dm.org/inspect-js/is-arrow-function\n[dev-deps-svg]: https://david-dm.org/inspect-js/is-arrow-function/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/is-arrow-function#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/is-arrow-function.png?downloads=true\u0026stars=true\n","funding_links":["https://github.com/sponsors/ljharb","https://tidelift.com/funding/github/npm/deep-equal"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finspect-js%2Fis-arrow-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finspect-js%2Fis-arrow-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finspect-js%2Fis-arrow-function/lists"}