{"id":19722137,"url":"https://github.com/eshengsky/node-static-server","last_synced_at":"2026-04-26T08:32:46.452Z","repository":{"id":94297719,"uuid":"75352488","full_name":"eshengsky/node-static-server","owner":"eshengsky","description":"基于Node.js的静态资源服务器，支持浏览器缓存，支持多文件合并请求。","archived":false,"fork":false,"pushed_at":"2016-12-23T08:23:56.000Z","size":203,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T18:15:46.471Z","etag":null,"topics":["nodejs","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/eshengsky.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-02T02:25:16.000Z","updated_at":"2022-05-22T09:14:05.000Z","dependencies_parsed_at":"2023-04-01T07:49:26.117Z","dependency_job_id":null,"html_url":"https://github.com/eshengsky/node-static-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eshengsky/node-static-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshengsky%2Fnode-static-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshengsky%2Fnode-static-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshengsky%2Fnode-static-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshengsky%2Fnode-static-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eshengsky","download_url":"https://codeload.github.com/eshengsky/node-static-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshengsky%2Fnode-static-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32290500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nodejs","static-server"],"created_at":"2024-11-11T23:16:31.316Z","updated_at":"2026-04-26T08:32:46.437Z","avatar_url":"https://github.com/eshengsky.png","language":"JavaScript","readme":"# node-static-server\n\n基于Node.js的静态资源服务器，支持浏览器缓存，支持多文件合并请求。\n\n[![Build Status](https://travis-ci.org/eshengsky/node-static-server.svg?branch=master)](https://travis-ci.org/eshengsky/node-static-server)\n\n## 快速开始\n\n#### 下载源码\n点击右上角 Clone or download - Download ZIP 下载压缩包，或者使用 Git 进行下载：\n```bash\n$ git clone https://github.com/eshengsky/node-static-server.git\n```\n\n#### 安装依赖\n\n```bash\n$ npm install\n```\n\n#### 启动服务器\n\n在启动服务器之前，你可以修改项目根目录下的 config.js 文件进行自定义配置。\n\n```bash\n$ npm start\n```\n\n如果一切顺利，服务器已经可以通过 http://127.0.0.1:8080 进行访问。\n\n#### 运行测试\n\n*如果你事先没有全局安装过 [Mocha](http://mochajs.org/)，请先使用 `$ npm install -g mocha` 进行安装。*\n```bash\n$ npm test\n```\n\n## 许可协议\nMIT License\n\nCopyright (c) 2016 Sky\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshengsky%2Fnode-static-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feshengsky%2Fnode-static-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshengsky%2Fnode-static-server/lists"}