{"id":14385112,"url":"https://github.com/bdadam/video-url-normalizer","last_synced_at":"2025-07-09T04:33:43.100Z","repository":{"id":26342545,"uuid":"29791355","full_name":"bdadam/video-url-normalizer","owner":"bdadam","description":"This npm package normalizes the URL of different video hosting services","archived":false,"fork":false,"pushed_at":"2015-01-24T22:08:08.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-21T04:09:56.527Z","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/bdadam.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":"2015-01-24T20:55:41.000Z","updated_at":"2015-08-08T14:43:25.000Z","dependencies_parsed_at":"2022-08-21T05:31:16.561Z","dependency_job_id":null,"html_url":"https://github.com/bdadam/video-url-normalizer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdadam%2Fvideo-url-normalizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdadam%2Fvideo-url-normalizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdadam%2Fvideo-url-normalizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdadam%2Fvideo-url-normalizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdadam","download_url":"https://codeload.github.com/bdadam/video-url-normalizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230679156,"owners_count":18263683,"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":"2024-08-28T18:01:57.812Z","updated_at":"2024-12-21T13:30:35.939Z","avatar_url":"https://github.com/bdadam.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# video-url-normalizer\n\nThis npm package normalizes the URL of different video hosting services\n\nThis module is intended to be used to normalize the URLs of different video hosting sites.\nThe normalized URLs are not necessarily the canonical URLs of the videos.\nEach valid video URL has an ID which is unique at its specific hoster.\n\nCurrently supported services:\n* Youtube\n* Dailymotion\n* Vimeo\n\n## Usage\n```JavaScript\nvar normalizeVideoUrl = require('video-url-normalizer');\nvar urlToVideo = 'http://www.youtube.com/watch?v=abcdefghijk\u0026feature=feedrec_grec_index';\n\nvar obj = normalizeVideoUrl(urlToVideo);\nassert(obj.hoster === 'youtube');\nassert(obj.id === 'abcdefghijk');\nassert(obj.url === 'http://www.youtube.com/watch?v=abcdefghijk');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdadam%2Fvideo-url-normalizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdadam%2Fvideo-url-normalizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdadam%2Fvideo-url-normalizer/lists"}