# micro-location

> Location object for both browser and node.js.

Latest version **0.1.5** (published 2015-11-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install micro-location
pnpm add micro-location
yarn add micro-location
bun add micro-location
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2015-11-04 |
| First published | 2012-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 39 |
| Author | cho45 |
| Maintainers | cho45 |

## Links

- npm: https://www.npmjs.com/package/micro-location
- Repository: https://github.com/cho45/micro-location.js
- Issues: https://github.com/cho45/micro-location.js/issues
- npm.io page: https://npm.io/package/micro-location

## Recent versions

- 0.1.5 (latest) — 2015-11-04
- 0.1.4 — 2014-03-05
- 0.1.3 — 2014-01-29
- 0.1.2 — 2014-01-20
- 0.1.1 — 2012-08-14

## README

Micro-Location.js
=================

Standalone location (URL) object for both browser and node.js


SYNOPSIS
--------

	var l = Location.parse('http://example.com/?foo=bar#baz');
	l.href //=> 'http://example.com/?foo=bar#baz'
	l.pathname //=> '/'
	l.search  //=> '?foo=bar'
	l.params('foo') //=> 'bar';


LICENSE
-------

	 * micro-location.js Copyright (c) 2012 cho45 ( www.lowreal.net )
	 *
	 * https://github.com/cho45/micro-location.js
	 *
	 * Permission is hereby granted, free of charge, to any person obtaining a copy
	 * of this software and associated documentation files (the "Software"), to deal
	 * in the Software without restriction, including without limitation the rights
	 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
	 * copies of the Software, and to permit persons to whom the Software is
	 * furnished to do so, subject to the following conditions:
	 *
	 * The above copyright notice and this permission notice shall be included in
	 * all copies or substantial portions of the Software.
	 *
	 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
	 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
	 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
	 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
	 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
	 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
	 * THE SOFTWARE.

---
_Source: https://npm.io/package/micro-location · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
