{"_id":"mapbox-data-cli","_rev":"103-62a75e7164a6dee98b8d2cd6b2e6d483","name":"mapbox-data-cli","description":"download and upload mapbox data as geojson","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"mapbox-data-cli","version":"1.0.0","description":"download and upload mapbox data as geojson","main":"index.js","bin":{"mapbox-data-get":"mapbox-data-get","mapbox-data-replace":"mapbox-data-replace","mapbox-data-add":"mapbox-data-add"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["mapbox","markers","cli"],"author":{"name":"Tom MacWright"},"license":"ISC","dependencies":{"get-stdin":"^4.0.1","got":"^3.2.0","queue-async":"^1.0.7","update-notifier":"^0.5.0","yargs":"^3.9.1"},"devDependencies":{},"repository":{"type":"git","url":"manage data within the mapbox data api"},"gitHead":"6519c2b25c59287a98edaa8b06ded30d0e43e4a1","_id":"mapbox-data-cli@1.0.0","_shasum":"3460dae634b49bd627dac80b322e2909810f92f1","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"3460dae634b49bd627dac80b322e2909810f92f1","tarball":"https://registry.npmjs.org/mapbox-data-cli/-/mapbox-data-cli-1.0.0.tgz","integrity":"sha512-xY6zNJRSkwuVuNicm/V7WbPbsf3GUw9x3aRvJ2KvF59t+mNsVYQX3ojjGCuXG8VwkOrtDRxP2BbhDMtjrXoBWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXYh2s5JMoYGjWgP+6JypPTviTMw6yrG4iJNWrZwz4xQIhAPaz26dSuMGYTJx0GZmZZL1Ip2QDWgO8LNEV29SAitIv"}]},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/mapbox-data-cli instead"},"2.0.0":{"name":"mapbox-data-cli","version":"2.0.0","description":"download and upload mapbox data as geojson","main":"index.js","bin":{"mapbox-data":"mapbox-data"},"scripts":{"test":"tape test/*.js"},"keywords":["mapbox","dataset","cli"],"author":{"name":"Tom MacWright"},"license":"ISC","dependencies":{"animate-tty":"^1.0.3","chunk":"0.0.2","geojsonhint":"^1.0.0","get-stdin":"^4.0.1","got":"^3.2.0","hat":"0.0.3","mapbox":"^0.6.2","queue-async":"^1.0.7","update-notifier":"^0.5.0","yargs":"^3.9.1"},"devDependencies":{"tape":"^4.0.0"},"repository":{"type":"git","url":"manage data within the mapbox data api"},"gitHead":"fcabf08cfd01e8b4948635166ab9d7cda4825143","_id":"mapbox-data-cli@2.0.0","_shasum":"b122aa79a8c18fbc50ea1ab8bdff71a3d7dff716","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.10.38","_npmUser":{"name":"jrpruit1","email":"jake@jakepruitt.com"},"dist":{"shasum":"b122aa79a8c18fbc50ea1ab8bdff71a3d7dff716","tarball":"https://registry.npmjs.org/mapbox-data-cli/-/mapbox-data-cli-2.0.0.tgz","integrity":"sha512-3mLfP1IJNxRZUTI2LhPg8JDHh3LMtbz0XS0FEdlHCzZedb1KlcGQclc7TZ/j83Cw+Mqr5BiHsCNapbgd31GrOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7BA9zVNd0cmczKWR8i9f7JRaMKkmnwEhc37a9nq/XXAiEAn65VZU/qhxv5fSwTOiRcw/Pdi/qG4V1jpUCcdQVDQvc="}]},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"lucaswoj","email":"lucas@lucaswoj.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"jrpruit1","email":"jake@jakepruitt.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"bergwerkgis","email":"wb@bergwerk-gis.at"},{"name":"flippmoke","email":"flippmoke@gmail.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"mateov","email":"matt@mapbox.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"edenh","email":"eden@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@mapbox.com"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/mapbox-data-cli instead"}},"readme":"# mapbox-data-cli\n\n[![build status](https://secure.travis-ci.org/mapbox/mapbox-data-cli.png)](http://travis-ci.org/mapbox/mapbox-data-cli)\n\n[![NPM](https://nodei.co/npm/mapbox-data-cli.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/mapbox-data-cli/)\n\nCLI utilities for [Mapbox](https://www.mapbox.com/) Data API.\n\n## Install\n\n```sh\n$ npm install -g mapbox-data-cli\n```\n\n## Setup\n\nRequires a `MapboxAccessToken` environment variable with data:write permissions.\n\n## Utilities\n\nIncludes nine utilities\n\n* `mapbox-data get-dataset`: read information about a particular dataset\n* `mapbox-data get-feature`: get individual feature from dataset\n* `mapbox-data create-dataset`: create a new empty dataset with optional name and description\n* `mapbox-data insert-features`: add/update features in a dataset\n* `mapbox-data replace-dataset`: replace dataset with new GeoJSON data\n* `mapbox-data list-datasets`: list all datasets belonging to a user\n* `mapbox-data list-features`: get all [GeoJSON](http://geojson.org/) features within a dataset\n* `mapbox-data delete-feature`: delete a feature from within a dataset\n* `mapbox-data delete-dataset`: delete an entire dataset\n\n\n```sh\n$ npm install -g mapbox-data-cli\n$ mapbox-data create-dataset \"Traffic Data\" \"Traffic data for Phoenix area\"\n{\"owner\":\"smith\",\"id\":\"6dcc766430756d74120b9e5ff1c9d4dd\",\"name\":\"Traffic Patterns,\",\"description\":\"Traffic in the Pheonix Valley\",\"created\":\"2015-08-05T02:35:59.828Z\",\"modifie$\n\":\"2015-08-05T02:35:59.828Z\"}\n$ mapbox-data insert-features 6dcc766430756d74120b9e5ff1c9d4dd traffic.json\n```\n\nThe 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.\n\n## Pipes\n\n`mapbox-data insert-features` and `mapbox-data replace-dataset` support stdin: you can pipe\ninto them, and they'll put the data on [Mapbox](https://www.mapbox.com/).\n\n```sh\n$ npm install -g geojson-random # util that generates random geojson\n$ geojson-random | mapbox-data insert-features DATASETID\n```\n","maintainers":[{"name":"alulsh","email":"ulsh@mapbox.com"}],"time":{"modified":"2022-06-19T15:53:42.177Z","created":"2015-05-21T03:18:03.097Z","1.0.0":"2015-05-21T03:18:03.097Z","2.0.0":"2015-08-05T15:23:48.297Z"},"keywords":["mapbox","dataset","cli"],"repository":{"type":"git","url":"manage data within the mapbox data api"},"author":{"name":"Tom MacWright"},"license":"ISC","readmeFilename":"README.md"}