bitkompagniet-avatars
v0.1.1
Published
An Express wrapper for jdenticons
Downloads
4
Readme
An Node/Express wrapper for jdenticon. Can be added as a sub-app to deliver jdenticons directly from the server.
Install
npm i --save bitkompagniet-avatars
Usage
var avatars = require('bitkompagniet-avatars');
var express = require('express');
var app = express();
app.use('/avatars', avatars);
// Identicon now available at /avatars/identicon/{username}
You can provide ?size=400
as querystring to get a size of your choice (400x400 in this example).
Future
- Provide other kinds of avatars