6.0.0 • Published 3 years ago
babel-plugin-putout v6.0.0
babel-plugin-putout
Use 🐊Putout as babel plugin.
Example
-const s = 'hi';Installation
$ npm install babel-plugin-putoutUsage
Via .babelrc.json (Recommended)
.babelrc.json
{
"plugins": [
["putout", {
"rules": {
"remove-unused-variables": false
}
}]
]
}Via CLI
$ babel --plugins putout script.jsVia Node API
require('babel-core').transform('code', {
plugins: ['putout'],
});