benja
Version:
Bootable Electron Node JS Application helper.
15 lines (11 loc) • 514 B
Markdown
Used mostly to fix a well-known Electron limitation with `NODE_PATH` env variable,
this module is needed to fix further `require(module)` down your app.
It can be used in both backend and frontend files.
Install it locally via `npm install benja` and after that:
```js
// on top of index.js or index.html
// to have access to both local and global modules
require(process.cwd() + '/node_modules/benja').paths();
```
Visit [Benja OS](https://archibold.io/benja/) site to know more about BENJA.