Socket
Socket
Sign inDemoInstall

@bifravst/cell-geolocation-helpers

Package Overview
Dependencies
153
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bifravst/cell-geolocation-helpers

Helper functions for the cell geolocation feature


Version published
Weekly downloads
33
increased by3200%
Maintainers
2
Install size
12.0 MB
Created
Weekly downloads
 

Readme

Source

Cell Geolocation Helpers npm version

GitHub Actions Known Vulnerabilities semantic-release Renovate Mergify Status Commitizen friendly code style: prettier ESLint: TypeScript

Helper functions for the cell geolocation feature.

Installation

npm i --save-dev @bifravst/cell-geolocation-helpers

cellId

Simple formatter to create identifier strings from cell information. This is used to unify the way these ids are generated between frontend and backend.

cellFromGeolocations

Demo of cellFromGeolocations results

(Demo and above GIF are using 5km min cell radius and P=0.9.)

Calculates a cell geo location based on a list of geo locations:

  • the center is the average of all given locations (within a configurable percentile)
  • the diameter returned is a circle that includes all given locations (within a configurable percentile), but at least minCellDiameterInMeters.

Check out the live demo on https://bifravst.github.io/cell-geolocation-helpers.

Keywords

FAQs

Last updated on 20 Jan 2021

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