Simple and easy-to-use text encoding algorithms.
Use git to install package.
git clone https://github.com/iibe/xencoder.git
import xen, { Xencode } from "xencode/dist/index.js";
const message = "Hello, world";
const command = "pr-1.cl-2.tr-3";
const encoded = xen.encode(message, command);
console.log(encoded);
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.