Socket
Book a DemoInstallSign in
Socket

@mapbox/gazetteer

Package Overview
Dependencies
Maintainers
28
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/gazetteer

Place bookmarks for maps

latest
Source
npmnpm
Version
5.2.0
Version published
Weekly downloads
360
-47.45%
Maintainers
28
Weekly downloads
 
Created
Source

Gazetteer

build status

An index of places for maps, organized into a collection of machine-readable files that conforms to a Gazetteer 1.1 spec.

Usage

This package includes:

  • A collection of Gazetteers
  • A validation utility for verifying a JSON object conforms to the Gazetteer 1.1 specification.
import { worldwide, validate } from '@mapbox/gazetteer';

const { roadNetwork, settlements } = worldwide;

validate(roadNetwork); // Returns an array of error messages if invalid

Releasing

  • Run npm version {major|minor|patch}
  • Add an entry to the CHANGELOG outlining the changes.
  • Create a pull request with the changes above.

Keywords

reference

FAQs

Package last updated on 22 Jan 2025

Did you know?

Socket

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.

Install

Related posts