Asked 25 days ago
17 Nov 2017
Views 37
angeo

angeo posted

how to include js file to node js file ?

setting.js

var defaultUrl="http://arrayoverflow.com";


i want to include setting.js file into tool.js

tool.js

const request = require('request');
// here need to acess the defaultUrl 
Post Answer