# map-obfuscation

> This package obfuscates coordinates to improve user privacy.

Latest version **3.0.0** (published 2022-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install map-obfuscation
pnpm add map-obfuscation
yarn add map-obfuscation
bun add map-obfuscation
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2022-12-17 |
| First published | 2022-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Samir Rangwalla |
| Maintainers | samir-r |
| Keywords | privacy, maps, obfuscation |

## Links

- npm: https://www.npmjs.com/package/map-obfuscation
- Homepage: https://github.com/sr5434/map-obfuscation
- npm.io page: https://npm.io/package/map-obfuscation

## Recent versions

- 3.0.0 (latest) — 2022-12-17
- 2.0.1 — 2022-12-12
- 2.0.0 — 2022-07-04
- 1.1.2 — 2022-06-04
- 1.1.1 — 2022-05-30
- 1.1.0 — 2022-05-30
- 1.0.0 — 2022-05-28

## README

# MapObfuscation
[NPM Package](https://www.npmjs.com/package/map-obfuscation/)

This package obfuscates coordinates to improve user privacy. The code has some detailed comments if you want to learn more about the inner workings of this algorithm.
# Example Usage
```
var mapObfuscation = require("map-obfuscation");//Include MapObfuscation
console.log(mapObfuscation.wgs2sd(12.345, 67.890));//Print obfuscated coordinates in the console
```
## DeltaMultiplier
You can use the ```deltaMultiplier``` parameter to control the amount of obfuscation you want.
```
var mapObfuscation = require("map-obfuscation");//Include MapObfuscation
console.log(mapObfuscation.wgs2sd(12.345, 67.890, 0.5));//Print obfuscated coordinates in the console
```

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