Common client-side tools used in HSS Sites themes and locators.
A polyfill for crypto.randomFill and crypto.randomFillSync from Node.js core
Tesselates a polygon or multipolygon into a collection of triangle polygons using earcut.
merge() utility function
Convex decomposition for 2D polygons
Moves a shape or location in a specific direction.
Takes a GeoJSON feature and returns points at all self-intersections.
Changes the size of a geometry by scaling it up or down.
webpack Validation Utils
Converts a polygon to a line string.
Takes a kinked polygon and returns a feature collection of polygons that have no kinks.
Minimalistic tools for JS crypto modules
Takes a Feature and a bbox and clips the feature to the bbox using lineclip.
Rotates a geometry around its center or a given point.
Converts a bounding box to a GeoJSON polygon.
AST utility module for statically analyzing JSX
Utils for working with JavaScript classes and prototype methods.
A set of utilities to assist developers of tools that build N-API native add-ons
_NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a member of the Firebase team, please avoid using this package_
ICSS utils for postcss ast
General utilities for plugins to use
A point in polygon based on the paper Optimal Reliable Point-in-Polygon Test and Differential Coding Boolean Operations on Polygons
Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️
Checks if a point is inside an area, like a city boundary.