geojson2kml

a module for converting a geojson file to a kml file

npm install geojson2kml
1 downloads in the last week
12 downloads in the last month

geojson2kml

a node.js module for converting geojson to kml

npm install geojson2kml

This module is a simple wrapper around ogr2ogr that takes a geojson file and outputs a kml file. ogr2ogr must be installed to use this module.

var geojson2kml = require('geojson2kml')

geojson2kml('/path/to/polygons.geojson', '/path/to/polygons.kml', function(err){
  if(err) throw err
})

Test

cd test
mocha .
npm loves you