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

turf-median

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-median - npm Package Compare versions

Comparing version 0.0.2 to 0.1.1

12

package.json
{
"name": "turf-median",
"version": "0.0.2",
"version": "0.1.1",
"description": "turf median module",

@@ -26,11 +26,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,3 +7,26 @@ turf-median

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

@@ -10,0 +33,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