{"_id":"pygmentize-bundled","_rev":"40-ca3db026a9444bd087f40e991f875dbe","name":"pygmentize-bundled","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","dist-tags":{"latest":"2.3.0"},"versions":{"0.0.0":{"name":"pygmentize-bundled","version":"0.0.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)"],"license":"MIT","_id":"pygmentize-bundled@0.0.0","dist":{"shasum":"5592a40dac286115f55454552ef12e91262fd134","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-0.0.0.tgz","integrity":"sha512-ong+orIuYiimbn2BUbv2xXepAePtKu/pFZj3CWslYZ9D+oTkOwxxmg89B/L1Uxg4g8CK0lUtiXAKc2ogAOfK0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlnUy5yDXwTfzSrIk1s7VDWorgDFDYa9BBBuOxpUvkfwIhAJb1dbQjClHUGDufGo4qzil8v0RXATws4dxMsNkf84vU"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"1.0.0":{"name":"pygmentize-bundled","version":"1.0.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test/test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)"],"license":"MIT","devDependencies":{"stream-equal":">= 0.0.1"},"_id":"pygmentize-bundled@1.0.0","dist":{"shasum":"a693633faf2b1df772983d331eda902eb373c880","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-1.0.0.tgz","integrity":"sha512-x9ypgQYzR5L4p+jV9aDtoSDm2mgTghhZywRfp/Nd+lQkXcndXZBHTCXjMhHgBPU7BAGqYJwSmQDLnyYSVvDwmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICd2jdGJam9Mtp0HzWWiLqxov/IZuHHrvdoFYnPmlIbmAiB17gL5e7R7z9S1BhFHX0VbMCQFUOyifvKdDgPkW5IFrA=="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"1.0.1":{"name":"pygmentize-bundled","version":"1.0.1","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test/test.js"},"repository":{"type":"git","url":"git://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)"],"license":"MIT","devDependencies":{"stream-equal":">= 0.0.1"},"_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"_id":"pygmentize-bundled@1.0.1","dependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.8.15","_defaultsLoaded":true,"dist":{"shasum":"c8822380958d72a16a83e39bdedf97faa647d88d","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-1.0.1.tgz","integrity":"sha512-owpttLHI9eiGxA/0Bt32/KOpmBavZV9qHnTApZUYOir6za+qzRvIx8+jOF7rqqNIjtuDFwlL797/EvaQM4MvrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyO2uG9PLaWwwuQCWijZB3Eb7YJ9s+3Z3kVdP7XU61WAIgZXIRdiFYN2eqpFApN6PpUChKF+SeYQwg9KnBGM6NoQs="}]},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"1.1.0":{"name":"pygmentize-bundled","version":"1.1.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test/test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)"],"license":"MIT","devDependencies":{"stream-equal":">= 0.0.1"},"bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"_id":"pygmentize-bundled@1.1.0","dist":{"shasum":"cfd2a6e7ae13bf45a1ad6b9497dd2e98b856bb39","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-1.1.0.tgz","integrity":"sha512-H9b7H5sJstBLFmNv5T/YQopGSB8fratvgr0M2CfS8ZoeC9zQdiK+Tvv6bBDlfYIasvd/cUkqDqWWVUGq+3nBlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBacpJhA4WaWwTIajCFgcT5iffkK/x+OfTe0U/gfqCYgAiEA79NESvPblGaaYxzdmn4wq1s/GMpqJt0T/rviQFFbLQw="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"1.2.0":{"name":"pygmentize-bundled","version":"1.2.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test/test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)","Scott Walkinshaw (https://github.com/swalkinshaw)"],"license":"MIT","devDependencies":{"stream-equal":">= 0.0.1"},"bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"_id":"pygmentize-bundled@1.2.0","dist":{"shasum":"d3a103e91c439dfc64b52ee8c6bbbb70ed0600d5","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-1.2.0.tgz","integrity":"sha512-sqLGovtrXV91zANItyR9rUiaN5O0Yx3iObr1wzcbXfSG+KzZAZ2MI5oQpg1cKv3ihJuNesrekCBU8Y6Eswoqlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdnfevfi7xvKXG6+JyCVto6xVe90xRVmLkAPvJCNvWvAiBW4wFdNTx3GS+qoF/PDdfaKz/h/BcLJS9FMc2z4UXZ5g=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"2.0.0":{"name":"pygmentize-bundled","version":"2.0.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)","Scott Walkinshaw (https://github.com/swalkinshaw)"],"license":"MIT","dependencies":{"mkdirp":"~0.3.5","readable-stream":"~1.0.17","bl":"~0.4.1","through2":"~0.2.1"},"devDependencies":{"stream-equal":">= 0.0.1","tape":"*"},"bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"_id":"pygmentize-bundled@2.0.0","dist":{"shasum":"a963306aed425319468c1c723576afa3328547ab","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-2.0.0.tgz","integrity":"sha512-ENPi411/MJJNTY0gGG+Cg43T0WvagdL3yMcYSAuFkat7yeMagPk25zWUqB4zDcLdnRJ0f2qPX8Ol2nPjicD/Rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDECDJcie8MVxhlOtqyr2L5f3+IVLYPHu734yPrEz9PQIhAJx+geKJ7/Jjx0xhbC8aSLRQIBdFiDdE7ZSAKG+e4y1w"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"2.1.0":{"name":"pygmentize-bundled","version":"2.1.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)","Scott Walkinshaw (https://github.com/swalkinshaw)","Chris Wren (https://github.com/ChrisWren)"],"license":"MIT","dependencies":{"mkdirp":"~0.3.5","readable-stream":"~1.0.17","bl":"~0.4.1","through2":"~0.2.1"},"devDependencies":{"stream-equal":">= 0.0.1","tape":"*"},"bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"_id":"pygmentize-bundled@2.1.0","dist":{"shasum":"d3a4397f5c4c25c67550d26caf100c63572de7eb","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-2.1.0.tgz","integrity":"sha512-sbdeSm5xOTTkcsK1W/kRLI/Dim2fq+oB4CmcKeULErnii9es4VdVbjTm73UvPVO8SuZdHEB7o4xEWsSlbYeBqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmNq5JipZf7xQvTTPU6Ip1F0uz0F1JaE7CnS9fDKvoHwIhALuQdsTB1UqM7EmSNZKlCFodr+FLba8xLhOdBLplpqI3"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"2.1.1":{"name":"pygmentize-bundled","version":"2.1.1","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)","Scott Walkinshaw (https://github.com/swalkinshaw)","Chris Wren (https://github.com/ChrisWren)"],"license":"MIT","dependencies":{"mkdirp":"~0.3.5","readable-stream":"~1.0.17","bl":"~0.4.1","through2":"~0.2.1"},"devDependencies":{"stream-equal":">= 0.0.1","tape":"*"},"bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"homepage":"https://github.com/rvagg/node-pygmentize-bundled","_id":"pygmentize-bundled@2.1.1","dist":{"shasum":"620cfc88c30c558339674eb67c09c06af5014158","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-2.1.1.tgz","integrity":"sha512-Ki8YaimKjHoY2eOjaWdRVta72rj6UsoMYd1M+pVjeIBdEOYVCuSZsDlK2VzWM48mElA7WcPhcZePaVrDbwsyCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDV7TJoOzxx7pi+TDG0m/Nj/ALOi3zKWUk4xoiwDDd3TAiBiVOfYh9Rfufq2C83QowZAxjATAK/gjdfrEpWvzpulig=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"directories":{},"deprecated":"no longer maintained"},"2.2.0":{"name":"pygmentize-bundled","version":"2.2.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)","Scott Walkinshaw (https://github.com/swalkinshaw)","Chris Wren (https://github.com/ChrisWren)"],"license":"MIT","dependencies":{"mkdirp":"~0.3.5","readable-stream":"~1.0.17","bl":"~0.4.1","through2":"~0.2.1"},"devDependencies":{"stream-equal":">= 0.0.1","tape":"*"},"gitHead":"3c5c3c2d42ed19453a0c7eb1723518db59a9966a","bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"homepage":"https://github.com/rvagg/node-pygmentize-bundled","_id":"pygmentize-bundled@2.2.0","_shasum":"643df9602133d5462cd7bd3c95109be1ff958ad5","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"dist":{"shasum":"643df9602133d5462cd7bd3c95109be1ff958ad5","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-2.2.0.tgz","integrity":"sha512-wg6Wt/9uv5/+JD+4PNXeV2x0QbFLUpODfbhWC+LXzKbB/D2I0q7TLUiOA9myHbZEIHE6p6Hnlv89MI0tsUARnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4WVHacA0qbqil2VC6ZHvQH8QToPjqo+5K1LRztmf7tAIhAMu4eQQ91sDGmZY5TAUVIx076xJHv3VrZYijd4i9sGUK"}]},"directories":{},"deprecated":"no longer maintained"},"2.3.0-pre1":{"name":"pygmentize-bundled","version":"2.3.0-pre1","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)","Scott Walkinshaw (https://github.com/swalkinshaw)","Chris Wren (https://github.com/ChrisWren)"],"license":"MIT","dependencies":{"bl":"~0.4.1","through2":"~0.2.1"},"devDependencies":{"stream-equal":"~0.1.5","tape":"~3.0.3"},"gitHead":"4510d0019df3c1a5b317c70b17743e02ad06303d","bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"homepage":"https://github.com/rvagg/node-pygmentize-bundled","_id":"pygmentize-bundled@2.3.0-pre1","_shasum":"c11824ec8843a7bf0da57618cee0072044120333","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"dist":{"shasum":"c11824ec8843a7bf0da57618cee0072044120333","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-2.3.0-pre1.tgz","integrity":"sha512-VEQcoAd8Lnje8c1QKzR7sRRd/DzRQ4igKHRm1lvZ6yAyG8T0GutZVWwrr3QgJX7YcqISMnU1IdUJ/JlwU8tkWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWWLo+djZkR+ubdKuiSW0vFu5AfmVpdPaBLuBNdLwHlAIhAOwgWtgOO6d30weMkqsp//eP4xIHLz56W1m0JeytZqKD"}]},"directories":{}},"2.3.0":{"name":"pygmentize-bundled","version":"2.3.0","description":"A simple wrapper around Python's Pygments code formatter, with Pygments bundled","main":"index.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"keywords":["pygments","pygmentize","syntax","highlight","stream"],"authors":["Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)","Cyril Rohr @crohr (https://github.com/crohr)","Ahmed Fasih (https://github.com/fasiha)","Scott Walkinshaw (https://github.com/swalkinshaw)","Chris Wren (https://github.com/ChrisWren)"],"license":"MIT","dependencies":{"bl":"~0.4.1","through2":"~0.2.1"},"devDependencies":{"stream-equal":"~0.1.5","tape":"~3.0.3"},"gitHead":"4c9b57dcfd57880e0d79430f0c5ecd7a7516518a","bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"homepage":"https://github.com/rvagg/node-pygmentize-bundled","_id":"pygmentize-bundled@2.3.0","_shasum":"d425deda8d136975b933ede363135f623350814a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"dist":{"shasum":"d425deda8d136975b933ede363135f623350814a","tarball":"https://registry.npmjs.org/pygmentize-bundled/-/pygmentize-bundled-2.3.0.tgz","integrity":"sha512-6qdRNJxwOWh3pl06KWWPtcgufBDqBZT18E3DS+PxbqGTgO1UU3MTbeWSFqZo6qMmjZO1wBacB7baLo5EZxeJnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGEXbKjAO8sclyDOeHY9QpB9y6iUW1c6g5VNQyTjJFzTAiEA06kac64oYAIX3MaAabvfNT62Mq0tSUqsPqvBqa0iSxU="}]},"directories":{},"deprecated":"no longer maintained"}},"readme":"# Pygmentize (Bundled)\n\n**Python's Pygments code formatter, for Node.js, distributed with Pygments**\n\n[![NPM](https://nodei.co/npm/pygmentize-bundled.png?downloads=true&stars=true&downloadRank=true)](https://nodei.co/npm/pygmentize-bundled/) [![NPM](https://nodei.co/npm-dl/pygmentize-bundled.png?months=6&height=3)](https://nodei.co/npm/pygmentize-bundled/)\n\nCan be used as either a *String-in, Buffer-out*, or as a Duplex stream.\n\nCompatible with both Python v2 and v3.\n\n**Note**: this library makes use of a child process which calls Python to invoke Pygments. This can cause performance problems where a large number of code blocks are being separately formatted. Consider using **[pygmentize-bundled-cached](https://github.com/rvagg/pygmentize-bundled-cached)**, an API-compatible wrapper for this library that keeps an on-disk cache of formatted code samples which will result in significantly faster formats when repeatedly formatting the same blocks of code.\n\n## API\n\n**pygmentize(options, code, callback)**\n\nPygmentize a given `code` string and return it as a Buffer to the `callback` Function.\n\n* `options` contains options to be passed to Pygments (see [Options](#options)).\n* `code` is a String to be formatted.\n* `callback` is a Function, called when complete. The first argument will be an `error` object/string if there was a problem and the second argument will be a Buffer containing your formatted code.\n\n**pygmentize(options)**\n\nWhen you only supply the `options` argument, it will return a Duplex stream that you can pipe to and from to format your code.\n\n* `options` contains options to be passed to Pygments (see [Options](#options)).\n\n## Options\n\nLanguage/lexer, formatter, and their options are currently supported. Filters are not supported yet.\n\n* `lang`: source language/lexer name - `String`\n* `format`: output formatter name - `String`\n* `python`: the full path to the `python` command on the current system, defaults to `'python'` - `String`\n* `options`: lexer and formatter options, each key/value pair is passed through to `pygmentize` with `-P` - `Object`\n\n## Examples\n\nThe string interface is very simple:\n\n```js\nvar pygmentize = require('pygmentize-bundled')\n\npygmentize({ lang: 'js', format: 'html' }, 'var a = \"b\";', function (err, result) {\n  console.log(result.toString())\n})\n```\n\nResults in:\n\n```html\n<div class=\"highlight\"><pre>\n  <span class=\"kd\">var</span>\n  <span class=\"nx\">a</span>\n  <span class=\"o\">=</span>\n  <span class=\"s2\">&quot;b&quot;</span>\n  <span class=\"p\">;</span>\n</pre></div>\n```\n\nExample with extra options:\n\n```js\nvar pygmentize = require('pygmentize-bundled')\n\npygmentize({ lang: 'php', format: 'html', options: { startinline: 1 } }, 'var a = true;', function (err, result) {\n  console.log(result.toString())\n})\n```\n\nA duplex streaming API is also available. Simply omit the `code` and `callback` arguments:\n\n```js\nvar pygmentize = require('pygmentize-bundled')\n\nprocess.stdin\n  .pipe(pygmentize({ lang: 'js', format: 'html' }))\n  .pipe(process.stdout);\n```\n\nRefer to the [Pygments documentation](http://pygments.org/docs/). For supported languages, see the list of [lexers](http://pygments.org/docs/lexers/), for supported formatted, see the list of [formatters](http://pygments.org/docs/formatters/).\n\n## Contributors\n\n* [Rod Vagg](https://github.com/rvagg)\n* [Cyril Rohr](https://github.com/crohr)\n* [Ahmed Fasih](https://github.com/fasiha)\n* [Scott Walkinshaw](https://github.com/swalkinshaw)\n* [Chris Wren](https://github.com/ChrisWren)\n\n## Licence & copyright\n\nPygments (Bundled) is Copyright (c) 2012 Rod Vagg <@rvagg> and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.\n\nPygments is licenced under the BSD licence.\n","maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"time":{"modified":"2022-06-25T02:56:34.426Z","created":"2012-09-11T12:04:42.205Z","0.0.0":"2012-09-11T12:04:45.655Z","1.0.0":"2012-10-19T00:10:01.380Z","1.0.1":"2012-12-13T22:51:15.284Z","1.1.0":"2013-07-17T01:13:42.684Z","1.2.0":"2013-07-29T00:05:52.373Z","2.0.0":"2013-09-17T02:45:37.252Z","2.1.0":"2013-09-20T07:27:50.382Z","2.1.1":"2014-04-23T10:40:23.804Z","2.2.0":"2014-09-16T03:24:13.510Z","2.3.0-pre1":"2014-11-17T01:00:18.719Z","2.3.0":"2014-11-19T06:50:43.029Z"},"repository":{"type":"git","url":"https://github.com/rvagg/node-pygmentize-bundled.git"},"users":{"silas":true,"hughsk":true},"homepage":"https://github.com/rvagg/node-pygmentize-bundled","keywords":["pygments","pygmentize","syntax","highlight","stream"],"bugs":{"url":"https://github.com/rvagg/node-pygmentize-bundled/issues"},"license":"MIT","readmeFilename":"README.md"}