Previous: Using the CLI, Up: Babel [Index]
require("@babel/core").transform("code", { plugins: ["@babel/plugin-transform-arrow-functions"] });