I know that the normal way to include a file in nodejs is by using
var myFile= require("./file");
.
However, if file contains symbols such as '#' or TRUE or FALSE, nodejs fails with the following error:
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:437:25)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
(function (exports, require, module, __filename, __dirname) { #
Is there any way I can include this kind of file in nodejs.