// the find
notwaldorf/emoji-translate
:books: Translate text to ✨emoji ✨!
A toy library that replaces words in a string with matching emoji, backed by emojilib's keyword mappings. Born from a hackday, it does exactly what it says and nothing more. Useful if you need to add emoji substitution to a side project and don't want to write the lookup logic yourself.
The API surface is minimal and honest — five methods, no config objects, no setup ceremony. The `onlyEmoji` flag on `translate()` is a useful escape hatch for all-emoji output. It delegates the hard part (emoji-to-keyword mapping) to emojilib, which is actively maintained. The Chrome extension ships the same translation logic, so there's no divergence between the library and the demo.
Abandoned since 2021 — the npm package is `moji-translate`, not `emoji-translate`, which is already confusing, and neither has seen a release in years. No TypeScript types, no ESM export, just a plain CommonJS file from 2015. Translation quality is purely keyword-based with no context awareness, so 'fire' the word and 'fire' the concept of being fired both get 🔥. The test file exists but tests almost nothing useful.