three-legacyjsonloader

1.0.6 • Public • Published

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)
})

Package Sidebar

Install

npm i three-legacyjsonloader

Weekly Downloads

22

Version

1.0.6

License

MIT

Unpacked Size

4.54 kB

Total Files

5

Last publish

Collaborators

  • _omi_