0.0.1 • Published 6 years ago

remove-url-hash v0.0.1

Weekly downloads
41
License
ISC
Repository
github
Last release
6 years ago

remove-url-hash

remove url's hash value without reload.

example

For example,we have a browser url like this:

www.alibaba.com/#a=b

If we want to remove the hash value and not want to refresh the page,we can do like this:

import removeUrlHash from 'remove-url-hash';

removeUrlHash();

Then,the url will be:

www.alibaba.com

and whithout browser refresh!