Skip to content

Repository files navigation

@nlbs/kaomoji [ ■_■ ]

Minimalist kaomoji for Nanoo Labs documentation.

Usage

import { log } from "@nlbs/kaomoji";

console.log(`${log.fatal} Database connection lost!`);
// → [ ✖_✖ ] Database connection lost!

console.log(`${log.success} Deploy complete`);
// → [ ^■^ ] Deploy complete

console.log(`${log.idle} Waiting for task`);
// → [ □_□ ] Waiting for task

Or consume the raw JSON in any language:

import kaomoji from "@nlbs/kaomoji/kaomoji.json" with { type: "json" };
import json, urllib.request
data = json.load(open("kaomoji.json"))
print(data["fatal"])  # [ ✖_✖ ]

Default fallback

Unknown keys return [ ?_? ].

log.unknown; // → "[ ?_? ]"

Reference

See KAOMOJI.md for the full kaomoji reference tables.

Raw data

Consume kaomoji.json from any language — it's the single source of truth. The index.ts wrapper is optional.

Maintained

@aadnanmt | Nanoo Labs Ecosystems.

About

Minimalist kaomojis for Nanoo Labs documentation [ ▰_▰ ]

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages