2.1.0 • Published 3 years ago

hex.js v2.1.0

Weekly downloads
3,743
License
MIT
Repository
github
Last release
3 years ago

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

License

This project is licensed under the MIT License - see the LICENSE.md file for details

2.0.2

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

6 years ago

1.0.0

6 years ago