{"id":25417331,"url":"https://github.com/eteubert/normalplaytime","last_synced_at":"2025-04-29T19:47:18.944Z","repository":{"id":74252715,"uuid":"75931558","full_name":"eteubert/normalplaytime","owner":"eteubert","description":"JavaScript Parser for Normal Play Time (RFC 2326)","archived":false,"fork":false,"pushed_at":"2022-03-11T09:50:18.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T18:56:47.961Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eteubert.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":"2016-12-08T11:27:03.000Z","updated_at":"2020-09-09T14:34:24.000Z","dependencies_parsed_at":"2023-07-11T14:35:19.730Z","dependency_job_id":null,"html_url":"https://github.com/eteubert/normalplaytime","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteubert%2Fnormalplaytime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteubert%2Fnormalplaytime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteubert%2Fnormalplaytime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteubert%2Fnormalplaytime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eteubert","download_url":"https://codeload.github.com/eteubert/normalplaytime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251372466,"owners_count":21578964,"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":"2025-02-16T17:38:27.425Z","updated_at":"2025-04-28T18:56:53.576Z","avatar_url":"https://github.com/eteubert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NormalPlayTime Parser\n\nParser for Normal Play Time (RFC 2326).\n\n## Installation\n\n```bash\nnpm install normalplaytime\n```\n\n## Example\n\n```js\nvar npt = require('normalplaytime');\n\nvar ms1 = npt.parse(\"1\");   // return 1000\nvar ms2 = npt.parse(\"1.2\"); // return 1200\n\n```\n\nMore Specs: (output from `npm test`)\n\n```\nshould return null for invalid strings\nshould return 1000 for \"1\"\nshould return 1234 for \"1.234\"\nshould return 754000 for \"12:34\"\nshould return 754560 for \"12:34.56\"\nshould return 62000 for \"1:2\"\nshould return 3723400 for \"1:2:3.4\"\n```\n\n## Development\n\n```\nnpm install\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feteubert%2Fnormalplaytime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feteubert%2Fnormalplaytime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feteubert%2Fnormalplaytime/lists"}