Generate map pins with font-awesome icons, text, and dynamic colors.
with npm do npm install pingen
Uses node-canvas, which depends on Cairo.
var pingen = require('pingen');
// color, text, icon, twoX
var stream = pingen("green", null, "fa-home", true);
stream = pingen("#fff", "13", null, false);
GET localhost:3000/:size/:color/:icon/marker.png?text=string
/2x/ccc/fa-microphone/marker.png
/2x/2A94D6/fa-microphone/marker.png
/1x/green/fa-home/marker.png
/2x/F3AE4E/marker.png?text=5