New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

sparta

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sparta

minimalistic spatial calculation library

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
43
-12.24%
Maintainers
1
Weekly downloads
 
Created
Source

Sparta (Spatial Calculations)

Sparta is a minimalistic spatial calculation library for node.js. Currently, it supports the calculation of bounding boxes based on the Python code from Federico Ramponi (http://stackoverflow.com/a/238558).

Usage

import boundingBox from 'sparta'
// return a bounding box of Placa Catalunya, Barcelona with a radius of 1km.
const box = boundingBox(41.386549, 2.170004, 1)

Test

  npm test

Keywords

geocouch

FAQs

Package last updated on 16 Jan 2024

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