M.O.G. Script 🎉
Emojis all around us and so the fun can grow! 😀 🍾 🎉
- Convert the JavaScript keywords in your code into emojis.
- Write faster emojified code using the predefined snippets.
- Add this webpack loader to your configuration and let the emojis live in your project, the loader will transpile them back to standard JavaScript.
Installation 💾
apm install mog-script-snippets
Default Settings 🎛
Keywords map
Keyword | Emoji | Snippet |
---|---|---|
break | ⚡️ | break- |
case | 💼 | case- |
catch | 🙉 | catch- |
class | 💩 | class- |
const | 💎 | c- |
debugger | 🚧 | deb- |
default | ⭐️ | def- |
delete | ⛔️ | del- |
else | ❗️ | else- |
export | 🛳 | exp- ; expdef- |
false | 💔 | false- |
for | 🌀 | for- |
from | 👈 | from- |
function | ⚙️ | f- |
if | ❓ | if- ; ife- ; ifeif- |
import | 📦 | imp- |
instanceof | 👶 | instaneof- |
new | ✨ | new- |
return | 🎁 | r- |
switch | 🚦 | sw- |
throw | 💥 | throw- |
true | 💗 | true- |
try | 🙊 | try- |
while | 👀 | while- |
Keybindings
JS keywords 👉 emojis
ctrl+alt+e
Emojis 👉 JS keywords
ctrl+alt+k
🚨 DISCLAMER 🚨 Do not use this package on production code! We are not responsible if your boss or colleagues gets 😱 angry 😡 when they see emojis in your JS code 😀 🙃