access to static file nodejs

JavaScript
app.use(express.static(__dirname + '/public'));
<link rel="stylesheet" type="text/css" href="css/style.css" />

Source

Also in JavaScript: