amrhextotext
Version:
Conversor de Hexadecimal a Texto
34 lines (25 loc) • 563 B
Markdown
Simple converter text to hex and hex to text
```shell
npm i amrhextotext --save
```
```shell
git clone https://github.com/voltican/amrHextoText.git
```
```shell
const text = 'test text'
const hex = '746573742074657874'
const convert = require('amrhextotext')
//convert text to hex
let hexSample = convert.textToHex(text)
//Result: 746573742074657874
//Convert hex to text
let textSample = convert.hexToUtf8(hex)
//Result: test text
```
This software is licensed under the MIT License.