earth-shapefiles

Shapefiles of the Earth sourced from Natural Earth

Usage no npm install needed!

<script type="module">
  import earthShapefiles from 'https://cdn.skypack.dev/earth-shapefiles';
</script>

README

earth-shapefiles stable

Shapefiles of the Earth sourced from Natural Earth.

Usage

NPM

After installing, you can get the file path of the shapefile like so:

require.resolve('earth-shapefiles/110m.shp')
require.resolve('earth-shapefiles/50m.shp')
require.resolve('earth-shapefiles/10m.shp')

Or like so:

require('earth-shapefiles')['110m']
require('earth-shapefiles')['50m']
require('earth-shapefiles')['10m']

License

MIT. See LICENSE.md for details.