babel-plugin-hodor
Babel plugin to hodor. Inspired by https://redd.it/4dqlbr
Installation
$ npm install babel-plugin-hodor
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins hodor script.js
Via Node API
;
Example
// inputconst foo = { const baz = 123; return bar + baz;} // output"use strict"; var { var hodOr = 123; return Hodor + hodOr;};