This is a package for data encode and decode.
To download this package, first you need node.js If ES6, in package.json type: module
$ npm i ethar_encode-decode
import { encodeethar, decodeethar } from 'ethar_encode-decode';
// Example usage
const encodedData = encodeethar('Hello, World!');
console.log(encodedData); // Outputs: SGVsbG8sIFdvcmxkIQ==
const decodedData = decodeethar(encodedData);
console.log(decodedData); // Outputs: Hello, World!