Socket
Socket
Sign inDemoInstall

map-obfuscation

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    map-obfuscation

This package obfuscates coordinates to improve user privacy.


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

MapObfuscation

NPM Package

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

Keywords

FAQs

Last updated on 17 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc