0.0.4 β’ Published 3 years ago
hashmoji v0.0.4
hashmoji
Transform a string into an emoji representation
Supports 3360+ emojis per Unicode 13 spec.
Install
yarn add hashmoji
Usage
Consistent API on both node through the crypto module and browsers with Web Cryptography (not supported on IE 11 and Opera mini π©π€£πππ¦π)
const hashmoji = require('hashmoji')
await hashmoji('sushi')
π΄πΌ
await hashmoji('balthazar', 5)
πΉπ±π΅π»πΆββοΈβοΈπ΄π»ββοΈ
Mentions
Inspired by hash-emoji.