1.0.12 • Published 4 years ago

neat-url v1.0.12

Weekly downloads
133
License
MIT
Repository
gitlab
Last release
4 years ago

neat-url

Normalize URLs by removing tracking parameters.

Example

const neatUrl = require('neat-url');
let url = neatUrl({
  url: "https://www.example.com/bens-tagging?utm_source=mysite.com&utm_medium=referral&utm_campaign=url+tracking+post#Echobox=1568564590",
  includeHash: true
})
console.log("url: " + url);
// url: https://www.example.com/bens-tagging

Installation

npm install --save neat-url

License

Copyright © 2019

Licensed under the MIT license.

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago