UNPKG

grid-neighbors-1d

Version:

Get the 8 closest neighbors of a cell in a 2d grid when flattened to a 1d array

13 lines (8 loc) 266 B
# Security Policy ## Supported Versions | Version | Supported | | -------- | ------------------ | | 2.0.x | :white_check_mark: | | < 2.0.0 | :x: | ## Reporting a Vulnerability To disclose a vulnerability, email ```github@phugh.es```