JSPM

three-legacyjsonloader

1.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q49386F
  • License MIT

A node package to parse THREE Js Json files on server side.

Package Exports

  • three-legacyjsonloader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (three-legacyjsonloader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

three-Legacy-JSON-Loader

A node package to parse THREE Js Json files on server side.

Install

npm install three-legacyjsonloader

USAGE

const THREE = require('three');
const LegacyJSONLoader = require('three-legacyjsonloader')
let loader = new LegacyJSONLoader(THREE);
loader.load('teapot.json').then(function (obj) {
    console.log(obj)
}).catch(function (err) {
    console.log(err)
})