{"id":20571946,"url":"https://github.com/chef-js/express","last_synced_at":"2025-04-14T17:07:52.312Z","repository":{"id":57197709,"uuid":"457869366","full_name":"chef-js/express","owner":"chef-js","description":"Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Express","archived":false,"fork":false,"pushed_at":"2024-09-05T14:11:22.000Z","size":401,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T17:07:40.206Z","etag":null,"topics":["cli","express","http-server","javascript","nodejs","nodejs-server","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chef-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-02-10T16:58:49.000Z","updated_at":"2024-09-05T14:11:26.000Z","dependencies_parsed_at":"2024-06-08T03:44:22.142Z","dependency_job_id":null,"html_url":"https://github.com/chef-js/express","commit_stats":{"total_commits":40,"total_committers":4,"mean_commits":10.0,"dds":"0.19999999999999996","last_synced_commit":"12fd0bd3d552c2a361da36a3837876aa886c6df8"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-js%2Fexpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-js%2Fexpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-js%2Fexpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chef-js%2Fexpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chef-js","download_url":"https://codeload.github.com/chef-js/express/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923765,"owners_count":21183953,"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":["cli","express","http-server","javascript","nodejs","nodejs-server","typescript"],"created_at":"2024-11-16T05:17:49.830Z","updated_at":"2025-04-14T17:07:52.283Z","avatar_url":"https://github.com/chef-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chef-express\n\n\u003cimg style=\"max-width: 100%; float: right;\" src=\"https://raw.githubusercontent.com/chef-js/core/main/chef.svg\" alt=\"kisscc0\" width=\"200\" height=\"200\" /\u003e\n\n\u003ca href=\"https://badge.fury.io/js/chef-express\"\u003e\u003cimg src=\"https://badge.fury.io/js/chef-express.svg\" alt=\"npm package version\" /\u003e\u003c/a\u003e \u003ca href=\"https://circleci.com/gh/chef-js/express\"\u003e\u003cimg src=\"https://circleci.com/gh/chef-js/express.svg?style=shield\" alt=\"tests status\" /\u003e\u003c/a\u003e\n\n**static files server** designed for **node** written in **typescript**, with **tests**\n\n- `express` for routing\n\n## Command-Line Running\n\n```bash\n$ npx chef-express folder [--debug] [--ssl] [--port 443] [--maxCacheSize 0]\n```\n\n## Installation\n\n```bash\n$ yarn add chef-express\n```\n\nMinimal configuration is specifying folder, then it serves it from http://localhost:4200\n\n```ts\nconst startServer = require(\"chef-express\");\nconst config = { folder: \"docs\" };\n\nstartServer(config).then((server: Express.Application) =\u003e {\n  // server router api is get, post, any\n  server.any(\"/*\", (req: Express.Request, res: Express.Response) =\u003e {\n    res.end(\"200 OK\");\n  });\n});\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchef-js%2Fexpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchef-js%2Fexpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchef-js%2Fexpress/lists"}