Module to process and cache map style.
$ npm install --save @mapwhit/style-loaderLoad map style JSON and convert to an object that handles loading of all artifacts (sprites, sources, tiles, etc.) defined in the style.
import { styleLoader } from '../lib/style-loader.js';
const style = await styleLoader('https://example.com/style.json', 'network-only');MIT © Natalia Kowalczyk