🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

turf-concave

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-concave - npm Package Compare versions

Comparing version

to
0.0.1

2

package.json
{
"name": "turf-concave",
"version": "0.0.0",
"version": "0.0.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,1 +1,18 @@

turf-convex
===============
[![build status](https://secure.travis-ci.org/Turfjs/turf-concave.png)](http://travis-ci.org/Turfjs/turf-concave)
Takes a set of points and returns a concave hull polygon.
```js
var concave = require('turf-concave')
var fs = require('fs')
var maxEdge = 2.5
var pts = JSON.parse(fs.readFileSync('/path/to/pts.geojson'))
var hull = concave(pts, maxEdge)
console.log(hull)
```