@sefinek/rot47
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

🌀 ROT47 - Encode and Decode

The @sefinek/rot47 module is a simple Node.js module for encoding and decoding text in ROT47.

📥 Installation

To install the module, use the following command:

npm install @sefinek/rot47

🤔 Usage

To use the module, require it in your Node.js application:

const rot47 = require('@sefinek/rot47');

🔼 Encoding text in ROT47

To encode a string in ROT47, use the encode() function:

const encoded = rot47.encode('Hello world!');
console.log(encoded); // "w6==@ H@C=5P"

🔽 Decoding text from ROT47

To decode a string from ROT47, use the decode() function:

const decoded = rot47.decode('w6==@ H@C=5P');
console.log(decoded); // "Hello world!"

🤝 Contributing

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.

⭐️ Supporting the project

If you find this module useful, please consider giving it a star on GitHub. Your support is greatly appreciated!

📝 License

This module is licensed under the MIT License.

Package Sidebar

Install

npm i @sefinek/rot47

Weekly Downloads

62

Version

1.0.5

License

MIT

Unpacked Size

8.94 kB

Total Files

7

Last publish

Collaborators

  • sefinek