JSPM

hex-encode-decode

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3494
  • Score
    100M100P100Q186266F
  • License MIT

Hex encode & decode string

Package Exports

  • hex-encode-decode

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hex-encode-decode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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