dingbats
v1.0.0
Published
A collection of obscure unicode characters
Downloads
2
Readme
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.