Install - greywolf001au/termhelper GitHub Wiki
You can install Termhelper in the following ways.
Using NPM on the command line change directory to your app root and type:
npm install termhelper
Alternately you can install it as a global package in your NodeJS root using:
npm install -g termhelper
You can also download this package in zip format and extract it to either your applications node-modules directory or NodeJS root directory.
After installing Termhelper in your desired location you must include it in your application. To include Termhelper when installed as an application module simply add the following line to your application:
var term = require('termhelper');
If you have done a global install you may need to specify the path:
var term = require('../termhelper');
You should also add a reference to your package.json files dependencies object:
"dependencies": { "termhelper": ">= 0.1.8" }
This will ensure that when others are installing your application or module the latest version of Termhelper is also installed. This will also report to npm registry that your application depends on Termhelper when you publish your application. The benefit of this is I can add to or change Termhelper to better suit your application needs and ensure I do not remove methods your application is using.