{"id":23879556,"url":"https://github.com/2239559319/x-novel-parse","last_synced_at":"2026-02-16T19:39:57.324Z","repository":{"id":269263835,"uuid":"906903386","full_name":"2239559319/x-novel-parse","owner":"2239559319","description":"小说页内容以及目录提取","archived":false,"fork":false,"pushed_at":"2025-03-04T11:16:15.000Z","size":244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-17T12:19:48.173Z","etag":null,"topics":["novel-parse","novel-reader"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2239559319.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":"2024-12-22T08:57:51.000Z","updated_at":"2025-03-04T11:16:18.000Z","dependencies_parsed_at":"2024-12-22T09:26:24.493Z","dependency_job_id":"9db5b33e-882c-404b-89d8-5b6d27f7d45f","html_url":"https://github.com/2239559319/x-novel-parse","commit_stats":null,"previous_names":["2239559319/x-novel-parse"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/2239559319/x-novel-parse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2239559319%2Fx-novel-parse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2239559319%2Fx-novel-parse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2239559319%2Fx-novel-parse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2239559319%2Fx-novel-parse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2239559319","download_url":"https://codeload.github.com/2239559319/x-novel-parse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2239559319%2Fx-novel-parse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29516176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["novel-parse","novel-reader"],"created_at":"2025-01-03T23:18:01.771Z","updated_at":"2026-02-16T19:39:57.306Z","avatar_url":"https://github.com/2239559319.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# x-novel-parse\n\n小说页内容以及目录提取\n\n# 使用\n\n安装\n```shell\nnpm i x-novel-parse\n# or\nyarn add x-novel-parse\n```\n\n使用\n```js\nimport { parseContent, parseCatalog } from 'x-novel-parse';\n\nconst res = parseContent(document);\n\n```\n\n# 功能及优点\n\n项目代码极小，打包出的代码es6版本的代码(压缩后的)为2.1k. es5版本的代码为3k。\n\n源码使用的是一种算法实现的数据结构，位于[datastructure.ts](./src/datastructure.ts)，而不是使用正则（代码里面无正则的使用），性能十分优秀。导出的函数是最小的实现，方便在函数运行前后进行性能上报，以及实现其他各种业务需求。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2239559319%2Fx-novel-parse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2239559319%2Fx-novel-parse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2239559319%2Fx-novel-parse/lists"}