
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@mapbox/carmen-private
Advanced tools
Mapnik vector-tile-based geocoder with support for swappable data sources.
Mapnik vector tile-based geocoder with support for swappable data sources. This is an implementation of some of the concepts of Error-Correcting Geocoding by Dennis Luxen.
npm install
Carmen no longer ships with any default or sample data. Sample data will be provided in a future release.
Carmen is consumed by api-geocoder as a a node_modules package dependency. While developing and testing, you can publish a development release of Carmen.
To do this, first update the version field of the package.json file, using the following convention:
"version": "34.3.<next patch version>.<branch/feature name>"
mbx npm publish --tag dev
Once the feature has been E2E tested through api-geocoder and is ready to be merged into production, update the package.json version to its offical semver number (34.3.<next patch version>) and publish a production release:
mbx npm publish
Finally, update the package inside api-geocoder.
For a simplified example of using the carmen API, see the example folder in this repository.
For more detail about specific elements of the API (and how to use them directly), see the API Docs.
Carmen comes with command line utilities that also act as examples of API usage.
To query the default indexes:
./bin/carmen-index.js --query="new york"
To analyze an index:
./bin/carmen-analyze.js tiles/01-ne.country.mbtiles
Carmen documentation has three parts:
Topic-based documentation is located in the docs directory, organized by topic. These documents are meant to cover high-level design or architectural concepts rather than the code itself. It also includes a glossary of frequently-used vocabulary.
The example project is located in the example directory. It is a step-by-step, annotated tutorial for basic usage of carmen.
API documentation is written as JSDoc comments in the source code. It is also available as a markdown-formatted document: docs/api.md. This document is generated using documentationjs, and should be updated after any JSDoc comment changes:
yarn build-docs
T is..." or "The T class is..." Examples: "Lists are ordered indexed dense collections." "A class used for asynchronous computations."@param, @property, and @returns descriptions should be capitalized and end with a period. They should begin as if completing a sentence beginning with "This is..." or "This..."undefined), should not have a @returns annotation.Carmen uses conventional semantic versioning (major, minor, patch). You may use the following guidelines when updating the package version:
FAQs
Mapnik vector-tile-based geocoder with support for swappable data sources.
The npm package @mapbox/carmen-private receives a total of 0 weekly downloads. As such, @mapbox/carmen-private popularity was classified as not popular.
We found that @mapbox/carmen-private demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.