1.0.1 β’ Published 2 years ago
face64 v1.0.1
face64
Like base64, but with emoji
- Under 700 bytes, no dependencies
- Works in node.js and the browser
- Pretty silly in general
Installation
yarn add face64
// ...
import face64 from 'face64'
or
<script src="https://unpkg.com/face64"></script>
Usage
face64.encode('Jello, world!') // "π£π½π¦ππ²πππΌππ»ππΌππΊπππ²ππππͺπππ"
face64.decode('π£π½π¦ππ²πππΌππ»ππΌππΊπππ²ππππͺπππ') // "Jello, world!"
face64.auto('Jello, world!') // "π£π½π¦ππ²πππΌππ»ππΌππΊπππ²ππππͺπππ"
face64.auto('π£π½π¦ππ²πππΌππ»ππΌππΊπππ²ππππͺπππ') // "Jello, world!"