1.0.5 • Published 2 years ago

random-pfp v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years 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

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago