emojify-webpack-plugin

1.0.2 • Public • Published

emojify-webpack-plugin npm version

This plugin will transform your code into emoji ready to be shipped to production. It's as simple as that.

Installation

Installation can be done through yarn or npm

yarn add --dev emojify-webpack-plugin
# or alternativly 
npm install --save-dev emojify-webpack-plugin

The plugin can be activated by simply adding it to your plugin chain. For best results minify your code first.

var EmojifyPlugin = require('emojify-webpack-plugin');
 
{
  plugins: [
    new webpack.optimize.UglifyJsPlugin({
      include: /\.js($|\?)/i,
      minimize: true,
    }),
 
    new EmojifyPlugin(),
  ]
}

Example

A manifest.js file from a random project built using the emojify plugin.

eval((function unpack(n,e){var t=0,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("");return n=n.replace(/../g,function(n){var o=e.findIndex(function(e){return e===n}),u=r[(o-t)%r.length];return t=(t+3)%(e.length-r.length),u}),"undefined"!=typeof atob?decodeURIComponent(escape(atob(n))):new Buffer(n,"base64").toString("utf-8")})(
"👭😚🏹📙🎄🐞🏹👤😧🌳🙆📉🏥🚩📙🍿🎌👍📉🎐👇🚗📉👺🎰🌫🏏💽🌱🐜🚥😘💬😘🏏💣🐒😘💡🐇🏯🎠🚳🚀🍻🐂🎹🚰📯🎆📶🍨🍑📫📻📫📫🏬💉🐎🍟🍷👈🍣👣🍍📒📣📊🌮🐎🍗🐫🎢🐘👌🐼🚊😋📭🍯📲😹🎷👀😤🍈💯🌼💠💜🐅💇🐸🐅🚢😢😶🚐🚕🌺📦👰💊😿💠🍄🏨🏫🏁👃🎿🏡🌤🏎🐀🐨🐀🐣🌤📳🐮🐋🏤🏋🐥🍄📂🐀🏽🏋💅🚛👶📘🚖🙀🚑🎮🙂😳📟📵🚘🎮🏽🌦💫💝😗💮👨💮🚮📏🎪🌥🌸👁🙋💤🍖🎣📁🐐😒🍓💃🍓🤔🌷💙🎋🏊📙💗🍊💂🙎😧📑😚🎏🐬🍶👤🤓🌫🐚🐞🏓💾📥🙎🎏🎥🌫👛📉💽📅🐶👯🏀👺🏯🎨👆👾🐔🚳🚞💽😾🚣🍦📋🎆🎨🎆💣📫🚰😩🚒💧💉🍏💛🎆📕🏺🍍🍷📢🏟📕🌮👣👈🍡🍢🐎👈🌨🏟💀🐼🚯🚈🎞📭😹🏩🚄🏩😹🐺🚈🍈🍅👳🚈💠🚐🚠💥👰🌼🌼💜🎈👙🐕🌿🚕🐆🏁😥👐🐄💈🏁🌲🍝📌💄🎿🍺🏚🐮🐲💳🌪🏞🍲🍄💈💩🚖👔🏙🙀🎒🚛📚💸🍮📂🎮💅📟🚵📓🎵🎯👫👫💴👹🎯🍇🍭🌹📤🎦😜👨🏷🎼🏷😒🎦💆🎋📁🎊🎪📄🐙📏👢🎊🏒🌸📠📄🚩🐽🏥💘🙎👘👤🐧🤑🤒💔📉🐻🎱🌶🐶🌫🎏👤👯👍🙆👏🐈💦📨🎰🐒😘🚌📞🏸💢🎠🚍🏏🍦👏👺🍻📶🎃😘🙁🍽🍻🍐🚣😦🏻🏻📶💧🚳🍍📶💉📒🐫🐦🏺🎫👡🐎🎬🏟👝🏠🐌📊🎟🐎📊🌴📖🎇🐌🚔🐺🚄📆🍵👮🏠🙅📰📖🎤🍾😤🏩💶💠🎸📆🚐🍞💠🐸🏁💥🐸😛💄🐤🌬🐏💄🏚💄🏫🐄🎂🌲🎂😖💍🏡🐥👅🐛👔🏉🍲📡🏙🍱🚛🙀😖😖👋👿🍩👫🏔🍸💅🍰💺🚮🙀🚮🎵💌💺🙊📐🎁🏷🐩🌧🌧🎣🚮🏐🐐🌧🙈🍓💑🤔🎼📏😒👞🚃🏒💚😒📀🏒👢🎾🏢🍶📩🎄🐻🎾💼🏑🎌🙇🚙😧👯🐧👍🐯🐁🏓🚗📥📥📈🏂🚗🚙🎐👑📍🚍🐒🍥💦👺🎥😎🎨📞👆🏾💲🍦💡🎅😾📺🐑💛📶🏮👲🚅🍑📫🐑👝📫👡🐑💀👄🍳💨🚯🍨🚯💀🎟📊🎬💨🚊🙍👬🍠📰📢🍼🌼🚐👮🌼🏌😻🍗🙌🍈👙📗👳👰🍈📗👳😻🌬📃🚢😻🐕🎩😶🐳👐💯💠🌬🐨🏚📷👐💩🐣🌪👐🐲🐏📌📘🍲😴🐮🐏🐥🍂😖📡🍰🏎🍁🏪🌦📓💅🏞🏔🙀🚘💅🍭🍇👿📵👹🎺📟🎣💫🍔🎯🚘🙋📵🌧📵🎪🌥📟🏐😔🏍🎼🏍📏🐐🐵🍓🚪👁📔👁💹🎉🚪🐹🚩📑🍪😧🐬🌳💼🏹📉📹🙉👯🚌💪📜😟🐶📉🎌💦🐔🐬🐶🎥💡🏅🚧🎐💽🚌🚗💞🏏🐔📞📶👑🎠👑🍽🏮🍻📯🍻💛🏝👆📶📒🚒🍐💉💨🍽📯🚀💒🍟🚶😦🏟🌰🎫👒🏇🍉💧💉🌴🎬🍼👓🍗📊🍡🍧🎷👩🍢📰🚈🐼🍢🚈🎸📰🚓📃💜🚠📖🏁📃🌼🙅🎩🎈💶🍺🐄👃🐅🍛🐳🏨🐄🌪🐣💊😿🌬🌬🍂🌵🐮🌵💩🍜😓🐣🚑👅😓🙀💻🚇💻🚖🍤📂🚑💅👿📚👋🎮🏷👗🏽🚖🚘👧🎯🏔🎼🎯🚘🏔🌥👂🏆🍓🌧🏿😊📐🎼👨😊📄🐝🙋🙋🏍😒💤🎪👁😪🐱👚👁🐞😝🍪💪🤓🎾😚👦🙎🍫📥🐧💕😧🙎🎰🐶🙎👛😟📨🐯🐯🍿😽🏦🚧💾🚍🚧😽💾😯🏂🎐📈🍥💬📋🎆🚒🐂🏮🎨🐑💢📞💞🍨🎹🍳🎹🚅🚞🚞📶💉📒🍡🙍👣🚅🎬🐍🚶🏟🍧💀👒📊📲🙍👌🐘📖🏖🍵🏠🍵🍅📗🏌👮💿🙅🎞🍙💶😤🏩😤🎩🌬😢🎈👃🍞👙👷🌿🐨😼🎩👐💊🌬🐮🐅🏚💄🏫🚕🚚🌲📷🌿🏋🚤🍝🌤💅📳📌👗🐛🚇🏉🙀💅📘🍮👋💸🍁🙂👴🏆🍀👶💮📝🏪🍇🏪🎵🚮🐊🏔😳🍭💝📐🍖🚉🍓🏐😜🐢🎁🌧🌸🍎🏊🏐🐝🐐🌸🚜🐱🚜🐵🐪🎧📸🏢🤒📙🏘👱🍊🎲🎶🙇💗🎌💼💼📨🌫🤓📪💱🏅📥📥💪👺🌫😟📨👕👛👛😯🐷📈💡🚝📞🌭🏀💽📋🏝👥🏾💁👥🚍🚥😣😾🍍🎆📒💒😎📒🎫🍐🎅🍣💨💧🍳🍏🐌🏟📫🏠👈🏺🐫😋🌮💐🐺😋👓🏌🏌😋📆📣📖💿😢😹🏩🎞👳📛🎸🚈📇👳😢🚐🚕🍚🍛📃🐕😶🎈🐓💊👙🐕🐳🐏👖💊👖🍜🏡🍝🏋💳🐣🌲🐓🚇🏨🐮💩📘🏉📷📘🎭🐥🐥🏪🐊🍁😨🐩🐩🌻🍇🍰🎯👗🍀🙃🚫🎺📟🍸🎵👫😗💌🐢💆🤔📵😊💆🙄💴📔🌹🌸🏐🏐🌸🚜🍓🏒🙋🎪💑🐟📄💎🤓📹🎻🍪💖💼📩🍃🚴🎏🍌📥🐯📥👤🤑🏅🏦💔🌫🐯🎥😟👍💲👕🐶😘😟👑👺🚗💾🐂🐷👾🐖🏕🙁😾🐒🚷🍥🏮🚀🍽🏀🍐💞🐦🏕🍳🍟📎🏬🎆🐍🍏👄🚶😸😋🎫📫😸🐘🎫🏌💨💐🚂📻🐎👌🌴🐫👬📭🚯👌👒🎀🎳📰🎀📗🎞📲👮👰👀🍈📃🌽🚐💜🎸🐭🍈🐆💯🚤💯🍛🏁💊🍞🎩🎩🌪🐭📳🐨🐲😴🍂🍄📳🎂😖📘👔😓👔🎭🌻🏃🚑💸👗🌻🚵🐀👂🎒🚵📘💺🍩🍁🎭😗👧🚉🏔🎼🏆🍇📵🙄🙊🙊💑🙋🏿🎯🐾🏐🎣🙃😗🍴🤔💤💤🏒🙋🐪🍓🚬🍆📏🐱💗🏹🙉💘🙎🏘🍃🚴💪🐞🐧🍶👇💱🎰🐧🎐🚙👤🐈🏂🙆👍🏸👏📜🚗🎰🚥🌭👕😯💡🏓📼🏓🐇👑👺🏏📶🏯💲😯🏻🍦👥🚰🏭😾😾🍽😸🚳📯🚀🐫🐑🏭🎟🐎💨🍨👈🐫🍏😱👌👒📊🙌🍠🍵🙍🍡🏖👓👌🏌📗🚈🐺🍵😻📛🚓🚊🚄🚲💿🙅😻😼🎸💜🐅💥📱🐆📃🏚👷🐰🏡🐰😛👃🐏🌲👐💊🎿📌👐💊🏨😨🍄😓🏨🍱💍📳👗🏤💩🏙😨🍀📚🍁💸🍇👋🎭🏪🏔📡👫🍭🏆🍇🚵🎵📵🐊🎮💴🎦💮🎦💺🐢🚉🚉🎵🌸📵🤔🌥🚜🎪🏊🎋🐱🌸🐐🐾😲🍴🌷🍓💙👟👦📸🙎💖🏢👎🤑🏑💼📉🌱🚦🐜💾🙆👤📪🙆📴📪🍿🎏🚌📴🐔💽🚝🎰👺👯🙁🏅👍📈🚣🚍😘📶💞🏝👥💲🏾😩📼😾📒📋😎🏀📫🏭🎫🐑👝😣🐍🚰🍧🎅🍨🍧🚶💉🍡🍯🐘💉🍡😋📲👈🍢😋📖🏌🍹💿🎇🚯🌴📲🎸🏖🍈🎇🌼😤👳🎞💶📗👳😢💶🚠🚢😼💄💶🏧🐳🚕😿🐳🏨😴🐕🏁🌿🌪🍝🐓🍲👅🌪📌🏞👔📳🌲🍲📚🏋🐥👋💅🐉🏽🏋🍮🍁🐀📡🏔🙀🚵📘🐩👗🏆💸🚘🙂📟💸🙄📐🐩💮🙋💌🎁🎣🚜🌥🎪🎣📔👞🎦👼🍴😜🎁🍴💹🐵🎉👁🎧🎉🚪💘💗🎡🍘🍊🎌🚁🎌🍊🙎💼👦🤓🙆💪🚙💗📨💱🌫🎌👍📴👍🐖🏓🏦🚗👯😘👏👾🐒📞🎃🚥🍦🐇😯🐂🚀🚷😯🐂😩🎅📶🏭😩🍷🚟💁💉🍏🍽🏻🎅👝🍟🎫💉💐😠🍡📕🌴🍡🍣📕🍯📎💉🚈🍯🚯🚊👒👵🚊🎬🚄🏩🎷📆📃📦🍅🐆🎇🎩🍾🍙🚐👰🍈🏩💿🐭📃🏚🐅🌿🐡🐆💶🎂😌🚢🐄🍄🍝👃🐏🐋😴🏉👐🐲👅🍝🏎😨🍄🌪🍮📂🏞🏉🙀🙀🍲🍰😖🎮😑👿💌😳👴🍁🍭📐🏔🚉🐩🌧🚮🙃💮🌥👹💤🚫😜💴🌸💭🤔🚃🎁💑🐙😊🎁🎋👼🎋🐪😒🍆📁😏🎍📩📑💼💪🍃🙉👱📉📙🍌🐻🍶💔🎲💕📉🍿📙👤🏅🎰😟🐶🐖🐔🎰🎃🐒🎥🚌🏏😾👥",
(function generateEmoji(){function n(n,r){return Array.apply(null,{length:r-n}).map(Function.call,Number).map(function(r){return r+n})}var r,t,o,a,e=[].concat(n(127780,127891),n(127902,127984),n(127991,128253),n(128522,128591),n(128640,128696),n(129296,129301)).map(function(n){return String.fromCodePoint(n)}),u=1337;for(o=e.length;o;o--)a=1e4*Math.sin(u++),r=Math.floor((a-Math.floor(a))*o),t=e[o-1],e[o-1]=e[r],e[r]=t;return e})()))

WHY!?

Readme

Keywords

Package Sidebar

Install

Weekly Downloads

1

Version

1.0.2

License

Unlicense

Last publish

Collaborators

  • mechazawa