Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

NotificationsYou must be signed in to change notification settings

iansinnott/asciilib

Repository files navigation

Ascii art / kaomoji keyword library

Install

npm install --save asciilib

Usage

constasciilib=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 entryentry:'( ͜。 ͡ʖ ͜。)',// The actual characterskeywords:['face','upsidedown'],// Anycategory:'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 oflib.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

[8]ページ先頭

©2009-2025 Movatter.jp