@loaders.gl/bson
Version:
Framework-independent loader for JSON and streaming JSON formats
16 lines (13 loc) • 338 B
text/typescript
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
import type {Format} from '@loaders.gl/loader-utils';
export const BSONFormat = {
name: 'BSON',
id: 'bson',
module: 'bson',
extensions: ['bson'],
mimeTypes: ['application/bson'],
category: 'json',
binary: true
} as const satisfies Format;