{"id":15854277,"url":"https://github.com/afeiship/next-srt","last_synced_at":"2026-05-17T00:53:47.432Z","repository":{"id":57122870,"uuid":"315807769","full_name":"afeiship/next-srt","owner":"afeiship","description":"Parse srt subtitle content for next.","archived":false,"fork":false,"pushed_at":"2023-07-20T01:30:45.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T00:42:23.713Z","etag":null,"topics":["audio","lrc","movie","music","next","parse","parser","srt","subtitle","title","video"],"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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-11-25T02:32:22.000Z","updated_at":"2023-07-20T01:28:54.000Z","dependencies_parsed_at":"2024-10-05T19:41:28.506Z","dependency_job_id":"fa20764a-799c-412a-bab7-72a14b047d29","html_url":"https://github.com/afeiship/next-srt","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/next-srt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-srt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-srt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-srt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-srt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-srt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-srt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33124143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":["audio","lrc","movie","music","next","parse","parser","srt","subtitle","title","video"],"created_at":"2024-10-05T19:41:23.826Z","updated_at":"2026-05-17T00:53:47.415Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-srt\n\u003e Parse srt subtitle content for next.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-srt\n```\n\n## usage\n```js\nimport '@jswork/next-srt';\n\nconst str = `1\n00:00:04,066 --\u003e 00:00:12,016\nWe can read of things that happened 5,000 years ago in the Near East, where people first learned to write.\n\n2\n00:00:12,432 --\u003e 00:00:17,601\nBut there are some parts of the world where even now people cannot write.\n`\n\nnx.srt(str);\n\n/*\n[\n  {\n    start: 4066,\n    end: 12016,\n    duration: 7950,\n    times: [ '00:00:04,066', '00:00:12,016' ],\n    value: 'We can read of things that happened 5,000 years ago in the Near East, where people first learned to write.'\n  },\n  {\n    start: 12432,\n    end: 17601,\n    duration: 5169,\n    times: [ '00:00:12,432', '00:00:17,601' ],\n    value: 'But there are some parts of the world where even now people cannot write.'\n  },\n*/\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-srt/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-srt\n[version-url]: https://npmjs.org/package/@jswork/next-srt\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-srt\n[license-url]: https://github.com/afeiship/next-srt/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-srt\n[size-url]: https://github.com/afeiship/next-srt/blob/master/dist/next-srt.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-srt\n[download-url]: https://www.npmjs.com/package/@jswork/next-srt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-srt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-srt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-srt/lists"}