
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
@xylabs/geo
Advanced tools
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
@xylabs/geo
new GeoJson(quadkey): GeoJson;
string
GeoJson
static featureCollection(features): FeatureCollection;
Feature<Geometry, GeoJsonProperties>[]
FeatureCollection
static featuresSource(data): GeoJSONSourceSpecification;
FeatureCollection
GeoJSONSourceSpecification
static geometryFeature(geometry): Feature;
Geometry
Feature
center(): LngLat;
LngLat
point(): Point;
Point
pointFeature(): Feature;
Feature
pointFeatureCollection(): FeatureCollection;
FeatureCollection
pointSource(): GeoJSONSourceSpecification;
GeoJSONSourceSpecification
polygon(): Polygon;
Polygon
polygonFeature(): Feature;
Feature
polygonFeatureCollection(): FeatureCollection;
FeatureCollection
polygonSource(): GeoJSONSourceSpecification;
GeoJSONSourceSpecification
zoom(): number;
number
T extends MapBox.Layer
new LayerBase<T>(id, source): LayerBase<T>;
string
string
LayerBase<T>
id: string;
source: string;
update(map, show?): void;
Map$1
boolean = true
void
abstract buildLayer(): T;
T
LngLatBoundsnew MercatorBoundingBox(sw?, ne?): MercatorBoundingBox;
[number, number, number, number] | LngLatLike | [LngLatLike, LngLatLike]
LngLatLike
MercatorBoundingBox
MapBox.LngLatBounds.constructor
LngLatnew MercatorLngLat(lng, lat): MercatorLngLat;
number
number
MercatorLngLat
MapBox.LngLat.constructor
function boundingBoxToBoundary(box): MercatorBoundary;
function boundingBoxToCenter(boundingBox, decimal?): number[];
number = 6
number[]
function boundingBoxToPolygon(box): Polygon;
Polygon
function hasSiblings(tiles, tile): boolean;
boolean
function tileFromPoint(point, z): MercatorTile;
number
function tileFromQuadkey(quadkey): MercatorTile;
string
function tileToBoundingBox(tile): MercatorBoundingBox;
function tileToChildren(tile): MercatorTile[];
function tileToGeoJson(tile): Polygon;
Polygon
function tileToParent(tile): MercatorTile;
function tileToPoint(tile): MercatorLngLat;
function tileToQuadkey(__namedParameters): string;
string
function tileToSiblings(tile): MercatorTile[];
function tilesEqual(__namedParameters, __namedParameters): boolean;
boolean
function tilesFromBoundingBox(box, zoom): MercatorTile[];
number
function tilesHasTile(tiles, tile): boolean;
boolean
type MercatorBoundary = MercatorLngLat[];
type MercatorTile = readonly [number, number, number];
const d2r: number;
const r2d: number;
Part of sdk-js
See the LICENSE file for license details
FAQs
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
The npm package @xylabs/geo receives a total of 1,496 weekly downloads. As such, @xylabs/geo popularity was classified as popular.
We found that @xylabs/geo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.