mapbox / tokml

Convert GeoJSON to KML.
http://mapbox.github.io/tokml/
BSD 2-Clause "Simplified" License
189 stars 91 forks source link

how to install? newbies questions #25

Closed zhengniu closed 9 years ago

zhengniu commented 9 years ago

HI Tom,

I download file as zip file, and installed the note.js. But, still have zero clue about the Usage section you mentioned.

with node, how to install? If you don't mind, could you please provide step by step instructions?

Really Appreciated

with node/browserify

npm install --save tokml otherwise:

wget https://raw.github.com/mapbox/tokml/master/tokml.js as a binary:

npm install -g tokml tokml file.geojson > file.kml tokml < file.geojson > file.kml

tmcw commented 9 years ago

See https://docs.npmjs.com/getting-started/installing-node & https://docs.npmjs.com/getting-started/installing-npm-packages-globally