# fake-geolocation

> A fake implementation of the W3C Geolocation API

Latest version **0.18.0** (published 2025-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install fake-geolocation
pnpm add fake-geolocation
yarn add fake-geolocation
bun add fake-geolocation
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.18.0 |
| Published | 2025-05-07 |
| First published | 2023-07-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Erin Millard |
| Maintainers | ezzatron |
| Keywords | fake, geolocation, w3c |

## Links

- npm: https://www.npmjs.com/package/fake-geolocation
- Repository: https://github.com/ezzatron/fake-geolocation
- Issues: https://github.com/ezzatron/fake-geolocation/issues
- npm.io page: https://npm.io/package/fake-geolocation

## Alternatives

- [pagerjs](https://npm.io/package/pagerjs.md) — 60 weekly downloads
- [whistle.savefor-mock](https://npm.io/package/whistle.savefor-mock.md) — 4 weekly downloads
- [vite-plugin-apitemkin](https://npm.io/package/vite-plugin-apitemkin.md) — 0 weekly downloads
- [facebook-ads-library-api](https://npm.io/package/facebook-ads-library-api.md) — 0 weekly downloads
- [@comp-markdown/wireframe](https://npm.io/package/@comp-markdown/wireframe.md) — 0 weekly downloads

## Recent versions

- 0.18.0 (latest) — 2025-05-07
- 0.17.0 — 2025-05-07
- 0.16.0 — 2025-05-02
- 0.15.0 — 2024-08-21
- 0.14.0 — 2024-08-19
- 0.13.2 — 2024-08-08
- 0.13.1 — 2024-08-08
- 0.13.0 — 2024-08-08
- 0.12.0 — 2024-08-08
- 0.11.1 — 2024-08-06
- 0.11.0 — 2024-08-04
- 0.10.1 — 2024-07-09
- 0.10.0 — 2024-07-04
- 0.9.0 — 2024-07-04
- 0.8.1 — 2024-06-21
- … 11 more at https://npm.io/package/fake-geolocation/versions

## README

# Fake Geolocation

_A fake implementation of the W3C Geolocation API_

[![Current NPM version][badge-npm-version-image]][badge-npm-version-link]
[![Current JSR version][badge-jsr-version-image]][badge-jsr-version-link]
[![Build status][badge-build-image]][badge-build-link]
[![Test coverage][badge-coverage-image]][badge-coverage-link]

[badge-build-image]:
  https://img.shields.io/github/actions/workflow/status/ezzatron/fake-geolocation/ci.yml?branch=main&style=for-the-badge
[badge-build-link]:
  https://github.com/ezzatron/fake-geolocation/actions/workflows/ci.yml
[badge-coverage-image]:
  https://img.shields.io/codecov/c/gh/ezzatron/fake-geolocation?style=for-the-badge
[badge-coverage-link]: https://codecov.io/gh/ezzatron/fake-geolocation
[badge-jsr-version-image]:
  https://jsr.io/badges/@ezzatron/fake-geolocation?label=@ezzatron/fake-geolocation&style=for-the-badge
[badge-jsr-version-link]: https://jsr.io/@ezzatron/fake-geolocation
[badge-npm-version-image]:
  https://img.shields.io/npm/v/fake-geolocation?label=fake-geolocation&logo=npm&style=for-the-badge
[badge-npm-version-link]: https://npmjs.com/package/fake-geolocation

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