Option to consume this library as a CommonJS module for use in Node.js
I'm working on a Node.js command line app that needs to have IPS patching functionality. This repo has a lot of great functionality, but from what I can tell, it assumes consumption in the browser with a GUI. Would be nice to be able to do stuff like this:
// Node.js script
let romPatcher = require('RomPatcher')
romPatcher.patch(inputRomPath, inputIpsPath, outputRomPath)
// the above writes to outputRomPath using Node.js fs module
Sounds pretty good. Unfortunately, I haven't worked with Node.js.
I'll leave the issue open just in case someone feels free to implement this :-)
I haven't created a node module from a vanilla javascript project in a while, but I can take a look at this if help is still needed.
That'd be awesome. Nobody has worked on it yet.
Okay, I'll take a look at it this week.
#61 should work for this
Thanks!