{"id":50457280,"url":"https://github.com/markmals/downpour-js","last_synced_at":"2026-06-01T03:04:24.838Z","repository":{"id":63153325,"uuid":"565526661","full_name":"markmals/downpour-js","owner":"markmals","description":"☔️ Get TV \u0026 Movie info from downloaded file names ","archived":false,"fork":false,"pushed_at":"2022-12-18T08:54:51.000Z","size":414,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-28T02:19:44.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/markmals.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}},"created_at":"2022-11-13T17:29:30.000Z","updated_at":"2023-06-14T00:17:21.000Z","dependencies_parsed_at":"2023-01-29T18:45:18.193Z","dependency_job_id":null,"html_url":"https://github.com/markmals/downpour-js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"withsprinkles/node-package-template","purl":"pkg:github/markmals/downpour-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmals%2Fdownpour-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmals%2Fdownpour-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmals%2Fdownpour-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmals%2Fdownpour-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markmals","download_url":"https://codeload.github.com/markmals/downpour-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmals%2Fdownpour-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33757791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-01T03:04:22.700Z","updated_at":"2026-06-01T03:04:24.831Z","avatar_url":"https://github.com/markmals.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Downpour\n\nDownpour is a TypeScript port of the [Swift library of the same name](https://github.com/Ponyboy47/Downpour).\n\nDownpour can gather the following from a raw video name:\n\n* TV or movie title\n* Year of release\n* TV season number\n* TV episode number\n\n**Note:** None of the fields are guaranteed to be there or even picked up, since it's kind of hard to extract metadata from file names with only a few clever regular expressions. Please open an issue if you know the data is there, but it's not being picked up. Pull requests are welcome, as well. This also means a lot of members are optional, so be sure to check that the property isn't undefined or nullish coalescing operator (`??`) to program safely 😄\n\n## Installation\n\n```sh\n# npm\nnpm install downpour\n\n# yarn\nyarn add downpour\n\n# pnpm\npnpm install downpour\n```\n\n## Usage\n\nUsing Downpour is easy. Just create a new instance and Downpour will do the rest.\n\n```typescript\nimport Downpour from \"downpour\"\n\nlet metadata = new Downpour(\"filenameWithoutExtension\")\n\nlet title = metadata.title\nlet year = metadata.year\n\nif (metadata.type === \"tv\") {\n    let season = metadata.season\n    let episode = metadata.episode\n}\n\nlet plexName = metadata.basicPlexName\n```\n\n## License\n\nPublished under the [MIT License](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmals%2Fdownpour-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkmals%2Fdownpour-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmals%2Fdownpour-js/lists"}