babel-core
is the API. For v5 the babel
package is the CLI and depends on babel-core
. For v6, the babel-cli
package is the CLI (the CLI bin command is still babel
though) and the babel
package doesn’t do anything. babel-runtime
I guess is just the runtime (polyfill and helpers) to support code that’s already been transformed.