1.0.0 • Published 5 years ago

hex-encode-decode v1.0.0

Weekly downloads
434
License
MIT
Repository
github
Last release
5 years ago

hex-encode-decode

package version package downloads standard-readme compliant package license make a pull request

Hex encode & decode string

Table of Contents

Install

This project uses node and npm.

$ npm install hex-encode-decode
$ # OR
$ yarn add hex-encode-decode

Usage

const { encode, decode } = require('./')

console.log(encode('hello'), decode('68656c6c6f')) // 68656c6c6f hello

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT