python pygmentize(1)
$ npm install visionmedia/node-pygments
Language specified:
var highlight = require('pygments');
highlight(str, 'js', function(err, html){
}, options)
Guessing:
var highlight = require('pygments');
highlight(str, function(err, html){
}, options)
To use options, see pygments options
MIT