1.0.0 • Published 3 years ago

dingbats v1.0.0

Weekly downloads
12
License
-
Repository
github
Last release
3 years ago

dingbats

Obscure unicode characters for fun and profit

Examples:

> var d = require("./dingbats");
> d.alert + " WARNING: LETHAL LEVELS OF AWESOME"
'⚠ WARNING: LETHAL LEVELS OF AWESOME'
> "Weather in SF: "+d.rain
'Weather in SF: ☔'
> "BERKELEY CITY LIMITS\n" + d.radioactive + " NUCLEAR FREE ZONE"
'BERKELEY CITY LIMITS\n☢ NUCLEAR FREE ZONE'
> d.int+"xyz"+d.partial + "x" + d.partial + "y" + d.partial + "z"
'∫xyz∂x∂y∂z'
> [d.skull, d.recycle, d.snowman, d['``'], d.lesbian, d.star, d.yinyang].join(", ")
'☠, ♲, ☃, ❝, ⚢, ★, ☯'

Install:

npm install dingbats

api:

Module.exports is just an object, with keys being in ASCII and values being from some of the more interesting parts of unicode.

To see what's included, just read the file! I promise, it's nothing special.

Contribute:

Have a fun character in mind? PLEASE add it. Just send me a pull request!

License:

MIT/X11.

1.0.0

3 years ago

0.0.2

12 years ago

0.0.1

12 years ago

0.0.0

12 years ago