Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A collection of obscure unicode characters

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 README.md
Octocat-spinner-32 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.