javascript using require to find script in other folder code example Example: node js require file in parent directory var configData = require('./../common/config.js');