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