{"id":15468515,"url":"https://github.com/wendux/node-http-static-server","last_synced_at":"2025-03-28T12:23:57.136Z","repository":{"id":37747280,"uuid":"506178740","full_name":"wendux/node-http-static-server","owner":"wendux","description":"Node http server for static files.","archived":false,"fork":false,"pushed_at":"2022-06-22T09:25:33.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T00:17:07.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/wendux.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}},"created_at":"2022-06-22T09:21:49.000Z","updated_at":"2022-06-22T15:20:14.000Z","dependencies_parsed_at":"2022-08-29T05:40:47.267Z","dependency_job_id":null,"html_url":"https://github.com/wendux/node-http-static-server","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/wendux%2Fnode-http-static-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendux%2Fnode-http-static-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendux%2Fnode-http-static-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendux%2Fnode-http-static-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wendux","download_url":"https://codeload.github.com/wendux/node-http-static-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246027353,"owners_count":20711815,"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":[],"created_at":"2024-10-02T01:41:26.764Z","updated_at":"2025-03-28T12:23:57.098Z","avatar_url":"https://github.com/wendux.png","language":"JavaScript","readme":"# node-http-static-server\n\nA http server for static files. 只需一句命令，便可以快速在任意目录下创建一个http静态文件服务器。\n\n## Get started\n\n### Install\n\n```shell\nnpm install node-http-static-server -g\n```\n\n### Usage\n\n```shell\ncd mydoc\nhs #启动 http，根目录为 mydoc\n```\n\n### Arguments\n\n  Options:\n    -h, --help          Output usage information\n    -p, --port  [number]      The port on which the app will be running (defaults to 3000)\n    -r, --root [value]   http server root dir (defaults to \".\")\n    -v, --version       Output the version number\n\n```shell\nhs -p 80 # listening on 80 port\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendux%2Fnode-http-static-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendux%2Fnode-http-static-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendux%2Fnode-http-static-server/lists"}