{"library":"point-in-polygon-hao","type":"library","category":null,"description":"point-in-polygon-hao is a small, specialized JavaScript library designed to determine if a given point lies inside a polygon. It is currently stable at version 1.2.4 and receives updates as needed for bug fixes and performance improvements, such as the recent v1.2.4 release addressing an edge intersection regression. A key differentiator is its reliance on the 'Optimal Reliable Point-in-Polygon Test' algorithm, which enables robust handling of complex geometries, including polygons with holes and degenerate or self-intersecting polygons, without being susceptible to common floating-point errors. Unlike some alternatives, it explicitly returns `0` for points lying directly on a polygon edge. The library strictly adheres to the GeoJSON polygon format, requiring the first and last coordinates of a ring to be identical, and does not support MultiPolygon inputs.","language":"javascript","status":"active","version":"1.2.4","tags":["javascript","point-in-polygon","pip","point","polygon","inside","typescript"],"install":[{"cmd":"npm install point-in-polygon-hao","imports":["import inside from 'point-in-polygon-hao'","import { inside } from 'point-in-polygon-hao'","import type { Point, Polygon } from 'point-in-polygon-hao'"]},{"cmd":"yarn add point-in-polygon-hao","imports":[]},{"cmd":"pnpm add point-in-polygon-hao","imports":[]}],"homepage":null,"github":"https://github.com/rowanwins/point-in-polygon-hao","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/point-in-polygon-hao","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/point-in-polygon-hao/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}