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

turf-aggregate

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-aggregate - npm Package Compare versions

Comparing version 0.0.3 to 0.1.1

24

package.json
{
"name": "turf-aggregate",
"version": "0.0.3",
"version": "0.1.1",
"description": "turf aggregate module",

@@ -28,17 +28,17 @@ "main": "index.js",

"devDependencies": {
"tape": "^2.13.1",
"tape": "^2.13.3",
"turf-featurecollection": "^0.1.0",
"turf-point": "^0.1.0",
"turf-polygon": "^0.1.0"
"turf-point": "^0.1.1",
"turf-polygon": "^0.1.1"
},
"dependencies": {
"turf-average": "0.0.1",
"turf-count": "0.0.1",
"turf-deviation": "0.0.1",
"turf-max": "0.0.1",
"turf-median": "0.0.1",
"turf-min": "0.0.1",
"turf-sum": "0.0.1",
"turf-variance": "0.0.1"
"turf-average": "0.0.2",
"turf-count": "0.0.4",
"turf-deviation": "0.0.2",
"turf-max": "0.0.3",
"turf-median": "0.0.2",
"turf-min": "0.0.2",
"turf-sum": "0.0.2",
"turf-variance": "0.0.2"
}
}

@@ -7,4 +7,26 @@ turf-aggregate

###Install
```sh
npm install turf-aggregate
```
###Parameters
|name|description|
|---|---|
|polygonFC|a FeatureCollection containing Polygons|
|pointFC|a FeatureCollection containing Points|
|aggregations|an array of aggregation objects (options in the example below)|
###Usage
```js
aggregate(polygonFC, pointFC, aggregations)
```
###Example
```javascript
var t = require('turf-aggregate')
var aggregate = require('turf-aggregate')
var point = require('turf-point')

@@ -68,4 +90,3 @@ var polygon = require('turf-polygon')

console.log(polys)
console.log(polys)
```
=======

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