Skip to content

(ノ◕ヮ◕)ノ*:・゚✧ A library of ascii faces and kaomoji

License

Notifications You must be signed in to change notification settings

iansinnott/asciilib

Repository files navigation

Asciilib

Ascii art / kaomoji keyword library

Install

npm install --save asciilib

Usage

const asciilib = require("asciilib")

asciilib.lib
{ upside_down_lenny:
   { name: 'Upside Down Lenny',
     entry: '( ͜。 ͡ʖ ͜。)',
     keywords: [ 'upside', 'down', 'lenny' ],
     category: 'UNASSIGNED' },
  race_car:
   { name: 'Race Car',
     entry: '\\ō͡≡o˞̶',
     keywords: [ 'race', 'car' ],
     category: 'UNASSIGNED' },
  ...
}

asciilib.ordered
[ 'afraid', 'airplane', 'almost_cared', ... ]

Contributing and adding new kaomoji or ascii art

Submit a pull request :). The file to modify is: lib.json. Each entry has the following shape:

{
  name: 'Upside Down Lenny', // Some string that describes the entry
  entry: '( ͜。 ͡ʖ ͜。)', // The actual characters
  keywords: [ 'face', 'upsidedown' ], // Any
  category: 'UNASSIGNED' // whatever you want
}

Related Projects

Inspired by

If you want something similar for emoji check this out ☝

A warning about bundle size

If you're worried about bundle size you should know that importing this lib will include all of lib.json, which currently adds over 200kb (uncompressed).

About

(ノ◕ヮ◕)ノ*:・゚✧ A library of ascii faces and kaomoji

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published