𝕮𝔬𝔫𝔳𝔢𝔯𝔱 𝔩𝔢𝔱𝔱𝔢𝔯𝔰 𝔣𝔯𝔬𝔪 𝔱𝔥𝔢 𝔈𝔫𝔤𝔩𝔦𝔰𝔥 𝔞𝔩𝔭𝔥𝔞𝔟𝔢𝔱 𝔱𝔬 𝔉𝔯𝔞𝔨𝔱𝔲𝔯 𝔲𝔫𝔦𝔠𝔬𝔡𝔢 𝔠𝔬𝔡𝔢𝔭𝔬𝔦𝔫𝔱𝔰.
𝔘𝔰𝔞𝔤𝔢
𝔍𝔞𝔳𝔞𝔖𝔠𝔯𝔦𝔭𝔱 𝔢𝔵𝔞𝔪𝔭𝔩𝔢
import frakt from "./index";
console.log(frakt.encode("hello world"));
// => 𝔥𝔢𝔩𝔩𝔬 𝔴𝔬𝔯𝔩𝔡
console.log(frakt.decode("𝔥𝔢𝔩𝔩𝔬 𝔴𝔬𝔯𝔩𝔡"));
// => hello world
𝔄 𝔠𝔬𝔪𝔪𝔞𝔫𝔡 𝔩𝔦𝔫𝔢 𝔦𝔫𝔱𝔢𝔯𝔣𝔞𝔠𝔢 𝔦𝔰 𝔞𝔳𝔞𝔦𝔩𝔞𝔟𝔩𝔢 (𝔯𝔢𝔮𝔲𝔦𝔯𝔢𝔰 𝔑𝔬𝔡𝔢𝔍𝔖).
curl -O https://fossil.glitch.me/frakt/uv/frakt
chmod +x frakt
./frakt hello world
# => 𝔥𝔢𝔩𝔩𝔬 𝔴𝔬𝔯𝔩𝔡
./frakt -d 𝔥𝔢𝔩𝔩𝔬 𝔴𝔬𝔯𝔩𝔡
# => hello world
𝕴𝔱 𝔴𝔬𝔯𝔨𝔰 𝔦𝔫 𝔳𝔦𝔪!
:r !./frakt hello world