geojson2topojson

a module for converting a geojson file to a topojson file

npm install geojson2topojson
4 downloads in the last week
9 downloads in the last month

geojson2topojson

a node.js module for converting a geojson file to a topojson file

Installation:

npm install geojson2topojson

Use:

var geojson2topojson = require('geojson2topojson')

geojson2topojson('/path/to/in.geojson', '/path/to/out.topojson', function(err){
  if(err) throw err
})

Test

cd test
mocha .
npm loves you