What do I mean by this? I mean for anything that is dependent on the platform node-pixi is running within, it should allow for setting those references to something else. For things like window, document, or Image constructor references.
Also, duck-typing should be used in as many places as possible to avoid any more unnecessary platform specific references.
This is almost done, see https://github.com/drkibitz/node-pixi/blob/master/src/pixi/platform.js
Project is deprecated