
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
turf grid module
turf.grid(extent, depth)
Takes a bounding box and a cell depth and returns a FeatureCollection of Point features in a grid.
parameter | type | description |
---|---|---|
extent | Array. | extent in [minX, minY, maxX, maxY] order |
depth | Number | how many cells to output |
var extent = [-70.823364, -33.553984, -70.473175, -33.302986];
var depth = 10;
var grid = turf.grid(extent, depth);
//=grid
Requires nodejs.
$ npm install turf-grid
$ npm test
FAQs
turf grid module
The npm package turf-grid receives a total of 9,858 weekly downloads. As such, turf-grid popularity was classified as popular.
We found that turf-grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.