{ "_args": [ [ { "raw": "@babel/highlight@7.0.0-beta.40", "scope": "@babel", "escapedName": "@babel%2fhighlight", "name": "@babel/highlight", "rawSpec": "7.0.0-beta.40", "spec": "7.0.0-beta.40", "type": "version" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/@babel/code-frame" ] ], "_from": "@babel/highlight@7.0.0-beta.40", "_hasShrinkwrap": false, "_id": "@babel/highlight@7.0.0-beta.40", "_location": "/@babel/highlight", "_nodeVersion": "8.9.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/highlight_7.0.0-beta.40_1518453676517_0.22908067941366483" }, "_npmUser": { "name": "hzoo", "email": "hi@henryzoo.com" }, "_npmVersion": "5.6.0", "_phantomChildren": {}, "_requested": { "raw": "@babel/highlight@7.0.0-beta.40", "scope": "@babel", "escapedName": "@babel%2fhighlight", "name": "@babel/highlight", "rawSpec": "7.0.0-beta.40", "spec": "7.0.0-beta.40", "type": "version" }, "_requiredBy": [ "/@babel/code-frame" ], "_resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.40.tgz", "_shasum": "b43d67d76bf46e1d10d227f68cddcd263786b255", "_shrinkwrap": null, "_spec": "@babel/highlight@7.0.0-beta.40", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/@babel/code-frame", "author": { "name": "suchipi", "email": "me@suchipi.com" }, "dependencies": { "chalk": "^2.0.0", "esutils": "^2.0.2", "js-tokens": "^3.0.0" }, "description": "Syntax highlight JavaScript strings for output in terminals.", "devDependencies": { "strip-ansi": "^4.0.0" }, "directories": {}, "dist": { "integrity": "sha512-mOhhTrzieV6VO7odgzFGFapiwRK0ei8RZRhfzHhb6cpX3QM8XXuCLXWjN8qBB7JReDdUR80V3LFfFrGUYevhNg==", "shasum": "b43d67d76bf46e1d10d227f68cddcd263786b255", "tarball": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.40.tgz", "fileCount": 3, "unpackedSize": 4298 }, "homepage": "https://babeljs.io/", "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "andarist", "email": "mateuszburzynski@gmail.com" }, { "name": "danez", "email": "daniel@tschinder.de" }, { "name": "existentialism", "email": "bng412@gmail.com" }, { "name": "hzoo", "email": "hi@henryzoo.com" }, { "name": "loganfsmyth", "email": "loganfsmyth@gmail.com" }, { "name": "xtuc", "email": "contact@xtuc.fr" } ], "name": "@babel/highlight", "optionalDependencies": {}, "readme": "# @babel/highlight\n\n> Syntax highlight JavaScript strings for output in terminals.\n\n## Install\n\n```sh\nnpm install --save @babel/highlight\n```\n\n## Usage\n\n```js\nimport highlight from \"@babel/highlight\";\n\nconst code = `class Foo {\n constructor()\n}`;\n\nconst result = highlight(code);\n\nconsole.log(result);\n```\n\n```js\nclass Foo {\n constructor()\n}\n```\n\nBy 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`.\n\n```js\nimport highlight from \"@babel/highlight\";\n\nconst code = `class Foo {\n constructor()\n}`;\n\nconst result = highlight(code, { forceColor: true });\n```\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "https://github.com/babel/babel/tree/master/packages/babel-highlight" }, "version": "7.0.0-beta.40" }