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

@turf/hex-grid

Package Overview
Dependencies
Maintainers
9
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/hex-grid - npm Package Compare versions

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

17

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

@@ -65,4 +65,4 @@ "author": "Turf Authors",

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

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

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

@@ -20,4 +20,4 @@ # @turf/hex-grid

* `options.properties` **[Object][6]** passed to each hexagon or triangle of the grid (optional, default `{}`)
* `options.mask` **[Feature][8]<[Polygon][9]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it
* `options.triangles` **[boolean][10]** whether to return as triangles instead of hexagons (optional, default `false`)
* `options.mask` **[Feature][8]<[Polygon][2]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it
* `options.triangles` **[boolean][9]** whether to return as triangles instead of hexagons (optional, default `false`)

@@ -37,3 +37,3 @@ ### Examples

Returns **[FeatureCollection][11]<[Polygon][9]>** a hexagonal grid
Returns **[FeatureCollection][1]<[Polygon][2]>** a hexagonal grid

@@ -56,8 +56,4 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3.3

[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
[11]: https://tools.ietf.org/html/rfc7946#section-3.3
<!-- 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. -->

@@ -64,0 +60,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