Socket
Socket
Sign inDemoInstall

turf-count

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-count - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "turf-count",
"version": "0.0.3",
"version": "0.0.4",
"description": "turf count module",

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

@@ -7,16 +7,2 @@ turf-count

## Install
npm install turf-count
## API
### `count(polygonCollection, pointCollection, countProperty)`
* `polygonCollection` should be a FeatureCollection of Polygons
* `pointCollection` should be a FeatureCollection of Points
* `countProperty` is the property in the returned FeatureCollection that records the count of points in each polygon.
## Example
```js

@@ -23,0 +9,0 @@ var point = require('turf-point')

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