@babel/highlight

Syntax highlight JavaScript strings for output in terminals.

See our website @babel/highlight for more information.

Install

Using npm:

npm install --save-dev @babel/highlight

or using yarn:

yarn add @babel/highlight --dev