bottom-text
v0.1.1
Published
TypeScript implementation of bottom π₯Ί
Downloads
3
Readme
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!