neat-url

    1.0.12 • Public • Published

    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.

    Install

    npm i neat-url

    DownloadsWeekly Downloads

    319

    Version

    1.0.12

    License

    MIT

    Unpacked Size

    21.7 kB

    Total Files

    6

    Last publish

    Collaborators

    • cyprias