{"id":20529759,"url":"https://github.com/7ph/beautify-url","last_synced_at":"2025-03-06T02:20:00.680Z","repository":{"id":217581455,"uuid":"744252302","full_name":"7PH/beautify-url","owner":"7PH","description":"Opinionated library that transforms your URLs into shorter, more aesthetic forms without compromising their functionality or security","archived":false,"fork":false,"pushed_at":"2024-01-27T23:28:37.000Z","size":286,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T23:56:24.558Z","etag":null,"topics":["human-friendly","typescript","typescript-library","url-shortener"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/7PH.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-16T23:11:56.000Z","updated_at":"2024-10-03T22:05:12.000Z","dependencies_parsed_at":"2024-01-28T00:55:21.806Z","dependency_job_id":null,"html_url":"https://github.com/7PH/beautify-url","commit_stats":null,"previous_names":["7ph/beautify-url"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fbeautify-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fbeautify-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fbeautify-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fbeautify-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7PH","download_url":"https://codeload.github.com/7PH/beautify-url/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242133824,"owners_count":20077144,"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":["human-friendly","typescript","typescript-library","url-shortener"],"created_at":"2024-11-15T23:33:59.765Z","updated_at":"2025-03-06T02:20:00.641Z","avatar_url":"https://github.com/7PH.png","language":"TypeScript","readme":"**beautify-url** is an opinionated library that transforms your URLs into shorter, more aesthetic forms without compromising their functionality or security\n\n## Installation\n\n```bash\nnpm i --save beautify-url\n# or\nyarn add beautify-url\n```\n\n## Usage\n\nImport the `beautifyUrl` function and use it to transform URLs:\n\n```javascript\nimport beautifyUrl from 'beautify-url';\n\nconsole.log(beautifyUrl('https://google.com'));\n// Outputs: 'google.com'\n\nconsole.log(beautifyUrl('https://google.com?q=long\u0026with=very-long-last-value'));\n// Outputs: 'google.com?⋯ast-value'\n\nconsole.log(beautifyUrl('not an URL'));\n// Outputs: 'not an URL'\n```\n\n## Contributing\n\nHaving trouble? Found a bug? Want to contribute? Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ph%2Fbeautify-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7ph%2Fbeautify-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ph%2Fbeautify-url/lists"}