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

@turf/centroid

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/centroid - npm Package Compare versions

Comparing version 3.0.15 to 3.0.16

12

package.json
{
"name": "@turf/centroid",
"version": "3.0.15",
"version": "3.0.16",
"description": "turf centroid module",

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

"type": "git",
"url": "https://github.com/Turfjs/turf-centroid.git"
"url": "git://github.com/Turfjs/turf.git"
},

@@ -23,5 +23,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/Turfjs/turf-centroid/issues"
"url": "https://github.com/Turfjs/turf/issues"
},
"homepage": "https://github.com/Turfjs/turf-centroid",
"homepage": "https://github.com/Turfjs/turf",
"devDependencies": {

@@ -33,5 +33,5 @@ "benchmark": "^1.0.0",

"dependencies": {
"@turf/meta": "^3.0.15",
"@turf/helpers": "^3.0.15"
"@turf/meta": "^3.0.16",
"@turf/helpers": "^3.0.16"
}
}

@@ -1,2 +0,2 @@

# turf-centroid
# @turf/centroid

@@ -12,3 +12,3 @@ # centroid

- `features` **(Feature | FeatureCollection)** input features
- `features` **([Feature](http://geojson.org/geojson-spec.html#feature-objects) \| [FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects))** input features

@@ -43,3 +43,3 @@ **Examples**

Returns **Feature<Point>** the centroid of the input features
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** the centroid of the input features

@@ -58,3 +58,3 @@ ---

```sh
$ npm install turf-centroid
$ npm install @turf/centroid
```

@@ -65,3 +65,3 @@

```sh
$ npm install turf
$ npm install @turf/turf
```
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