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

@turf/hex-grid

Package Overview
Dependencies
Maintainers
2
Versions
69
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 3.6.1 to 3.6.3

index.d.ts

2

index.js

@@ -25,3 +25,3 @@ var point = require('@turf/helpers').point;

* @param {string} [units=kilometers] used in calculating cellSize, can be degrees, radians, miles, or kilometers
* @param {boolean} triangles whether to return as triangles instead of hexagons
* @param {boolean} [triangles=false] whether to return as triangles instead of hexagons
* @return {FeatureCollection<Polygon>} a hexagonal grid

@@ -28,0 +28,0 @@ * @example

{
"name": "@turf/hex-grid",
"version": "3.6.1",
"version": "3.6.3",
"description": "",

@@ -37,10 +37,10 @@ "main": "index.js",

"tape": "^3.5.0",
"@turf/bbox-polygon": "^3.6.1",
"@turf/explode": "^3.6.1",
"@turf/inside": "^3.6.1"
"@turf/bbox-polygon": "^3.6.3",
"@turf/explode": "^3.6.3",
"@turf/inside": "^3.6.3"
},
"dependencies": {
"@turf/distance": "^3.6.1",
"@turf/helpers": "^3.6.1"
"@turf/distance": "^3.6.3",
"@turf/helpers": "^3.6.3"
}
}

@@ -14,3 +14,3 @@ # @turf/hex-grid

- `units` **\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** used in calculating cellSize, can be degrees, radians, miles, or kilometers (optional, default `kilometers`)
- `triangles` **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** whether to return as triangles instead of hexagons
- `triangles` **\[[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)]** whether to return as triangles instead of hexagons (optional, default `false`)

@@ -17,0 +17,0 @@ **Examples**

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