Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A collection of obscure unicode characters
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
README.md
package.json

README.md

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.

Something went wrong with that request. Please try again.