OPTIONAL
Node-optional allows you to optionally 'require' modules without surrounding everything with 'try/catch'. Usage and installation is easy and this module itself is very easy and straightforward to use.
Install
npm install optional
Usage
var optional = ; var express = ;var fs = ; console;console;
Output:
express: null
fs: [object Object]
Changelog
v0.1.0-2
- Corrected bug when trying to optionally include relative paths