earth-topojson ![stable](https://camo.githubusercontent.com/5cd3df2dc41de541ea4d16524e39eae78807a7e414c43e3805c080a32bcfa498/687474703a2f2f6261646765732e6769746875622e696f2f73746162696c6974792d6261646765732f646973742f737461626c652e737667)
TopoJSON files of the Earth sourced from Natural Earth.
Usage
Load the TopoJSON files using the following:
var highRes = require('earth-topojson/10m.json')
var normRes = require('earth-topojson/50m.json')
var lowRes = require('earth-topojson/110m.json')
var lowRes = require('earth-topojson')
You can then use the topojson package on npm to convert those files into GeoJSON:
var world = require('earth-topojson')
var topojson = require('topojson')
var countries = topojson.feature(world, world.objects.countries)
See Also
License
MIT. See LICENSE.md for details.