
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
mapbox-data-cli
Advanced tools
CLI utilities for Mapbox Data API.
$ npm install -g mapbox-data-cli
Requires a MapboxAccessToken environment variable with data:write permissions.
Includes nine utilities
mapbox-data get-dataset: read information about a particular datasetmapbox-data get-feature: get individual feature from datasetmapbox-data create-dataset: create a new empty dataset with optional name and descriptionmapbox-data insert-features: add/update features in a datasetmapbox-data replace-dataset: replace dataset with new GeoJSON datamapbox-data list-datasets: list all datasets belonging to a usermapbox-data list-features: get all GeoJSON features within a datasetmapbox-data delete-feature: delete a feature from within a datasetmapbox-data delete-dataset: delete an entire dataset$ npm install -g mapbox-data-cli
$ mapbox-data create-dataset "Traffic Data" "Traffic data for Phoenix area"
{"owner":"smith","id":"6dcc766430756d74120b9e5ff1c9d4dd","name":"Traffic Patterns,","description":"Traffic in the Pheonix Valley","created":"2015-08-05T02:35:59.828Z","modifie$
":"2015-08-05T02:35:59.828Z"}
$ mapbox-data insert-features 6dcc766430756d74120b9e5ff1c9d4dd traffic.json
The output of the list, insert, and replace commands are line-delimited JSON objects of each feature. If you would like to have the JSON object of the whole FeatureCollection, use the --dump option.
mapbox-data insert-features and mapbox-data replace-dataset support stdin: you can pipe
into them, and they'll put the data on Mapbox.
$ npm install -g geojson-random # util that generates random geojson
$ geojson-random | mapbox-data insert-features DATASETID
FAQs
download and upload mapbox data as geojson
We found that mapbox-data-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 37 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.