{"id":15684091,"url":"https://github.com/pkolt/express-asyncify","last_synced_at":"2025-05-07T15:07:17.518Z","repository":{"id":139652856,"uuid":"78003568","full_name":"pkolt/express-asyncify","owner":"pkolt","description":"Easy support async/await to express","archived":false,"fork":false,"pushed_at":"2024-12-16T23:16:40.000Z","size":307,"stargazers_count":16,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T15:07:11.080Z","etag":null,"topics":["async","express","nodejs"],"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/pkolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-01-04T09:56:01.000Z","updated_at":"2025-04-09T10:11:33.000Z","dependencies_parsed_at":"2024-03-28T17:42:03.806Z","dependency_job_id":"45a4b72c-37b9-40ad-8828-7e564123a30b","html_url":"https://github.com/pkolt/express-asyncify","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkolt%2Fexpress-asyncify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkolt%2Fexpress-asyncify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkolt%2Fexpress-asyncify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkolt%2Fexpress-asyncify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkolt","download_url":"https://codeload.github.com/pkolt/express-asyncify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902614,"owners_count":21822261,"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","express","nodejs"],"created_at":"2024-10-03T17:11:06.309Z","updated_at":"2025-05-07T15:07:17.460Z","avatar_url":"https://github.com/pkolt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-asyncify ![](https://github.com/pkolt/express-asyncify/workflows/main/badge.svg)\n\nEasy support `async/await` to [express](http://expressjs.com/).\n\n🚨 Since v3:\n- Node.js \u003e= 20\n- Only ESM modules\n\n## Installation\n\n```bash\n$ npm i express express-asyncify\n```\n\n## Usage\n\nAsyncify express application:\n\n```javascript\nimport express from 'express';\nimport asyncify from 'express-asyncify';\n\nconst app = asyncify(express());\n\n// ...\n\napp.get('/', async (req, res) =\u003e {\n    const posts = await Post.findAll();\n    res.render('index', { posts });\n});\n```\n\nAsyncify express router:\n\n```javascript\nimport express from 'express';\nimport asyncify from 'express-asyncify';\n\nconst app = express();\nconst router = asyncify(express.Router());\n\n// ...\n\nrouter.get('/', async (req, res) =\u003e {\n    const posts = await Post.findAll();\n    res.render('index', { posts });\n});\n\napp.use('/blog', router);\n```\n\n## Tests\n\n  To run the test suite, first install the dependencies, then run `npm test`:\n\n```bash\n$ npm ci\n$ npm test\n```\n\n## License\n\n  [MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkolt%2Fexpress-asyncify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkolt%2Fexpress-asyncify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkolt%2Fexpress-asyncify/lists"}