2.0.6 • Published 8 years ago

get-loc v2.0.6

Weekly downloads
18
License
MIT
Repository
github
Last release
8 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

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago