Socket
Socket
Sign inDemoInstall

turf-donuts

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-donuts

turf-donuts =============== [![build status](https://secure.travis-ci.org/Turfjs/turf-donuts.png)](http://travis-ci.org/Turfjs/turf-donuts)


Version published
Weekly downloads
29
increased by480%
Maintainers
2
Weekly downloads
 
Created
Source

turf-donuts

build status

Takes a set of overlapping polygons and returns non overlapping donuts.

###Install

npm install turf-donuts

###Parameters

namedescription
polygonsa FeatureCollection of overlapping polygons

###Usage

donuts(polygons)

###Example

var donuts = require('donuts')
var fs = require('fs')

var polys = JSON.parse(fs.readFileSync('/path/to/polys.geojson'))

var donutPolys = donuts(donutsIn)

console.log(donutPolys)

Keywords

FAQs

Package last updated on 22 Jul 2014

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

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