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

@turf/simplify

Package Overview
Dependencies
Maintainers
9
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/simplify - npm Package Compare versions

Comparing version 7.1.0-alpha.7 to 7.1.0-alpha.70

15

package.json
{
"name": "@turf/simplify",
"version": "7.1.0-alpha.7+0ce6ecca0",
"version": "7.1.0-alpha.70+948cdafaf",
"description": "turf simplify module",

@@ -61,3 +61,3 @@ "author": "Turf Authors",

"devDependencies": {
"@turf/truncate": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/truncate": "^7.1.0-alpha.70+948cdafaf",
"@types/benchmark": "^2.1.5",

@@ -75,9 +75,10 @@ "@types/tape": "^4.2.32",

"dependencies": {
"@turf/clean-coords": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/clone": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/meta": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/clean-coords": "^7.1.0-alpha.70+948cdafaf",
"@turf/clone": "^7.1.0-alpha.70+948cdafaf",
"@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
"@turf/meta": "^7.1.0-alpha.70+948cdafaf",
"@types/geojson": "^7946.0.10",
"tslib": "^2.6.2"
},
"gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
"gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
}

@@ -12,8 +12,8 @@ # @turf/simplify

* `geojson` **[GeoJSON][3]** object to be simplified
* `options` **[Object][4]** Optional parameters (optional, default `{}`)
* `geojson` **[GeoJSON][1]** object to be simplified
* `options` **[Object][3]** Optional parameters (optional, default `{}`)
* `options.tolerance` **[number][5]** simplification tolerance (optional, default `1`)
* `options.highQuality` **[boolean][6]** whether or not to spend more time to create a higher-quality simplification with a different algorithm (optional, default `false`)
* `options.mutate` **[boolean][6]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`)
* `options.tolerance` **[number][4]** simplification tolerance (optional, default `1`)
* `options.highQuality` **[boolean][5]** whether or not to spend more time to create a higher-quality simplification with a different algorithm (optional, default `false`)
* `options.mutate` **[boolean][5]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`)

@@ -52,3 +52,3 @@ ### Examples

Returns **[GeoJSON][3]** a simplified GeoJSON
Returns **[GeoJSON][1]** a simplified GeoJSON

@@ -59,10 +59,8 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3

[3]: https://tools.ietf.org/html/rfc7946#section-3
[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->

@@ -69,0 +67,0 @@

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