@babel/register

The @babel/cli package allows you to transpile source code ahead of time; on the other hand, @babel/register transpiles it at runtime.

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.