Purpose of installing Twitter Bootstrap through npm?
If you NPM those modules you can serve them using static redirect. First install the packages: npm install jquery npm install bootstrap Then on the server.js: var express = require(‘express’); var app = express(); // prepare server app.use(‘/api’, api); // redirect API calls app.use(“https://stackoverflow.com/”, express.static(__dirname + ‘/www’)); // redirect root app.use(‘/js’, express.static(__dirname + ‘/node_modules/bootstrap/dist/js’)); // … Read more