The @sefinek/rot47 module is a simple Node.js module for encoding and decoding text in ROT47.
To install the module, use the following command:
npm install @sefinek/rot47
To use the module, require it in your Node.js application:
const rot47 = require('@sefinek/rot47');
To encode a string in ROT47, use the encode()
function:
const encoded = rot47.encode('Hello world!');
console.log(encoded); // "w6==@ H@C=5P"
To decode a string from ROT47, use the decode()
function:
const decoded = rot47.decode('w6==@ H@C=5P');
console.log(decoded); // "Hello world!"
Contributions are always welcome! If you have any ideas or suggestions for improving this module, feel free to open an issue or submit a pull request.
If you find this module useful, please consider giving it a star on GitHub. Your support is greatly appreciated!
This module is licensed under the MIT License.