2.0.6 • Published 7 years ago

get-loc v2.0.6

Weekly downloads
18
License
MIT
Repository
github
Last release
7 years ago

Simple utility to get the current window.location. Has support for history polyfill and web/service workers.

Installation

npm install get-loc

Example

import { get } from 'get-loc'

const location = get()
location.href === 'http://github.com/DylanPiercey/get-location'

Contributions

  • Use npm test to build and run tests.

Please feel free to create a PR!

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago