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

distance-to-polygon

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

distance-to-polygon - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

9

package.json
{
"name": "distance-to-polygon",
"version": "2.0.1",
"version": "2.0.2",
"description": "Compute distance from a point to an arbitrary shaped polygon, line, or point",
"main": "dist/distance-to-polygon.js",
"scripts": {
"test": "mocha --compilers js:babel-core/register test/distance-to-polygon.js && npm run build",
"test": "npm run lint && mocha --compilers js:babel-core/register test/distance-to-polygon.js && npm run build",
"build": "babel lib -d dist",
"coverage": "babel-node node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- test/distance-to-polygon.js",
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls"
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls",
"lint": "eslint lib"
},

@@ -22,3 +23,3 @@ "repository": {

"author": "Victor Felder",
"license": "MIT License",
"license": "MIT",
"bugs": {

@@ -25,0 +26,0 @@ "url": "https://github.com/vhf/distance-to-polygon/issues"

distance-to-polygon
===================
[![Build Status](https://travis-ci.org/vhf/distance-to-polygon.svg?branch=master)](https://travis-ci.org/vhf/distance-to-polygon) [![Coverage Status](https://coveralls.io/repos/github/vhf/distance-to-polygon/badge.svg?branch=master)](https://coveralls.io/github/vhf/distance-to-polygon?branch=master)
* a point `p#` is represented as a list like this : `const p1 = [x = 0, y = 0];`

@@ -5,0 +7,0 @@ * `f(x)` is a transformation function applied to the result :

Sorry, the diff of this file is not supported yet

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