0.1.1 • Published 3 years ago
bottom-text v0.1.1
bottom
TypeScript implementation of the Official Bottom specification.
installing
npm i bottom-text
# or
pnpm i bottom-text
# or
ponpon i bottom-text
usage
// commonjs require
const Bottom = require("bottom-text");
// esm/ts import
import Bottom from "bottom-text";
Bottom.encode("Hello World!");
// => 💖✨✨,,👉👈💖💖,👉👈💖💖🥺,,,👉👈💖💖🥺,,,👉👈💖💖✨,👉👈✨✨✨,,👉👈💖✨✨✨🥺,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖🥺,,,👉👈💖💖👉👈✨✨✨,,,👉👈
Bottom.decode("💖✨✨,,👉👈💖💖,👉👈💖💖🥺,,,👉👈💖💖🥺,,,👉👈💖💖✨,👉👈✨✨✨,,👉👈💖✨✨✨🥺,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖🥺,,,👉👈💖💖👉👈✨✨✨,,,👉👈");
// => Hello World!