distance-to-polygon
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8440
34