2.0.6 • Published 8 years ago
get-loc v2.0.6
Simple utility to get the current window.location. Has support for history polyfill and web/service workers.
Installation
npm install get-locExample
import { get } from 'get-loc'
const location = get()
location.href === 'http://github.com/DylanPiercey/get-location'Contributions
- Use
npm testto build and run tests.
Please feel free to create a PR!