babel-plugin-plugin Example In // input code Out "use strict"; // output code Installation $ npm install babel-plugin-plugin Usage Via .babelrc (Recommended) .babelrc { "plugins": ["plugin"] } Via CLI $ babel --plugins plugin script.js Via Node API require("babel-core").transform("code", { plugins: ["plugin"] });