mog-script-snippets

0.3.4 • Public • Published

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
break ⚡️
case 💼
catch 🙉
class 💩
const 💎
debugger 🚧
default ⭐️
delete ⛔️
else ❗️
export 🛳
false 💔
for 🌀
from 👈
function ⚙️
if
import 📦
instanceof 👶
new
return 🎁
switch 🚦
throw 💥
true 💗
try 🙊
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 😀 🙃

Readme

Keywords

Package Sidebar

Install

npm i mog-script-snippets

Weekly Downloads

0

Version

0.3.4

License

MIT

Last publish

Collaborators

  • npejo