Skip to main content

Overview

The @loaders.gl/core module contains the core API of loaders.gl

The core API offers functions to parse loaded data in various ways using loaders

To fetch data, use the built-in fetch or the API compatible but more capable fetchFile

To load (fetch and parse) data

To register loaders, or select a loader that matches a file from a list of candidate loaders:

To encode and save data

As well as some utility functions.

Micro-Loaders

Loaders with limited functionality but with minimal bundle size impact:

LoaderDescription
JSONLoaderA minimal non-streaming JSON loader that uses the built-in JSON.parse function
NullLoaderA loader-object that ignores input data and always returns null.