asset digest in node.js

Developer from somewhere

node-static-asset can help with this.

Like the docs say, add this to your app:

var express = require('express');
var app = express();
var staticAsset = require('static-asset');
app.use(staticAsset(__dirname + "/public/") );
app.use(express.static(__dirname + "/public/") );

And then in the view, use it like this:

script(type="text/javascript", src=assetFingerprint("/javascripts/jquery.min.js") )