node js favicon.ico

JavaScript
 
var favicon = require('serve-favicon');
app.use(favicon(path.join(__dirname, 'public/images', 'favicon.ico')));
 

Source

Also in JavaScript: