{"id":15357279,"url":"https://github.com/mchangrh/url-rinse","last_synced_at":"2025-02-27T03:31:07.116Z","repository":{"id":40704860,"uuid":"323457352","full_name":"mchangrh/url-rinse","owner":"mchangrh","description":"Cleans up URLs for sharing","archived":false,"fork":false,"pushed_at":"2024-06-16T20:02:09.000Z","size":115,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-04T22:42:26.009Z","etag":null,"topics":["amazon","amp","clean","clean-redirect","clean-url","dereferrer","follow-redirects","reddit","redirects","un-amp","unshorten","url","url-cleaning","url-rinse"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mchangrh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-21T22:00:02.000Z","updated_at":"2023-09-08T18:16:15.000Z","dependencies_parsed_at":"2023-01-22T05:03:11.678Z","dependency_job_id":null,"html_url":"https://github.com/mchangrh/url-rinse","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Furl-rinse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Furl-rinse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Furl-rinse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchangrh%2Furl-rinse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mchangrh","download_url":"https://codeload.github.com/mchangrh/url-rinse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219842541,"owners_count":16556536,"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":["amazon","amp","clean","clean-redirect","clean-url","dereferrer","follow-redirects","reddit","redirects","un-amp","unshorten","url","url-cleaning","url-rinse"],"created_at":"2024-10-01T12:34:24.224Z","updated_at":"2024-10-16T03:41:40.193Z","avatar_url":"https://github.com/mchangrh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# url-rinse\n![tests](https://img.shields.io/github/workflow/status/mchangrh/url-rinse/unit-test?label=tests)\n![build](https://img.shields.io/github/workflow/status/mchangrh/url-rinse/npm-publish)\n[![size](https://packagephobia.com/badge?p=url-rinse)](https://packagephobia.com/result?p=url-rinse)\n\nCleans up URLs\n```\n// install\nnpm i url-rinse\n// use\nconst rinse = require('url-rinse')\n```\n\n## Functions\n - `await unshorten(url)` - unshorten with node https\n - `await swUnshorten(url)` - unshorten with window.fetch (Service Workers)\n - `removeParam(url)` - removes all query parameters\n - `defer(url)` - remove referer with https://anonym.to\n - `deAmp(url)` - return original non-AMP link (fetch/sw only)\n - `amazon(url)` - shorten amazon url\n - `reddit(url)` - shortens reddit url","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchangrh%2Furl-rinse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmchangrh%2Furl-rinse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchangrh%2Furl-rinse/lists"}