ethar_encode-decode
v1.1.0
Published
Data encode decode system
Downloads
3
Maintainers
Readme
Data encode decode system
This is a package for data encode and decode.
Installation
To download this package, first you need node.js If ES6, in package.json type: module
$ npm i ethar_encode-decode
Use case
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!