UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

6 lines 232 B
export class SimpleJSONExporter { async parseAsync(obj, { jsonSpaces = 2 }) { return new Blob([JSON.stringify(obj, null, jsonSpaces)], { type: 'application/json' }); } } //# sourceMappingURL=SimpleJSONExporter.js.map