Download

Released builds

Each released versions of GeoJS can be found on Github.

Use GeoJS from CDN

GeoJS is hosted on cdnjs. It can also be accessed via cdn.jsdelivr.net and unpkg.com. To use GeoJS, include one of the following lines in your HTML head:

<script src="https://cdnjs.cloudflare.com/ajax/libs/geojs/1.14.0/geo.min.js" integrity="sha512-UP9PPy450DGNsgZedRODl/TwPcLL+6Uoyzn05611NL36+BTXM7J9Higk6zhJCzfVcCVA8SBMfv11qmC0/AlW6g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/geojs/geo.min.js"></script>
<script src="https://unpkg.com/geojs/geo.min.js"></script>

This will include minified version of GeoJS and its dependencies on your page. The integrity hash will make sure the integrity of the file.

Install from NPM

npm install geojs

This will install source code and built version GeoJS and it's optional dependencies to node_modules.

Use GeoJS with ES6 import

Once GeoJS is installed with npm, you could include GeoJS using as an ES6 module.

import geo from 'geojs';

Then you could use GeoJS with the variable geo in your script.