2.1.0 • Published 3 years ago
hex.js v2.1.0
Hex.js
This module turns any string to hex.
Installing
npm i hex.js
Example
const hex = require('hex.js').hex;
const unHex = require('hex.js').unHex;
console.log(hex('Hello world!')); // -> 48656c6c6f20776f726c6421
console.log(unHex('48656c6c6f20776f726c6421')); // -> Hello world!
Authors
- Araysh - Araysh
License
This project is licensed under the MIT License - see the LICENSE.md file for details