{"id":18277655,"url":"https://github.com/inspect-js/is-async-function","last_synced_at":"2025-04-06T01:08:46.354Z","repository":{"id":33261729,"uuid":"36906208","full_name":"inspect-js/is-async-function","owner":"inspect-js","description":"Is this a native `async function`?","archived":false,"fork":false,"pushed_at":"2025-01-23T06:28:26.000Z","size":252,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T00:07:45.811Z","etag":null,"topics":["async","async-await","await","fn","function","is-async-function"],"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":"2015-06-05T01:58:52.000Z","updated_at":"2025-01-23T06:28:30.000Z","dependencies_parsed_at":"2025-01-15T03:35:06.663Z","dependency_job_id":"76d06ac0-9978-4a37-868f-daf37131d78c","html_url":"https://github.com/inspect-js/is-async-function","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"b8d050ba1ab615ef748e8ffbe48c5fc4e14af510"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-async-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-async-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-async-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-async-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inspect-js","download_url":"https://codeload.github.com/inspect-js/is-async-function/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419860,"owners_count":20936012,"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":["async","async-await","await","fn","function","is-async-function"],"created_at":"2024-11-05T12:19:55.740Z","updated_at":"2025-04-06T01:08:46.338Z","avatar_url":"https://github.com/inspect-js.png","language":"JavaScript","readme":"# is-async-function \u003csup\u003e[![Version Badge][2]][1]\u003c/sup\u003e\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this a native `async function`?\n\n## Example\n\n```js\nvar isAsyncFunction = require('is-async-function');\nassert(!isAsyncFunction(function () {}));\nassert(!isAsyncFunction(null));\nassert(!isAsyncFunction(function* () { yield 42; return Infinity; }));\nassert(isAsyncFunction(async function () {}));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-async-function\n[2]: https://versionbadg.es/inspect-js/is-async-function.svg\n[5]: https://david-dm.org/inspect-js/is-async-function.svg\n[6]: https://david-dm.org/inspect-js/is-async-function\n[7]: https://david-dm.org/inspect-js/is-async-function/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-async-function#info=devDependencies\n[11]: https://nodei.co/npm/is-async-function.png?downloads=true\u0026stars=true\n[license-image]: https://img.shields.io/npm/l/is-async-function.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-async-function.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-async-function\n[codecov-image]: https://codecov.io/gh/inspect-js/is-async-function/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-async-function/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-async-function\n[actions-url]: https://github.com/inspect-js/is-async-function/actions\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-async-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finspect-js%2Fis-async-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finspect-js%2Fis-async-function/lists"}