random-pfp
v1.0.5
Published
it gives you random 500x500 profile picture links for user icons or other creative uses
Downloads
46
Maintainers
Readme
Random Pfp
A npm package that gives random 500x500 profile picture image links for user icons, avatars, or other creative uses
Installation:
npm i random-pfp
How to use:
const pfp = require('random-pfp');
console.log(pfp());
or
import pfp from 'random-pfp'
console.log(pfp())
Example:
const express = require('express');
const app = express();
const pfp = require('random-pfp');
app.get('/', (req, res)=>{
res.send(`<img src="${pfp()}" width="250px">`)
})
app.listen(3000);