Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.18 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.18 KB

NPM Version NPM Downloads

EmojiSeed

Generate random emoji sequences and seeds.

Example

Creating a random sequence of emojis

const emojiSequence = generateSequence(256)
// example result: 🚶‍♀️‍➡️ 🤵🏿‍♂️ 🙇🏾‍♂️ 😓 🙎🏽 🫷 🧚🏿‍♀ 🙇🏼‍♂️ 🫵🏻 🧑🏽‍🎄 🙅🏽‍♀️ ✊ 🦸🏻‍♂ 🙍🏿 🤜🏿 🧑🏿‍✈ 🙇🏻‍♂️ 👨🏿‍⚖️ 💁🏿‍♀ 👨 👨🏻‍🦱 🫱🏻‍🫲🏽 😛 👮🏻‍♂️ 👱🏽‍♀️ 🤨 👩🏻‍🏭 😀

Getting a seed from the sequence of emojis

const { generateSeed } = require("./dist/index")
const seed = emojiSequenceToSeed("🚶‍♀️‍➡️ 🤵🏿‍♂️ 🙇🏾‍♂️ 😓 🙎🏽 🫷 🧚🏿‍♀ 🙇🏼‍♂️ 🫵🏻 🧑🏽‍🎄 🙅🏽‍♀️ ✊ 🦸🏻‍♂ 🙍🏿 🤜🏿 🧑🏿‍✈ 🙇🏻‍♂️ 👨🏿‍⚖️ 💁🏿‍♀ 👨 👨🏻‍🦱 🫱🏻‍🫲🏽 😛 👮🏻‍♂️ 👱🏽‍♀️ 🤨 👩🏻‍🏭 😀", "saltandpepper")

PRs and Issues Welcome