I need to load npm module forerunner to act as an in-browser database with basic query functionality. I am building on the electronjs + Angular stack and compiling to a windows binary .
Forerunner is an npm module.Using the require('forerunner') in main.js is not working. Is there library that can load NPM modules (use the require in angular ) in AngularJS without having to re-write the whole code in modular as required by Browserify. This will take too long as I have written a lot of files already.
Also if there is any in-browser database or datastore with basic query that can load using script tag or in the browser, it'll be great .
Thanks for your help.
Deyan Toteff
Spaghetti code is our homeland
I would go with browserify. Otherwise, it could be also possible with webpack.