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

turf-variance

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-variance - npm Package Compare versions

Comparing version 0.0.2 to 0.1.2

12

package.json
{
"name": "turf-variance",
"version": "0.0.2",
"version": "0.1.2",
"description": "turf variance module",

@@ -27,11 +27,11 @@ "main": "index.js",

"devDependencies": {
"tape": "^2.13.1",
"tape": "^2.13.4",
"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": {
"simple-statistics": "^0.8.0",
"turf-inside": "^0.1.1"
"simple-statistics": "^0.8.1",
"turf-inside": "^0.1.4"
}
}

@@ -7,2 +7,25 @@ turf-variance

###Install
```sh
npm install turf-variance
```
###Parameters
|name|description|
|---|---|
|polys|featurecollection of polygons|
|points|featurecollection of points|
|inField|field to map|
|outField|new field|
###Usage
```js
variance(polyFC, ptFC, inField, outField)
```
###Example
```javascript

@@ -9,0 +32,0 @@ var variance = require('turf-variance')

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