Would be good to be able to do a conventional import on the NPM package for use in Javascript - with the options passed as an options object to the constructor.
Would be happy to take a stab at this if there's any interest! Looks like a great project, and the bloomPub format has some really exciting features!