UNPKG

threepipe

Version:

A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.

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