Remove some url parameter from url in browser

npm install remove-url-component
2 downloads in the last week
4 downloads in the last month

Remove url component

Remove some url parameter from url in browser. Uses history API.

This will also work if you have got hash in your url.


var remove = require('remove-url-component');


This will remove page parameter from your url.

False is returned if history API is not supported.


will become:


Maybe you will need to set timeout before removing, so you can set second argument in remove function.

remove(['arg1', 'arg2'], 3000);

Changelog list

  • 1.0.0
    • Initial version
npm loves you