lib/condenser/processors/node_modules/@babel/highlight/README.md in condenser-0.0.4 vs lib/condenser/processors/node_modules/@babel/highlight/README.md in condenser-0.0.5

- old
+ new

@@ -1,41 +1,19 @@ # @babel/highlight > Syntax highlight JavaScript strings for output in terminals. +See our website [@babel/highlight](https://babeljs.io/docs/en/next/babel-highlight.html) for more information. + ## Install +Using npm: + ```sh -npm install --save @babel/highlight +npm install --save-dev @babel/highlight ``` -## Usage +or using yarn: -```js -import highlight from "@babel/highlight"; - -const code = `class Foo { - constructor() -}`; - -const result = highlight(code); - -console.log(result); -``` - -```js -class Foo { - constructor() -} -``` - -By default, `highlight` will not highlight your code if your terminal does not support color. To force colors, pass `{ forceColor: true }` as the second argument to `highlight`. - -```js -import highlight from "@babel/highlight"; - -const code = `class Foo { - constructor() -}`; - -const result = highlight(code, { forceColor: true }); +```sh +yarn add @babel/highlight --dev ```