{"id":21557071,"url":"https://github.com/shenfe/simplehttpserver","last_synced_at":"2025-03-18T03:24:06.839Z","repository":{"id":57280861,"uuid":"97148168","full_name":"shenfe/SimpleHTTPServer","owner":"shenfe","description":"A SimpleHTTPServer for Nodejs.","archived":false,"fork":false,"pushed_at":"2017-08-17T16:52:05.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T14:19:42.026Z","etag":null,"topics":["dev-server","nodejs","proxy-server","static-server"],"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/shenfe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-13T17:19:58.000Z","updated_at":"2017-08-25T14:17:19.000Z","dependencies_parsed_at":"2022-09-19T15:54:35.102Z","dependency_job_id":null,"html_url":"https://github.com/shenfe/SimpleHTTPServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2FSimpleHTTPServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2FSimpleHTTPServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2FSimpleHTTPServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfe%2FSimpleHTTPServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shenfe","download_url":"https://codeload.github.com/shenfe/SimpleHTTPServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244148349,"owners_count":20406162,"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":["dev-server","nodejs","proxy-server","static-server"],"created_at":"2024-11-24T08:10:51.774Z","updated_at":"2025-03-18T03:24:06.819Z","avatar_url":"https://github.com/shenfe.png","language":"JavaScript","readme":"# SimpleHTTPServer\nA SimpleHTTPServer module for Nodejs, wrapping `express` and `express-http-proxy`.\n\n## Installation\n```sh\nnpm install --save-dev jimple-http-server\n```\n\n## Usage\nUse Nodejs API as below:\n```js\nconst server = require('jimple-http-server');\nlet myServer = server([\n    {\n        to: 'dist/page'\n    },\n    {\n        from: '/resource',\n        to: 'dist/static'\n    },\n    {\n        from: '/ajax',\n        to: 'domain.com'\n    }\n], 3000);\n```\n\n## More\n* [express-http-proxy](https://github.com/villadora/express-http-proxy)\n* [serve-static](https://github.com/expressjs/serve-static)\n* [serve-index](https://github.com/expressjs/serve-index)\n\n## License\n[MIT](http://opensource.org/licenses/MIT)\nCopyright (c) 2017-present, [shenfe](https://github.com/shenfe)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenfe%2Fsimplehttpserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshenfe%2Fsimplehttpserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenfe%2Fsimplehttpserver/lists"}