asciilib
asciilib copied to clipboard
(ノ◕ヮ◕)ノ*:・゚✧ A library of ascii faces and kaomoji
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
- asciilib-workflow An Alfred Workflow for using this library
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).