DEV Community

ollie
ollie

Posted on

Generate ASCII faces

npm version

A silly package I created whilst working on a side project. I needed faces for profile images, and thought why not have a unique set of text-based generated faces.

There are 501,600 potential combinations

Standard

Colour

Usage

For now it's a default export, so import it however you want.

npm install ascii-face -s

Standard

import facegen from 'ascii-face'
const face = facegen()
// ...

Colour

import facegen from 'ascii-face'
const face = facegen(true)
// ...

Discussion (1)

Collapse
gdhpress1 profile image
GDH Press • Edited

Thanks!