osg-serializier-js is PureJS module for serializing .osgt
and .osgb
files.
The tool is still in development but I will be happy to your issues and contributions
In terminal: npm install --save osg-serializer-js
In code:
const osg = require('osg-serializer-js');
file = osg.readFile("MyAwesome3DModel.osgb");
// start workin with 3d data