Node js encoder / decoder what change all emoji variables to valid variabler.
- Replace emojis variables to emoji hex.
- Ignore emoji in string.
- Ignore emoji in comments.
Project requires Node.js v 10+ to run.
$ npm installEdit index.js
$ npm run startEncode emoji to hex index.js
$ npm run encodeDecode emoji hex to emoji index.js
$ npm run decodeEncode emoji to hex and run index.js
$ npm run startindex.js before encode
var
🤪 = 'Hello',
🚀 = 'world';
console.log(🤪 + 🚀)index.js after encode
var
e_1f92a = 'Hello',
e_1f680 = 'world';
console.log(e_1f92a + e_1f680)