pingen

0.0.0 • Public • Published

Map Pin Generator

Generate map pins with font-awesome icons, text, and dynamic colors.

image

Install

with npm do npm install pingen

Usage

var pingen = require('pingen');

// color, text, icon, twoX 
var stream = pingen("green", null, "fa-home", true);

stream = pingen("#fff", "13", null, false);

Example server api

GET localhost:3000/:size/:color/:icon/marker.png?text=string

image

/2x/ccc/fa-microphone/marker.png

image

/2x/2A94D6/fa-microphone/marker.png

image

/1x/green/fa-home/marker.png

image

/2x/F3AE4E/marker.png?text=5

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i pingen

    Weekly Downloads

    3

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • moonsspoon