1.0.5 • Published 10 months ago

random-pfp v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Random Pfp

A npm package that gives random 500x500 profile picture image links for user icons, avatars, or other creative uses

NPM Downloads NPM Version

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);

image

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago