futm
v1.0.0
Published
Remove utm_ query string parameters from a url
Downloads
1
Readme
Forget utm
Remove utm_
query string parameters from a url.
Install
npm install futm
Usage
const futm = require('futm');
const url = 'https://example.org?utm_source=twitter&name=dog';
futm(url); // => 'https://example.org?name=dog'
Only tested in Chrome and Firefox!
This module assumes the js environment has
- decent es6 support
- URL api
- URLSearchParams api
License
MIT