I'm a beginner with node.js, but I god I fucking hate it when developers include no example or comments in their code.
I'm trying to get this script to work, but it keeps throwing the error
"TypeError: Invalid non-string/buffer chunk"
Here is my code. test.xp is the xp file I want to display.
RexSprite(fs.createReadStream('test.xp'))
http://www.gridsagegames.com/blogs/files/rex_sprite.js