benja

0.2.1 • Public • Published

Benja OS Helper

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:

// 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 site to know more about BENJA.

Package Sidebar

Install

npm i benja

Weekly Downloads

0

Version

0.2.1

License

ISC

Unpacked Size

3.01 kB

Total Files

3

Last publish

Collaborators

  • webreflection