mapbox-upload-limits

limits for the mapbox data upload api

Usage no npm install needed!

<script type="module">
  import mapboxUploadLimits from 'https://cdn.skypack.dev/mapbox-upload-limits';
</script>

README

mapbox-upload-limits

build status

Constant values of the limits of Mapbox upload services. This module is a JSON file: read limits.json for the limits.

JSON values can be overridden with environment variables, for example:

{
    "mbtiles": {
        "max_filesize": 10
    }
}

We can use the LIMITS_<type>_<key> template to update this value:

export LIMITS_MBTILES_MAX_FILESIZE='100'

install

$ npm install --save mapbox-upload-limits