2.1.0 • Published 3 years ago

url-rinse v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

url-rinse

tests build size

Cleans up URLs

// install
npm i url-rinse
// use
const rinse = require('url-rinse')

Functions

  • await unshorten(url) - unshorten with node https
  • await swUnshorten(url) - unshorten with window.fetch (Service Workers)
  • removeParam(url) - removes all query parameters
  • defer(url) - remove referer with https://anonym.to
  • deAmp(url) - return original non-AMP link (fetch/sw only)
  • amazon(url) - shorten amazon url
  • reddit(url) - shortens reddit url
2.1.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago