{"_id":"@12core/chromafi","_rev":"4-ec95c03f4b00b80ef8a13334378fdf93","name":"@12core/chromafi","dist-tags":{"latest":"3.0.4"},"versions":{"3.0.0":{"name":"@12core/chromafi","version":"3.0.0","description":"🦅  cli syntax highlighting: any function - any object - 176 languages","main":"index.js","scripts":{"test":"eslint --ext .js . && ava","prepublishOnly":"git push --follow-tags && gh-release -y","version":"auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md"},"repository":{"type":"git","url":"git+ssh://git@github.com/little-core-labs/chromafi.git"},"dependencies":{"ansi-mark":"^1.0.0","ansi-regex":"^5.0.0","array-uniq":"^2.1.0","camelcase":"^6.2.0","chalk":"^4.1.0","cheerio":"^1.0.0-rc.2","deepmerge":"^4.2.2","detect-indent":"^6.0.0","he":"^1.1.1","highlight.js":"^10.4.0","min-indent":"^1.0.0","strip-ansi":"^6.0.0","strip-indent":"^3.0.0","super-split":"^1.1.0"},"devDependencies":{"@12core/eslint-config-12core":"^3.0.0","ava":"^3.13.0","eslint":"^7.14.0","auto-changelog":"^2.2.0","gh-release":"^4.0.0","npm-run-all2":"^5.0.0"},"ava":{"failfast":true},"keywords":["syntax","highlight","cli","color","console","terminal","language","highlight.js","chalk"],"author":{"name":"F1LT3R"},"license":"MIT","homepage":"https://github.com/little-core-labs/chromafi#readme","gitHead":"81a1645be9e0d3370a5734b5dfdcdd3200e982ad","bugs":{"url":"https://github.com/little-core-labs/chromafi/issues"},"_id":"@12core/chromafi@3.0.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Aq0ShUsT6EeOcgDA8bqoicEMs8b472m2KyFvkrFedc1IfeO49Zg1FGoGN3ujrJ6zfxk/hCdB7V4g3JUVWfWnIQ==","shasum":"d3efa0855a810ff9072bf4e81c4aae36a9cab7a5","tarball":"https://registry.npmjs.org/@12core/chromafi/-/chromafi-3.0.0.tgz","fileCount":26,"unpackedSize":1830959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxszJCRA9TVsSAnZWagAA/7oP/0dabB7Jz0zccdpMmAS1\npdIbAOyu9xpqI22s/V21MkdFvb+79sV4345fmtQ6Iv/F2gLbtqk6CmVdEo2y\n2fGGDiWyoyone+7GyGd5dlltFQSO+cIKrcsCaXLoHdEOImt4+spmWn0KqXcp\nMG2YeEcC3RJPJaP3fwn+16RcrpPKKNPelMrrPjrGrrX8WLGiVF1ELEiMqfLR\n//8WtqeEFSmwBf2EY3+fH/Rv0ga0AYPIxtUjfIDzB41afhQDtU3mOI3q1y5g\nTVDajPdkxLSZdiTH3sWBmahqvobkcESBk/p2o7UPHgVGLdfeiKtMOYARVEVy\nK3Nmee30v8ESjFCJHRYa/+uQb0K4eeUHivBG6xziSP7uT/QSgfSlPX/H/0ND\nVNNaDcyM/dbHKhssVso4GSbITP24Agv/lF4ihnmkz3vtByCXVYvYvfcNmt+m\nS3CMYvJrtel9KCwR/Q2ToN/3fdRvmtr21R6MOXZp+kQFu47AA0RapPa4LAwH\nsW1rWhjiGyrF261eqUh0WxfCBbALBW1efE3JXVoOQGwtn576AWTjqCpsSZwl\nLBMCUZAinEWR3C10Xvuga2S3Pdic2KbGafRNE4tNaFSQN2ajHROZk4UNZbUX\ntnjeOR0EX7RfmaTlOS6SqxCQEFhqUeZqTBVGoe8akEP82CrfxieBxvXmkm+m\nxN/c\r\n=ytGy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBR58UJL1Q0vT8YtO0bLz8hyiuld3BHt+fvmBhPZCkMAiAN7EDIPKatdJKMdB/NvsZVxPdwgSnzxMEIaIAxNlJHeA=="}]},"_npmUser":{"name":"bret","email":"bcomnes@gmail.com"},"directories":{},"maintainers":[{"name":"12core-bot","email":"12core@littlstar.com"},{"name":"werle","email":"joseph.werle@gmail.com"},{"name":"bret","email":"bcomnes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chromafi_3.0.0_1606864072631_0.8651741107740443"},"_hasShrinkwrap":false},"3.0.1":{"name":"@12core/chromafi","version":"3.0.1","description":"🦅  cli syntax highlighting: any function - any object - 176 languages","main":"index.js","scripts":{"test":"eslint --ext .js . && ava","prepublishOnly":"git push --follow-tags && gh-release -y","version":"auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md"},"repository":{"type":"git","url":"git+ssh://git@github.com/little-core-labs/chromafi.git"},"dependencies":{"ansi-mark":"^1.0.0","ansi-regex":"^5.0.0","array-uniq":"^2.1.0","camelcase":"^6.2.0","chalk":"^4.1.0","cheerio":"^1.0.0-rc.2","deepmerge":"^4.2.2","detect-indent":"^6.0.0","he":"^1.1.1","highlight.js":"^10.4.0","min-indent":"^1.0.0","strip-ansi":"^6.0.0","strip-indent":"^3.0.0","super-split":"^1.1.0"},"devDependencies":{"@12core/eslint-config-12core":"^3.0.0","ava":"^3.13.0","eslint":"^7.14.0","auto-changelog":"^2.2.0","gh-release":"^4.0.0","npm-run-all2":"^5.0.0"},"ava":{"failfast":true},"keywords":["syntax","highlight","cli","color","console","terminal","language","highlight.js","chalk"],"author":{"name":"F1LT3R"},"license":"MIT","homepage":"https://github.com/little-core-labs/chromafi#readme","gitHead":"d0b53eb26537936d281e94009c35768a66adc27b","bugs":{"url":"https://github.com/little-core-labs/chromafi/issues"},"_id":"@12core/chromafi@3.0.1","_nodeVersion":"12.17.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-3bsDAwbMrn5zjM3z1wq82OTDcpvek6bqIjXHPYFxV0P9bVlQJ38jzYoXgebHNejZBkZ5KZZzbHRDilD/QHqbdg==","shasum":"e7bb99880270d157651a8ac27ac407605f350bf4","tarball":"https://registry.npmjs.org/@12core/chromafi/-/chromafi-3.0.1.tgz","fileCount":26,"unpackedSize":1830666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDKOWCRA9TVsSAnZWagAAu8cQAJ0IQ9vpHBYeQwxyt88+\nJaEnPLxc19sWLlniMEIgLlwzcDwnMRudppVhAKbuDe2pvzG+iC9ZYD0PapOD\npQbiX/o4RPkvupKWI2JkZXn1U84vN091+Jy83IdY3fzT4lq9pHeQtKCuXQR6\nMVJnbnPiXBShfT/ewH4/igX1S0x65KbOI+RPGRfI504NTuMTbzaaP61ouHBZ\n0yu7cUgrLLhA01blYEryFE9APWUm+7yI3ZxTA2muh5n7yyPmgByyo/yZ25PO\nIkHFU2OjkYFooFe5wQCP+tpWju7dANiu8/j9FVya6JaH0PZeqmpxusanQebp\nI9M3E6a3zqNv7KFkHGm4DUCeMX19VjTLThKXGDVIwSuxvnfy/w7E4QqK2zGz\nyyutTsQu8RFp1SsrH0GuDxxaVHApOfyLcHa88yS8xuVGWxW+244hjRMd1Djz\na3ybtZeemXdwpansudabD/+e6QNqNeKTF3Bhh8ckdnsC9jE3PyFI6PxZ7Wwv\nTtJ5GCJ0hA/bzAuVA1Pd8taM9CMHrLEZxGVCzSY+/r5tBtFRD5Yq0nOoL9Bq\nUNdBtSR5MFp/tq0cjRiC1PFcywKBQtufP+eyArn1Oin7sp9eRvnSP2IjAkaj\neDPknoeHXZmhOQpWF5286yOQKHvvP6k1heNPPhPwusXCfp0nsSRvAkRYjTeD\noUz8\r\n=Yh6C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs2NkU8bUtmHNbq8DQ183En7AtUNFcjnNdtHj2Qd5DZQIhAK8ddd9LoF3G8US/0enFZ2JD/pGvZVhEiWOQ3NXQe8by"}]},"_npmUser":{"name":"werle","email":"joseph.werle@gmail.com"},"directories":{},"maintainers":[{"name":"bret","email":"bcomnes@gmail.com"},{"name":"werle","email":"joseph.werle@gmail.com"},{"name":"12core-bot","email":"12core@littlstar.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chromafi_3.0.1_1611441045673_0.5797305608299308"},"_hasShrinkwrap":false},"3.0.3":{"name":"@12core/chromafi","version":"3.0.3","description":"🦅  cli syntax highlighting: any function - any object - 176 languages","main":"index.js","scripts":{"test":"eslint --ext .js . && ava","prepublishOnly":"git push --follow-tags && gh-release -y","version":"auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md"},"repository":{"type":"git","url":"git+ssh://git@github.com/little-core-labs/chromafi.git"},"dependencies":{"ansi-mark":"^1.0.0","ansi-regex":"^5.0.0","array-uniq":"^2.1.0","camelcase":"^6.2.0","chalk":"^4.1.0","cheerio":"^1.0.0-rc.6","deepmerge":"^4.2.2","detect-indent":"^6.0.0","he":"^1.1.1","highlight.js":"^10.7.2","min-indent":"^1.0.0","strip-ansi":"^6.0.0","strip-indent":"^3.0.0","super-split":"^1.1.0"},"devDependencies":{"@12core/eslint-config-12core":"^4.0.2","auto-changelog":"^2.2.0","ava":"^3.15.0","eslint":"^7.24.0","gh-release":"^5.0.0","npm-run-all2":"^5.0.0"},"ava":{"failfast":true},"keywords":["syntax","highlight","cli","color","console","terminal","language","highlight.js","chalk"],"author":{"name":"F1LT3R"},"license":"MIT","homepage":"https://github.com/little-core-labs/chromafi#readme","gitHead":"f8007b2d0266aaa5e80a0be51732e3613795c243","bugs":{"url":"https://github.com/little-core-labs/chromafi/issues"},"_id":"@12core/chromafi@3.0.3","_nodeVersion":"12.17.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-CJudjTI0hdq4EudLjIv5BQ3VuaRkzA1m6gE7JMecvmrQu6gF7oXO+GMffsVml8/VvQreMoPARkRERzC8Xb56xw==","shasum":"f405975420c49bf3b8bb1f22a02d8e5cf0e36e27","tarball":"https://registry.npmjs.org/@12core/chromafi/-/chromafi-3.0.3.tgz","fileCount":26,"unpackedSize":1832262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeI96CRA9TVsSAnZWagAAsNIP/3GksIQNK+FLS2XT9uXP\nangtoWP6htzSp/AiF1OYFyP4EpzbKI+V5cxmtgahEjZtd/habpVkCdqOer+V\nM8WidF/QtoP4G6M60xufpo4fIdmlz8jdivI3vgxxpKDZ9dQkIlcPWi4JV81t\nKokZiejlBbLQIb7S5ekUXtoFrVK84VJd74A+aPDlWHvBq+vf/IIqF+Z23Cf3\nJ4386uR+FTSOaNmRCJOcH6HfXVzbgKqGdCrE6R92t6P4Vqp7XcMCXaSCLV4j\nsdhOrGmekihm9kYNeq02ChxJ1Uz/IA4FudclWWBjfhYxCHF01R/k6Vxio80H\n2pJAdU/LBW9Ia5s6Y/iqSRprCd1U+/0wHz1AaRvCXqrZ/kngZDZ+dq4E5Qr8\n1OOgjtnwhQS0WeAVIf/PZ0ZwhbhySPXC8Z99CPjRU2OjZbfdcXV2nFdnm5eU\nYnw7k+GdHwDsMaezVGkZ8fTC6g9gBW2P1O+qA9h9IN129wV4wxhOS2LX11bd\nhh5+EObhaI5ddFv2bPH3Lad44PyGmCwP5+nUjTJdWhUm8gBJDhInzRb7Jcnx\nKcSBdSYV8ocNXfQJrH74iuXUyrsS/mcK1D/mSPMNo+kmDukpof5xaj3cYdPX\ngDLGmLCHooO+joPN3fIOnnD8eDw9McluMqh7s/1JSeys2TRhuFbU91JhRiI3\nU/sQ\r\n=248e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmLEcYYZYKnh11AQSiNTGp8UiYy0TZlz44vCJE8TjEBAIhAIw3UQJCiRWB/zYIK44XkQJ1/dCrq5lc8XoMTFzzuL14"}]},"_npmUser":{"name":"werle","email":"joseph.werle@gmail.com"},"directories":{},"maintainers":[{"name":"bret","email":"bcomnes@gmail.com"},{"name":"werle","email":"joseph.werle@gmail.com"},{"name":"12core-bot","email":"12core@littlstar.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chromafi_3.0.3_1618513785877_0.6408763752424291"},"_hasShrinkwrap":false},"3.0.4":{"name":"@12core/chromafi","version":"3.0.4","description":"🦅  cli syntax highlighting: any function - any object - 176 languages","main":"index.js","scripts":{"test":"eslint --ext .js . && ava","prepublishOnly":"git push --follow-tags && gh-release -y","version":"auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md"},"repository":{"type":"git","url":"git+ssh://git@github.com/little-core-labs/chromafi.git"},"dependencies":{"ansi-mark":"^1.0.0","camelcase":"^6.2.0","chalk":"^4.1.0","cheerio":"^1.0.0-rc.6","deepmerge":"^4.2.2","detect-indent":"^6.0.0","highlight.js":"^10.7.2","strip-ansi":"^6.0.0","strip-indent":"^3.0.0"},"devDependencies":{"@12core/eslint-config-12core":"^4.0.2","auto-changelog":"^2.2.0","ava":"^3.15.0","eslint":"^7.24.0","gh-release":"^6.0.0","npm-run-all2":"^5.0.0"},"ava":{"failfast":true},"keywords":["syntax","highlight","cli","color","console","terminal","language","highlight.js","chalk"],"author":{"name":"F1LT3R"},"license":"MIT","homepage":"https://github.com/little-core-labs/chromafi#readme","gitHead":"75706cc710ac12cb959686f2b69b6784bd34ca37","bugs":{"url":"https://github.com/little-core-labs/chromafi/issues"},"_id":"@12core/chromafi@3.0.4","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-KTyN224xxSE2R/q+V2sq8VARX91SepqSBBNx71Kl4aHXLq1VDDmOcKrm/XkIHFSdWCRcxN6PnqKi5mzEWFEuiQ==","shasum":"91b375b7d4b47dda7128bd55b5f95fbfedc5cbc8","tarball":"https://registry.npmjs.org/@12core/chromafi/-/chromafi-3.0.4.tgz","fileCount":26,"unpackedSize":1833947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEX/HCRA9TVsSAnZWagAAkLQP/203UbSA9ZfjlI0l8CSJ\ntxtuz04S6yq1e59clOG/KJg9lzRD2VZ89JJds4uIJw6u+nYpTv3UMMTfOCLE\n8WPjyumNPLYChzAhSN2XCPxHHM1mprxH5XUif8dT9OjqjBycxVxlYJSn3dXf\n0+YPHWYcu9imvSPSwRHnevLY5db/KjG0N4oGWEntb1ZNh1oZTRNP5b8yTi7j\n5uFOUyjHkexZc6K01YyktnD8NO2yxAy1ptjXp4q6R5GUAAYR5v5cadku2UBF\nR1syrMh4a17ZJPMONsAC8uOIdHpc5hUgmiDkvAjM/FP58WW3ErQBwtYjrq1e\neJ+BHTRZxyNWVCYtaQFCPYTjBAbc2qUljGzUxXHntaJv5l2Tk3AZNSDsHedT\n1XUzFeqiRQ6RHobOuljBYwTdyUPpRau+K/VA+hvrPQyDGqkr/3YvsQII7+kz\neid6v2l30Inv0RMLvDMZs72FHWs7n2MiDZfddoIraK77BiFXAYBpii9QxBqz\nnuaKNcqq4h0xl1QX9sXTyqLAHant7j72+76OMykgFzt8x9vUALFltSPan0PZ\nUyoksyAamgUl+bMFLRSv5ZtehWJVk397AEpMFH1GAju/wuS4EhHgadiWPhKZ\nCf0rPQwEQchPqhRFfNSYYaC8c6daFHudpkhCUoF5FjVZL1RjfH70i1/fOm4/\nGxOL\r\n=NneY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+h/OsNvhRhlZrIAxlp1+xyR7Ue/t+8CjN3oGgvzaYqAiBt1eV8EUWsNixYnZxYXwLQWvYqitgNgZjEzJQni+0cCA=="}]},"_npmUser":{"name":"12core-bot","email":"12core@littlstar.com"},"directories":{},"maintainers":[{"name":"bret","email":"bcomnes@gmail.com"},{"name":"werle","email":"joseph.werle@gmail.com"},{"name":"12core-bot","email":"12core@littlstar.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chromafi_3.0.4_1628536775651_0.19402763155046054"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-01T23:07:52.392Z","3.0.0":"2020-12-01T23:07:52.899Z","modified":"2022-04-04T10:31:14.113Z","3.0.1":"2021-01-23T22:30:45.939Z","3.0.3":"2021-04-15T19:09:46.059Z","3.0.4":"2021-08-09T19:19:35.944Z"},"maintainers":[{"name":"bret","email":"bcomnes@gmail.com"},{"name":"werle","email":"joseph.werle@gmail.com"},{"name":"12core-bot","email":"12core@littlstar.com"}],"description":"🦅  cli syntax highlighting: any function - any object - 176 languages","homepage":"https://github.com/little-core-labs/chromafi#readme","keywords":["syntax","highlight","cli","color","console","terminal","language","highlight.js","chalk"],"repository":{"type":"git","url":"git+ssh://git@github.com/little-core-labs/chromafi.git"},"author":{"name":"F1LT3R"},"bugs":{"url":"https://github.com/little-core-labs/chromafi/issues"},"license":"MIT","readme":"# Chromafi\n\n> 🦅  cli syntax highlighting: any function - any object - 176 languages\n> **Forked from [chromafi](https://github.com/F1LT3R/chromafi) to maintain dependencies, as a separate project.**\n\n![Figure 00](examples/figure-00.png)\n\n## Installation\n\n```sh\n$ npm install @12core/chromafi\n```\n\n## Features\n\n<center><img width=\"360px\" src=\"chromafi-logo.png\"></center>\n\n* JavaScript objects that are logged to the console... still look like JavaScript objects.\n* Chromafi highlights JavaScript functions.\n* Adjust indentation for tabbed code with Chromafi.\n* User defined color palettes.\n* Line numbers optional.\n* Padding adjustment for use with background colors or tight spaces.\n* Chromafi also highlights strings of code in 176 languages.\n\n## Usage\n\n### Chromafi a JavaScript Object\n\n```javascript\nconst chromafi = require('chromafi')\n\nconst obj = {\n    foo: 'bar',\n    baz: 1337,\n    qux: true,\n    zxc: null,\n    'foogle-bork': function (a, b) {\n        return b - a\n    }\n}\n\nconst chromatastic = chromafi(obj)\n\nconsole.log(chromatastic)\n```\n\n![Figure 01](examples/figure-01.png)\n\n### Chromafi a JavaScript Function\n\n```javascript\nconst chromafi = require('chromafi')\n\nfunction add (a, b) {\n    return a + b\n}\n\nconst chromantic = chromafi(add)\n\nconsole.log(chromantic)\n```\n\n![Figure 02](examples/figure-02.png)\n\n### Chromafi a String of Code\n\n```javascript\nconst chromafi = require('chromafi')\n\nconst codeString = `\n// Creates a Class based on Type\nconst create = (kind, parent) => {\n    // Create the Class based on the Type's\n    // Constructor or use an Anon. Func\n    const protoclass = kind.ctor || function () {}\n\n    // Inherit from a parent object\n    if (parent) {\n        protoclass.prototype = new Parent()\n    }\n\n    // Merge prototype from Class's Type\n    if (kind.proto) {\n        merge.call(protoclass.prototype, kind.proto)\n    }\n\n    return protoclass\n}\n`\n\nconst chromadactic = chromafi(codeString)\n\nconsole.log(chromadactic)\n```\n\n![Figure 03](examples/figure-03.png)\n\n## Options\n\n```javascript\nconst chromafi = require('chromafi')\nconst chalk = require('chalk')\n\nconst obj = {foobar: 1337}\n\nconst options = {\n    lineNumberPad: 0,\n    codePad: 0,\n    indent: 2,\n    lineNumbers: true,\n    colors: {\n        base: chalk.bgBlack.white.bold,\n        line_numbers: chalk.bgCyan.black\n    }\n}\n\nconst chromafanatic = chromafi(obj, options)\n\nconsole.log(chromafanatic)\n\n```\n\n![Figure 04](examples/figure-04.png)\n\n## Light Color Scheme\n\nChromafi uses [Chalk](https://github.com/chalk/chalk) to write ANSI color codes to the terminal.\n\n```javascript\nconst chromafi = require('chromafi')\n\nconst chromafi = require('.')\nconst chalk = require('chalk')\n\nconst obj = {\n    foo: 'bar',\n    baz: 1337,\n    qux: true,\n    zxc: null,\n    'foogle-bork': function (a, b) {\n        return b - a\n    }\n}\n\nconst chromafantastic = chromafi(obj, {\n    colors: {\n        base: chalk.bgWhite.black.bold,\n        keyword: chalk.red,\n        number: chalk.blue.dim,\n        function: chalk.black,\n        title: chalk.blue,\n        params: chalk.black,\n        string: chalk.black,\n        built_in: chalk.blue,\n        literal: chalk.blue,\n        attr: chalk.black,\n        // Just pass `chalk` to ignore colors\n        trailing_space: chalk,\n        regexp: chalk.blue,\n        line_numbers: chalk.bgBlue.white\n    }\n})\n\nconsole.log(chromafantastic)\n```\n\n![Figure 05](examples/figure-05.png)\n\n## Highlighting Other Languages\n\nChromafi uses [Highlight.js](https://highlightjs.org/) to syntax highlight to your code. This means Chromafi can highlight any language that `Highlight.js` can.\n\nLet's Chromafi some assembler syntax:\n\n```javascript\nconst chromafi = require('chromafi')\n\nconst armAssemblyCode = `\n.text\n\n.global connect\nconnect:\n    mov     r3, #2              ; s->sin_family = AF_INET\n    strh    r3, [sp]\n    ldr     r3, =server_port    ; s->sin_port = server_port\n    ldr     r3, [r3]\n    strh    r3, [sp, #2]\n    ldr     r3, =server_addr    ; s->sin_addr = server_addr\n    ldr     r3, [r3]\n    str     r3, [sp, #4]\n    mov     r3, #0              ; bzero(&s->sin_zero)\n    str     r3, [sp, #8]\n    str     r3, [sp, #12]\n    mov     r1, sp      ; const struct sockaddr *addr = sp\n\n    ldr     r7, =connect_call\n    ldr     r7, [r7]\n    swi     #0\n\n    add     sp, sp, #16\n    pop     {r0}        ; pop sockfd\n\n    pop     {r7}\n    pop     {fp, ip, lr}\n    mov     sp, ip\n    bx      lr\n\n.data\nsocket_call:   .long 281\nconnect_call:  .long 283\n\n/* all addresses are network byte-order (big-endian) */\nserver_addr:            .long 0x0100007f ; localhost\nserver_port:            .hword 0x0b1a\n`\n\nconst chromalicious = chromafi(armAssemblyCode, {lang: 'arm'})\n\nconsole.log(chromalicious)\n```\n\n![Figure 06](examples/figure-06.png)\n\n## Supported Languages\n\n> 1c, abnf, accesslog, actionscript, ada, apache, applescript, arduino, armasm, asciidoc, aspectj, autohotkey, autoit, avrasm, awk, axapta, bash, basic, bnf, brainfuck, cal, capnproto, ceylon, clean, clojure-repl, clojure, cmake, coffeescript, coq, cos, cpp, crmsh, crystal, cs, csp, css, d, dart, delphi, diff, django, dns, dockerfile, dos, dsconfig, dts, dust, ebnf, elixir, elm, erb, erlang-repl, erlang, excel, fix, flix, fortran, fsharp, gams, gauss, gcode, gherkin, glsl, go, golo, gradle, groovy, haml, handlebars, haskell, haxe, hsp, htmlbars, http, hy, inform7, ini, irpf90, java, javascript, jboss-cli, json, julia-repl, julia, kotlin, lasso, ldif, leaf, less, lisp, livecodeserver, livescript, llvm, lsl, lua, makefile, markdown, mathematica, matlab, maxima, mel, mercury, mipsasm, mizar, mojolicious, monkey, moonscript, n1ql, nginx, nimrod, nix, nsis, objectivec, ocaml, openscad, oxygene, parser3, perl, pf, php, pony, powershell, processing, profile, prolog, protobuf, puppet, purebasic, python, q, qml, r, rib, roboconf, routeros, rsl, ruby, ruleslanguage, rust, scala, scheme, scilab, scss, shell, smali, smalltalk, sml, sqf, sql, stan, stata, step21, stylus, subunit, swift, taggerscript, tap, tcl, tex, thrift, tp, twig, typescript, vala, vbnet, vbscript-html, vbscript, verilog, vhdl, vim, x86asm, xl, xml, xquery, yaml, zephir\n\n\n## Credits\n\nThank you to the following Noun Project artists for the vectors used in the lead graphic.\n\n- [Yoshi](https://thenounproject.com/aure7/)\n- [Tom Ingebretsen](https://thenounproject.com/tomplusplus/)\n- [Roussy Lucas](https://thenounproject.com/lroussy/)\n- [Wira](https://thenounproject.com/wirawizinda097/)\n","readmeFilename":"README.md"}