Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

map-obfuscation

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

map-obfuscation

This package obfuscates coordinates to improve user privacy.

  • 3.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-90%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 17 Dec 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc