Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@mapbox/carmen
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.
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.FAQs
Mapnik vector-tile-based geocoder with support for swappable data sources.
We found that @mapbox/carmen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.