• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

mog-script-snippets

M.O.G. Script - Emojify your JavaScript code
  • #emoji
  • #javascript
mog-script
395
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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.

mog-script-snippets-example

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 😀 🙃

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by