The project file is an UMD module so you can import it in any kind of js app.
The following example is using CommonJS with ES5 syntax but for example you could load the project file with a script tag and get the project as a global js object.
var myProject = require('./myProject.am.js') var node = document.getElementById('anim-root') var timeline = myProject.timelineName(node)
Note: One Project can contain many Timelines
//example timeline.pause() timeline.resume() timeline.seek(1.5) timeline.reverse()