{"maintainers":[{"name":"anonymous","email":"ifaaan@gmail.com"}],"keywords":["ES","JavaScript","ECMAScript","ES","ES6","ES2016","ES2015","syntax","highlight","highlighting","console"],"dist-tags":{"latest":"1.0.3"},"author":{"name":"Ivan Nikulin","url":"ifaaan@gmail.com"},"description":"Highlight ECMAScript syntax for the console or any other medium.","readme":"# highlight-es\n[![Build Status](https://api.travis-ci.org/inikulin/highlight-es.svg)](https://travis-ci.org/inikulin/highlight-es)\n\n*Highlight ECMAScript syntax for the console or any other medium.*\n\n## Install\n```\nnpm install highlight-es\n```\n\n## Usage\n```js\nconst highlight = require('highlight-es');\n\nfunction testFunc () {\n    const re    = /(.+) awesome$/;\n    const match = 'You are awesome'.match(re);\n\n    return match[1];\n}\n\nconst code = testFunc.toString();\n\nconsole.log('\\n' + highlight(code));\n```\n\n ⬇\n\n![example](https://raw.githubusercontent.com/inikulin/highlight-es/master/media/example.png)\n\n\nYou can pass custom renderer to target other medium, e.g.:\n```js\nhighlight(code, {\n    string:     str => ...,\n    punctuator: str => ...,\n    keyword:    str => ...,\n    number:     str => ...,\n    regex:      str => ...,\n    comment:    str => ...,\n    invalid:    str => ...\n});\n```\n\n## Related\n[is-es2016-keyword](https://github.com/inikulin/is-es2016-keyword) - Determine if string is an ES2016 keyword.\n\n## Author\n[Ivan Nikulin](https://github.com/inikulin) (ifaaan@gmail.com)\n","repository":{"type":"git","url":"git+https://github.com/inikulin/highlight-es.git"},"bugs":{"url":"https://github.com/inikulin/highlight-es/issues"},"license":"MIT","versions":{"1.0.0":{"name":"highlight-es","version":"1.0.0","description":"Highlight ECMAScript syntax for the console or any other medium.","main":"index.js","directories":{"test":"test"},"files":["index.js"],"scripts":{"test":"eslint index.js test && mocha"},"repository":{"type":"git","url":"git+https://github.com/inikulin/highlight-es.git"},"keywords":["ES","JavaScript","ECMAScript","ES","ES6","ES2016","ES2015","syntax","highlight","highlighting","console"],"author":{"name":"Ivan Nikulin","url":"ifaaan@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/inikulin/highlight-es/issues"},"homepage":"https://github.com/inikulin/highlight-es#readme","devDependencies":{"eslint":"^2.0.0","mocha":"^2.4.5"},"dependencies":{"chalk":"^1.1.1","is-es2016-keyword":"^1.0.0","js-tokens":"^1.0.2"},"gitHead":"87a4e8ec64cacd0abf7a1d0b215632c3d7acacec","_id":"highlight-es@1.0.0","_shasum":"0bdedb5c0a3d282bd9d9ac5d06c35befe997a504","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"ifaaan@gmail.com"},"dist":{"shasum":"0bdedb5c0a3d282bd9d9ac5d06c35befe997a504","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/highlight-es/-/highlight-es-1.0.0.tgz","integrity":"sha512-ttrk6Uzs9fXkI8D67yTFXhTpw+JMXNJbqej7EXgMTUsTpwTHtqZ6e+lpOkjFAsUxedEhACeeYMOpw72CG8ZmoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDg5EGKhfAQ7qlONesrkB4l4wt4riw136wHSfO7rjtbhAiEAgeaRaLaC8SfqoCnfgU0PvKB9TqOXUd6Vbz4CLm4LR3k="}]},"maintainers":[{"name":"anonymous","email":"ifaaan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/highlight-es-1.0.0.tgz_1455317638438_0.7468982758000493"}},"1.0.1":{"name":"highlight-es","version":"1.0.1","description":"Highlight ECMAScript syntax for the console or any other medium.","main":"index.js","directories":{"test":"test"},"files":["index.js"],"scripts":{"test":"eslint index.js test && mocha"},"repository":{"type":"git","url":"git+https://github.com/inikulin/highlight-es.git"},"keywords":["ES","JavaScript","ECMAScript","ES","ES6","ES2016","ES2015","syntax","highlight","highlighting","console"],"author":{"name":"Ivan Nikulin","url":"ifaaan@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/inikulin/highlight-es/issues"},"homepage":"https://github.com/inikulin/highlight-es#readme","devDependencies":{"eslint":"^2.0.0","mocha":"^2.4.5"},"dependencies":{"chalk":"^1.1.1","is-es2016-keyword":"^1.0.0","js-tokens":"^3.0.0"},"gitHead":"d329d046d06251182f1340c80462846b97e2306d","_id":"highlight-es@1.0.1","_shasum":"3bb01eb1f2062ddaab72f8b23766a3bf8c1a771f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.1","_npmUser":{"name":"anonymous","email":"ifaaan@gmail.com"},"dist":{"shasum":"3bb01eb1f2062ddaab72f8b23766a3bf8c1a771f","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/highlight-es/-/highlight-es-1.0.1.tgz","integrity":"sha512-i5qrQYKiLqTqwmvMcJbFK04aBocRgWeYBe1arawdyRLlfiAV6Nt301EI+9tV0UmAoaBWkImXM2aASh+EKncvaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDE/5Y58mBTAQOVCtvmeHJ3TYf/QK1QtHTf2naAStY7AIgWfcYi71LUVtMYoy/4LWwsKQvHyLoeNdT1tI+yE1e+fc="}]},"maintainers":[{"name":"anonymous","email":"ifaaan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/highlight-es-1.0.1.tgz_1485348653632_0.6409135640133172"}},"1.0.3":{"name":"highlight-es","version":"1.0.3","description":"Highlight ECMAScript syntax for the console or any other medium.","main":"index.js","files":["index.js"],"scripts":{"test":"eslint index.js test && mocha"},"repository":{"type":"git","url":"git+https://github.com/inikulin/highlight-es.git"},"keywords":["ES","JavaScript","ECMAScript","ES","ES6","ES2016","ES2015","syntax","highlight","highlighting","console"],"author":{"name":"Ivan Nikulin","url":"ifaaan@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/inikulin/highlight-es/issues"},"homepage":"https://github.com/inikulin/highlight-es#readme","devDependencies":{"eslint":"^2.0.0","mocha":"^2.4.5"},"dependencies":{"chalk":"^2.4.0","is-es2016-keyword":"^1.0.0","js-tokens":"^3.0.0"},"gitHead":"bfded6b35b309f41a3dc023fff4b819c386e26f0","_id":"highlight-es@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"anonymous","email":"ifaaan@gmail.com"},"dist":{"integrity":"sha512-s/SIX6yp/5S1p8aC/NRDC1fwEb+myGIfp8/TzZz0rtAv8fzsdX7vGl3Q1TrXCsczFq8DI3CBFBCySPClfBSdbg==","shasum":"12abc300a27e686f6f18010134e3a5c6d2fe6930","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/highlight-es/-/highlight-es-1.0.3.tgz","fileCount":4,"unpackedSize":4342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3NIhCRA9TVsSAnZWagAAeTsP/iIsR0KYnLrWAtlQlr1w\nrGDaudCcvykvq42KP/ijrKXwCueU6jTqHJD/GsAq5ZRbSi7Q503LjD93HqKT\nKgxbcBnC0Lro2F55gmdhaqUm+iVO3U9j33OoDxDw/1zJnnF+4UPwcCUNiKq8\nTbHh7hLBz4x0skhlot6rtWOs6AHCU8s0G0wG7w4mrFLJKyK3dJg8pMyMS8nB\nFP/lfFol8LWwRHdEMM7xN4Z7FYFzIuyP4eZ7x5JIWBTu9hU6S3BY0xY7CyW+\n2/G7LQEzhzSAyan41qq568OIIIGjxwB4RLYVOOssPmsTonvq1chnOoT2E8Gj\nFjG+hHgCqeTIyY3VOV4r561jcFDb91Lj5wP+9HlH8fkX3EF2UbIpWxUo+Bt0\niw/kUagNO9ruBpPzJv4qDbSO1RqvhKdKJog3gU/doyMIO0RzBGOTyAexuE/d\nRzBI2vfiBrXrq9yNIqQoGdguWsdYgcxl6LDycZF8AOlf6pzbDa3wkpvkYjmt\neebjcEHACDfImGN+GlYcDQXGE85hXzFozMiWWHiJXYORRmnr2+lwNb1awy7q\n3c+45r1Nk0SzaHs6PtPEevWuQurJjBMPkxrcp083D1A9tSsA4F5Lg+rHQazb\ntt/eGeqTsSyKFcf3GpOloFSkkAJnBuK7Lli4ab0sYngxjeDv97qETwPB4ROp\nnOA1\r\n=00wz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHlYbJGGjvvWdEejKw3retD9enYLJ12lJySCXrhgF1+QIgNtGJQzfvpA9WsxN0Ygm3+l40xxJjTwFH9ufpnmNPywU="}]},"maintainers":[{"name":"anonymous","email":"ifaaan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/highlight-es_1.0.3_1524421152420_0.3458536054781194"},"_hasShrinkwrap":false}},"name":"highlight-es","time":{"modified":"2022-06-18T20:43:23.693Z","created":"2016-02-12T22:54:02.092Z","1.0.0":"2016-02-12T22:54:02.092Z","1.0.1":"2017-01-25T12:50:55.529Z","1.0.3":"2018-04-22T18:19:12.534Z"},"readmeFilename":"README.md","homepage":"https://github.com/inikulin/highlight-es#readme"}