{"_id":"refractor","_rev":"3977363","name":"refractor","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","dist-tags":{"latest":"5.0.0","legacy":"3.6.0"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2025-09-01T01:59:42.000Z","created":"2017-08-02T16:35:52.302Z","5.0.0":"2025-03-11T15:23:56.243Z","4.9.0":"2025-03-11T14:41:54.130Z","4.8.1":"2023-02-28T18:31:27.930Z","4.8.0":"2022-08-23T18:31:22.791Z","4.7.0":"2022-05-12T17:53:08.483Z","4.6.0":"2022-04-17T17:04:27.266Z","3.6.0":"2022-02-25T14:03:25.912Z","4.5.0":"2022-02-19T11:32:34.672Z","4.4.0":"2022-01-06T19:57:28.920Z","4.3.0":"2021-11-22T19:24:22.049Z","4.2.2":"2021-11-08T09:11:36.280Z","3.5.0":"2021-10-08T07:46:16.850Z","4.2.1":"2021-09-22T13:52:53.890Z","4.2.0":"2021-09-17T16:29:25.088Z","4.1.1":"2021-08-08T16:34:07.354Z","3.4.0":"2021-06-30T10:21:08.255Z","4.1.0":"2021-06-28T06:48:52.940Z","4.0.0":"2021-05-08T08:48:49.780Z","3.3.1":"2021-01-22T08:44:15.417Z","3.3.0":"2021-01-02T10:07:22.582Z","3.2.0":"2020-10-11T07:47:38.576Z","3.1.0":"2020-08-11T11:43:46.709Z","3.0.0":"2020-04-06T06:27:43.559Z","2.10.1":"2020-01-23T17:16:42.525Z","2.10.0":"2019-07-23T08:39:57.567Z","2.9.0":"2019-04-19T16:27:26.926Z","2.8.0":"2019-03-26T03:18:10.373Z","2.7.0":"2019-03-11T22:00:10.093Z","2.6.2":"2018-11-19T11:34:24.987Z","2.6.1":"2018-11-03T12:44:14.908Z","2.6.0":"2018-08-05T16:16:00.282Z","2.5.0":"2018-07-31T18:38:42.386Z","2.4.1":"2018-05-02T15:37:17.825Z","2.4.0":"2018-04-29T16:11:53.456Z","2.3.0":"2018-01-21T11:52:32.262Z","2.2.0":"2017-12-08T15:17:57.603Z","2.1.0":"2017-11-15T18:02:16.296Z","2.0.0":"2017-11-07T16:10:17.206Z","1.1.0":"2017-09-16T10:12:22.394Z","1.0.2":"2017-09-16T09:56:50.123Z","1.0.1":"2017-08-02T16:49:41.883Z","1.0.0":"2017-08-02T16:35:52.302Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"versions":{"5.0.0":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"contributors":[{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^3.0.0","@types/prismjs":"^1.0.0","hastscript":"^9.0.0","parse-entities":"^4.0.0"},"description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","devDependencies":{"@babel/core":"^7.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^4.0.0","@types/node":"^22.0.0","alpha-sort":"^5.0.0","c8":"^10.0.0","chalk":"^5.0.0","detab":"^3.0.0","hast-util-from-html":"^2.0.0","hast-util-to-html":"^9.0.0","is-keyword":"^1.0.0","mdast-zone":"^6.0.0","patch-package":"^8.0.0","prettier":"^3.0.0","prismjs":"~1.30.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^11.0.0","trim-lines":"^3.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.60.0"},"exports":{".":"./lib/common.js","./all":"./lib/all.js","./core":"./lib/core.js","./*":"./lang/*.js"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"keywords":["ast","code","dom","highlighting","highlight","prism","syntax","virtual"],"license":"MIT","name":"refractor","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm",["remark-toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","generate-core":"patch-package && cp node_modules/prismjs/components/prism-core.js lib/prism-core.js","generate-fixtures":"node --conditions development script/fixtures.js","generate-languages":"node --conditions development script/languages.js","generate-list":"node --conditions development script/list.js","generate":"npm run generate-core && npm run generate-languages && npm run generate-list && npm run generate-fixtures","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --check-coverage --exclude \"lang/\" --exclude \"test/\" --exclude \"lib/prism-core.js\" --reporter lcov -- npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"sideEffects":["lib/all.js","lib/common.js"],"typeCoverage":{"atLeast":100,"ignoreFiles":["lang/*.d.ts","lib/prism-core.d.ts","lib/prism-core.js"],"strict":true},"type":"module","version":"5.0.0","xo":{"ignores":["lang/*.js","lib/prism-core.js"],"overrides":[{"files":["script/**/*.js","test/**/*.js"],"rules":{"no-await-in-loop":"off","unicorn/prefer-top-level-await":"off"}}],"prettier":true,"rules":{"unicorn/prefer-string-replace-all":"off"}},"_id":"refractor@5.0.0","gitHead":"ed824ac801ef4bb5b25f73a4bcd6ce46b7eec8c9","homepage":"https://github.com/wooorm/refractor#readme","_nodeVersion":"23.1.0","_npmVersion":"11.1.0","dist":{"shasum":"85daf0448a6d947f5361796eb22c31733d61d904","size":321820,"noattachment":false,"key":"/refractor/-/refractor-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-5.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/refractor_5.0.0_1741706636019_0.9840040228811131"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-11T15:23:56.243Z","publish_time":1741706636243,"_source_registry_name":"default","_cnpm_publish_time":1741706636243},"4.9.0":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"contributors":[{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0"},"description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","devDependencies":{"@babel/core":"^7.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^4.0.0","@types/node":"^22.0.0","alpha-sort":"^5.0.0","c8":"^10.0.0","chalk":"^5.0.0","detab":"^3.0.0","hast-util-from-html":"^2.0.0","hast-util-to-html":"^9.0.0","is-keyword":"^1.0.0","mdast-zone":"^6.0.0","patch-package":"^8.0.0","prettier":"^3.0.0","prismjs":"~1.30.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^11.0.0","trim-lines":"^3.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.60.0"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"keywords":["ast","code","dom","highlighting","highlight","prism","syntax","virtual"],"license":"MIT","main":"index.js","name":"refractor","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm",["remark-toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","generate-core":"patch-package && cp node_modules/prismjs/components/prism-core.js lib/prism-core.js","generate-fixtures":"node --conditions development script/fixtures.js","generate-languages":"node --conditions development script/languages.js","generate-list":"node --conditions development script/list.js","generate":"npm run generate-core && npm run generate-languages && npm run generate-list && npm run generate-fixtures","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --check-coverage --exclude \"lang/\" --exclude \"test/\" --exclude \"lib/prism-core.js\" --reporter lcov -- npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"sideEffects":["lib/all.js","lib/common.js"],"typeCoverage":{"atLeast":100,"ignoreFiles":["lang/*.d.ts","lib/prism-core.d.ts","lib/prism-core.js"],"strict":true},"types":"index.d.ts","type":"module","version":"4.9.0","xo":{"ignores":["lang/*.js","lib/prism-core.js"],"overrides":[{"files":["script/**/*.js","test/**/*.js"],"rules":{"no-await-in-loop":"off","unicorn/prefer-top-level-await":"off"}}],"prettier":true,"rules":{"unicorn/prefer-string-replace-all":"off"}},"_id":"refractor@4.9.0","gitHead":"5fb62faac91cf39c1afaa179ea52fda49e58e8e3","homepage":"https://github.com/wooorm/refractor#readme","_nodeVersion":"23.1.0","_npmVersion":"11.1.0","dist":{"shasum":"2e1c7af0157230cdd2f9086660912eadc5f68323","size":322422,"noattachment":false,"key":"/refractor/-/refractor-4.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.9.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/refractor_4.9.0_1741704113848_0.503684789047135"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-11T14:41:54.130Z","publish_time":1741704114130,"_source_registry_name":"default","_cnpm_publish_time":1741704114130},"4.8.1":{"name":"refractor","version":"4.8.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/node":"^18.0.0","alpha-sort":"^5.0.0","c8":"^7.0.0","chalk":"^5.0.0","detab":"^3.0.0","hast-util-to-html":"^8.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","patch-package":"^6.0.0","prettier":"^2.0.0","prismjs":"~1.29.0","rehype":"^12.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","trim-lines":"^3.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run generate && npm run build && npm run format","generate-core":"patch-package && cp node_modules/prismjs/components/prism-core.js lib/prism-core.js","generate-languages":"node --conditions development script/languages.js","generate-list":"node --conditions development script/list.js","generate-fixtures":"node --conditions development script/fixtures.js","generate":"npm run generate-core && npm run generate-languages && npm run generate-list && npm run generate-fixtures","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/\" -x \"test/\" -x \"lib/prism-core.js\" --check-coverage --100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lib/prism-core.js","lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts","lib/prism-core.d.ts","lib/prism-core.js"]},"gitHead":"fd0756390d740e59d8430b52a58866ded46db229","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.8.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"fbdd889333a3d86c9c864479622855c9b38e9d42","size":318860,"noattachment":false,"key":"/refractor/-/refractor-4.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.8.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.8.1_1677609087813_0.8989576521135998"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-28T18:31:27.930Z","publish_time":1677609087930,"_cnpm_publish_time":1677609087930},"4.8.0":{"name":"refractor","version":"4.8.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^5.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","patch-package":"^6.0.0","prettier":"^2.0.0","prismjs":"~1.29.0","rehype":"^12.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^3.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.51.0"},"scripts":{"generate-core":"patch-package && cp node_modules/prismjs/components/prism-core.js lib/prism-core.js","generate-languages":"node script/languages.js","generate-list":"node script/list.js","generate-fixtures":"node script/fixtures.js","generate":"npm run generate-core && npm run generate-languages && npm run generate-list && npm run generate-fixtures","prepublishOnly":"npm run build && npm run format","build":"rimraf \"{lang,lib,script,test}/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/*.js\" -x \"lib/prism-core.js\" --check-coverage --100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lib/prism-core.js","lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts","lib/prism-core.d.ts","lib/prism-core.js"]},"gitHead":"ec614a1e41afd76f9bdd8168ac4f70811ba114b7","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.8.0","_nodeVersion":"18.2.0","_npmVersion":"8.13.2","dist":{"shasum":"ed56963d66765ac4f304bf9f16e901c5642164d2","size":318836,"noattachment":false,"key":"/refractor/-/refractor-4.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.8.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.8.0_1661279482395_0.5673319993900838"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-23T18:42:42.817Z","publish_time":1661279482791,"_cnpm_publish_time":1661279482791},"4.7.0":{"name":"refractor","version":"4.7.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^5.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","patch-package":"^6.0.0","prettier":"^2.0.0","prismjs":"~1.28.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.48.0"},"scripts":{"generate-core":"patch-package && cp node_modules/prismjs/components/prism-core.js lib/prism-core.js","generate-languages":"node script/languages.js","generate-list":"node script/list.js","generate-fixtures":"node script/fixtures.js","generate":"npm run generate-core && npm run generate-languages && npm run generate-list && npm run generate-fixtures","prepublishOnly":"npm run build && npm run format","build":"rimraf \"{lang,lib,script,test}/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/*.js\" -x \"lib/prism-core.js\" --check-coverage --100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lib/prism-core.js","lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts","lib/prism-core.d.ts","lib/prism-core.js"]},"gitHead":"c36615b1fd371287319ebe90b4a1c127bd301002","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.7.0","_nodeVersion":"18.0.0","_npmVersion":"8.7.0","dist":{"shasum":"aad649d7857acdc0d5792f1a7900867256941ac0","size":313003,"noattachment":false,"key":"/refractor/-/refractor-4.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.7.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.7.0_1652377988156_0.857231533162037"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-12T21:16:28.325Z","publish_time":1652377988483,"_cnpm_publish_time":1652377988483},"4.6.0":{"name":"refractor","version":"4.6.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0","prismjs":"~1.28.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^5.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.48.0"},"scripts":{"generate":"node script/languages.js && node script/list.js && node script/fixtures.js","prepublishOnly":"npm run build && npm run format","build":"rimraf \"{lang,lib,script,test}/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"c5744cb0c8df2309bab35c0505be51a2e37838f9","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.6.0","_nodeVersion":"17.9.0","_npmVersion":"8.5.5","dist":{"shasum":"79bc990305df36b1ccda99c9aa9ede29f7f975d1","size":304017,"noattachment":false,"key":"/refractor/-/refractor-4.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.6.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.6.0_1650215067091_0.22954671207284916"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-17T17:04:31.451Z","publish_time":1650215067266,"_cnpm_publish_time":1650215067266},"3.6.0":{"name":"refractor","version":"3.6.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^6.0.0","parse-entities":"^2.0.0","prismjs":"~1.27.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^4.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^17.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","is-keyword":"^1.2.2","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^3.0.0","xo":"^0.37.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"import/extensions":"off","unicorn/no-array-callback-reference":"off","unicorn/no-fn-reference-in-iterator":"off","unicorn/prefer-includes":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-type-error":"off","unicorn/string-content":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"readmeFilename":"readme.md","gitHead":"fbb7605a8174902e27a0ce781238ba9fd54a028c","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.6.0","_nodeVersion":"17.4.0","_npmVersion":"8.5.1","dist":{"shasum":"ac318f5a0715ead790fcfb0c71f4dd83d977935a","size":286737,"noattachment":false,"key":"/refractor/-/refractor-3.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.6.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.6.0_1645797805678_0.6350919092906591"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-25T14:03:42.240Z","publish_time":1645797805912,"_cnpm_publish_time":1645797805912},"4.5.0":{"name":"refractor","version":"4.5.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0","prismjs":"~1.27.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^5.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.48.0"},"scripts":{"generate":"node script/languages.js && node script/list.js && node script/fixtures.js","prepublishOnly":"npm run build && npm run format","build":"rimraf \"{lang,lib,script,test}/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"e4d8449babff7a94a8f92baeb30472e5cb63121f","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.5.0","_nodeVersion":"17.4.0","_npmVersion":"8.4.1","dist":{"shasum":"1568fc3a5d6e0c5e4b76caafba7afde0b747fd15","size":301229,"noattachment":false,"key":"/refractor/-/refractor-4.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.5.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.5.0_1645270354344_0.4751720657643741"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-19T11:32:38.888Z","publish_time":1645270354672,"_cnpm_publish_time":1645270354672},"4.4.0":{"name":"refractor","version":"4.4.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0","prismjs":"~1.26.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^5.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.47.0"},"scripts":{"generate":"node script/languages.js && node script/list.js && node script/fixtures.js","prepublishOnly":"npm run build && npm run format","build":"rimraf \"{lang,lib,script,test}/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"2f8753099d399946e1c61e9c8338a5fc2bc5908d","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.4.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"093c3391c95e36e0fa1b630d7b13216cd7a0f643","size":300098,"noattachment":false,"key":"/refractor/-/refractor-4.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.4.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.4.0_1641499048474_0.13530666103318856"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-06T20:07:36.714Z","publish_time":1641499048920,"_cnpm_publish_time":1641499048920},"4.3.0":{"name":"refractor","version":"4.3.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^4.0.0","prismjs":"~1.25.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^4.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.46.0"},"scripts":{"generate":"node script/languages.js && node script/list.js && node script/fixtures.js","prepublishOnly":"npm run build && npm run format","build":"rimraf \"{lang,lib,script,test}/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"ed5750266a49ab9c927988a9f1377bddda02e922","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.3.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"c33e4f5702d4a5b195db137d8b1e092ab3090cbb","size":292646,"noattachment":false,"key":"/refractor/-/refractor-4.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.3.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.3.0_1637609061842_0.46247255222775996"},"_hasShrinkwrap":false,"publish_time":1637609062049,"_cnpm_publish_time":1637609062049},"4.2.2":{"name":"refractor","version":"4.2.2","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^3.0.0","prismjs":"~1.25.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^4.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.46.0"},"scripts":{"generate":"node script/languages.js && node script/list.js && node script/fixtures.js","prepublishOnly":"npm run build && npm run format","build":"rimraf \"{lang,lib,script,test}/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"89d323d4c78034abc4241e4755f95e685221756c","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.2.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"9dfcb87645af35f61a502a3016735e32154836b6","size":292649,"noattachment":false,"key":"/refractor/-/refractor-4.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.2.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.2.2_1636362696044_0.9289834618444428"},"_hasShrinkwrap":false,"publish_time":1636362696280,"_cnpm_publish_time":1636362696280},"3.5.0":{"name":"refractor","version":"3.5.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^6.0.0","parse-entities":"^2.0.0","prismjs":"~1.25.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^4.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^17.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","is-keyword":"^1.2.2","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^3.0.0","xo":"^0.37.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"import/extensions":"off","unicorn/no-array-callback-reference":"off","unicorn/no-fn-reference-in-iterator":"off","unicorn/prefer-includes":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-type-error":"off","unicorn/string-content":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"readmeFilename":"readme.md","gitHead":"6fc393ad308b0e42cde7553af6216a1a745a3841","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.5.0","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"334586f352dda4beaf354099b48c2d18e0819aec","size":278704,"noattachment":false,"key":"/refractor/-/refractor-3.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.5.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.5.0_1633679176591_0.43929392959590596"},"_hasShrinkwrap":false,"publish_time":1633679176850,"_cnpm_publish_time":1633679176850},"4.2.1":{"name":"refractor","version":"4.2.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^3.0.0","prismjs":"~1.25.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^4.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.44.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lang/**,lib/**,script/**,test/**,}*.d.ts\" && tsc && type-coverage","generate":"node script/languages.js && node script/list.js && node script/fixtures.js","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run generate && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"9d41a65a33fd279cc859a7b3f62376ebde11e53f","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.2.1","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"3ea2810b0090d2ef95b101f0cd9c07769c8f553f","size":291349,"noattachment":false,"key":"/refractor/-/refractor-4.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.2.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.2.1_1632318773667_0.4068491690574043"},"_hasShrinkwrap":false,"publish_time":1632318773890,"_cnpm_publish_time":1632318773890},"4.2.0":{"name":"refractor","version":"4.2.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^3.0.0","prismjs":"~1.25.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^4.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.44.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lang/**,lib/**,script/**,test/**,}*.d.ts\" && tsc && type-coverage","generate":"node script/languages.js && node script/list.js && node script/fixtures.js","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run generate && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"e399dffa4017f8f2a639568fd92a408e76e7c23d","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.2.0","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"59e12002776d4fbc873045e21f485715383085d8","size":291331,"noattachment":false,"key":"/refractor/-/refractor-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.2.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.2.0_1631896164879_0.8819566832942449"},"_hasShrinkwrap":false,"publish_time":1631896165088,"_cnpm_publish_time":1631896165088},"4.1.1":{"name":"refractor","version":"4.1.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":["lib/all.js","lib/common.js"],"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^3.0.0","prismjs":"~1.24.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^4.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^12.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.44.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lang/**,lib/**,script/**,test/**,}*.d.ts\" && tsc && type-coverage","generate":"node script/languages.js && node script/list.js && node script/fixtures.js","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run generate && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"9908f746a8bd6562b8a586658e29a2f78e1a2bc2","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.1.1","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"bc0efb6919a391bd83bdc549e2b10b8ef130c8b2","size":276390,"noattachment":false,"key":"/refractor/-/refractor-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.1.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.1.1_1628440447199_0.9079366499822568"},"_hasShrinkwrap":false,"publish_time":1628440447354,"_cnpm_publish_time":1628440447354},"3.4.0":{"name":"refractor","version":"3.4.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^6.0.0","parse-entities":"^2.0.0","prismjs":"~1.24.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^4.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^17.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","is-keyword":"^1.2.2","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^3.0.0","xo":"^0.37.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"import/extensions":"off","unicorn/no-array-callback-reference":"off","unicorn/no-fn-reference-in-iterator":"off","unicorn/prefer-includes":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-type-error":"off","unicorn/string-content":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"readmeFilename":"readme.md","gitHead":"94e7a99922d8ea3551eeae24fa82cd11c4284a9e","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.4.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"62bd274b06c942041f390c371b676eb67cb0a678","size":263405,"noattachment":false,"key":"/refractor/-/refractor-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.4.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.4.0_1625048467997_0.02596075312372803"},"_hasShrinkwrap":false,"publish_time":1625048468255,"_cnpm_publish_time":1625048468255},"4.1.0":{"name":"refractor","version":"4.1.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^3.0.0","prismjs":"~1.24.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^4.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","is-keyword":"^1.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lang/**,lib/**,script/**,test/**,}*.d.ts\" && tsc && type-coverage","generate":"node script/languages.js && node script/list.js && node script/fixtures.js","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run generate && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"capitalized-comments":"off","no-var":"off","prefer-arrow-callback":"off"},"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"7b04b562f130b2e2c3bde3ca80b9d4ab49407e24","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.1.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"4bb5ad052ae8a9c1eaf9241312d172ce95b543f0","size":275981,"noattachment":false,"key":"/refractor/-/refractor-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.1.0_1624862932786_0.06718157556297899"},"_hasShrinkwrap":false,"publish_time":1624862932940,"_cnpm_publish_time":1624862932940},"4.0.0":{"name":"refractor","version":"4.0.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/prismjs":"^1.0.0","hastscript":"^7.0.0","parse-entities":"^3.0.0","prismjs":"~1.23.0"},"devDependencies":{"@babel/core":"^7.0.0","@types/async":"^3.0.0","@types/babel__core":"^7.0.0","@types/mdast":"^3.0.0","@types/tape":"^4.0.0","alpha-sort":"^5.0.0","async":"^3.0.0","bail":"^2.0.0","c8":"^7.0.0","chalk":"^4.0.0","detab":"^3.0.0","is-hidden":"^2.0.0","mdast-zone":"^5.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","trim-lines":"^2.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","unist-util-remove-position":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lang/**,lib/**,script/**,test/**,}*.d.ts\" && tsc && type-coverage","generate":"node script/languages.js && node script/list.js && node script/fixtures.js","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 -x \"lang/*.js\" --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run generate && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"capitalized-comments":"off","no-var":"off","prefer-arrow-callback":"off"},"ignores":["lang/*.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count.js","./script/support.js"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lang/*.d.ts"]},"gitHead":"98e9c18aaa5dc48a8fd9eb6bab32131407ed6529","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@4.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"shasum":"adb1af86d1df685c8926e07c2618f71c4240a01d","size":255602,"noattachment":false,"key":"/refractor/-/refractor-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_4.0.0_1620463729558_0.5121406860316438"},"_hasShrinkwrap":false,"publish_time":1620463729780,"_cnpm_publish_time":1620463729780},"3.3.1":{"name":"refractor","version":"3.3.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^6.0.0","parse-entities":"^2.0.0","prismjs":"~1.23.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^4.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^17.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^3.0.0","xo":"^0.37.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/no-array-callback-reference":"off","unicorn/no-fn-reference-in-iterator":"off","unicorn/prefer-includes":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-type-error":"off","unicorn/string-content":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"gitHead":"185e541125867ded5567292276581fee6ef4b94a","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.3.1","_nodeVersion":"15.1.0","_npmVersion":"6.14.11","dist":{"shasum":"ebbc04b427ea81dc25ad333f7f67a0b5f4f0be3a","size":246378,"noattachment":false,"key":"/refractor/-/refractor-3.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.3.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.3.1_1611305055264_0.17183339841483325"},"_hasShrinkwrap":false,"publish_time":1611305055417,"_cnpm_publish_time":1611305055417},"3.3.0":{"name":"refractor","version":"3.3.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^6.0.0","parse-entities":"^2.0.0","prismjs":"~1.23.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^4.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^17.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^3.0.0","xo":"^0.37.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/no-array-callback-reference":"off","unicorn/no-fn-reference-in-iterator":"off","unicorn/prefer-includes":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-type-error":"off","unicorn/string-content":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"gitHead":"0e49fc33bfac9ae201a815a1e33b3a53152cf73a","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.3.0","_nodeVersion":"15.1.0","_npmVersion":"6.14.10","dist":{"shasum":"42a7d58f14a1d1bcda52a8c66123601a71e5d47d","size":246373,"noattachment":false,"key":"/refractor/-/refractor-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.3.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.3.0_1609582042427_0.8458981846948268"},"_hasShrinkwrap":false,"publish_time":1609582042582,"_cnpm_publish_time":1609582042582},"3.2.0":{"name":"refractor","version":"3.2.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^6.0.0","parse-entities":"^2.0.0","prismjs":"~1.22.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^3.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^17.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","tinyify":"^3.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^3.0.0","xo":"^0.33.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/no-fn-reference-in-iterator":"off","unicorn/prefer-includes":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-type-error":"off","unicorn/string-content":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"gitHead":"c0803fd7a373613d86efbe443ed744835a020d8c","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.2.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"shasum":"bc46f7cfbb6adbf45cd304e8e299b7fa854804e0","size":241043,"noattachment":false,"key":"/refractor/-/refractor-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.2.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.2.0_1602402458440_0.2114759706329945"},"_hasShrinkwrap":false,"publish_time":1602402458576,"_cnpm_publish_time":1602402458576},"3.1.0":{"name":"refractor","version":"3.1.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^2.0.0","prismjs":"~1.21.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^3.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^16.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^11.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","tinyify":"^3.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^3.0.0","xo":"^0.33.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/no-fn-reference-in-iterator":"off","unicorn/prefer-includes":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-type-error":"off","unicorn/string-content":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"gitHead":"440fceba6bc96488600be24af4a0ab28e2bbc535","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.1.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"b05a43c8a1b4fccb30001ffcbd5cd781f7f06f78","size":232365,"noattachment":false,"key":"/refractor/-/refractor-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.1.0_1597146226481_0.8095415340702083"},"_hasShrinkwrap":false,"publish_time":1597146226709,"_cnpm_publish_time":1597146226709},"3.0.0":{"name":"refractor","version":"3.0.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^2.0.0","prismjs":"~1.20.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^3.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^16.0.0","chalk":"^4.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","mdast-zone":"^4.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype":"^10.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^4.0.0","tinyify":"^2.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^2.0.0","xo":"^0.28.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/string-content":"off","unicorn/prefer-type-error":"off","unicorn/prefer-includes":"off","ava/no-import-test-files":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"gitHead":"7372dccc7d0a5c9e0d0d11725e901a43aedc461b","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@3.0.0","_nodeVersion":"13.10.1","_npmVersion":"6.14.4","dist":{"shasum":"7c8072eaf49dbc1b333e7acc64fb52a1c9b17c75","size":216611,"noattachment":false,"key":"/refractor/-/refractor-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-3.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_3.0.0_1586154463381_0.20072388340497382"},"_hasShrinkwrap":false,"publish_time":1586154463559,"_cnpm_publish_time":1586154463559},"2.10.1":{"name":"refractor","version":"2.10.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^1.1.2","prismjs":"~1.17.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^3.0.0","arr-diff":"^4.0.0","async":"^3.0.0","bail":"^1.0.0","browserify":"^16.0.0","chalk":"^3.0.0","detab":"^2.0.0","is-hidden":"^1.0.0","mdast-zone":"^3.0.0","not":"^0.1.0","nyc":"^15.0.0","prettier":"^1.0.0","rehype":"^9.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","trim-lines":"^1.0.0","unist-builder":"^2.0.0","unist-util-remove-position":"^2.0.0","xo":"^0.25.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","unicorn/prefer-includes":"off","ava/no-import-test-files":"off","guard-for-in":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"heading":"contents","skip":"license"}],"./script/count","./script/support"]},"gitHead":"6aed9c82e9f6847fe5eaa652fc5715a6b7bc3c97","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.10.1","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"shasum":"166c32f114ed16fd96190ad21d5193d3afc7d34e","size":176079,"noattachment":false,"key":"/refractor/-/refractor-2.10.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.10.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.10.1_1579799802248_0.11634706269357498"},"_hasShrinkwrap":false,"publish_time":1579799802525,"_cnpm_publish_time":1579799802525},"2.10.0":{"name":"refractor","version":"2.10.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"},{"name":"Peter Williams","email":"peterwilliams@gmail.com"},{"name":"Brian Mearns","email":"bmearns@commercehub.com"},{"name":"Gray Zhang","email":"otakustay@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^1.1.2","prismjs":"~1.17.0"},"devDependencies":{"@babel/core":"^7.0.0","alpha-sort":"^3.0.0","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^3.0.0","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^14.0.0","prettier":"^1.12.1","rehype":"^9.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.24.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","guard-for-in":"off","ava/no-import-test-files":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm",["toc",{"skip":"license"}],"./script/count","./script/support"]},"gitHead":"32c65ffb2dea82f848cf675bdb689dcd09021e49","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.10.0","_nodeVersion":"12.2.0","_npmVersion":"6.10.1","dist":{"shasum":"4cc7efc0028a87924a9b31d82d129dec831a287b","size":176133,"noattachment":false,"key":"/refractor/-/refractor-2.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.10.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.10.0_1563871197418_0.027344634823251557"},"_hasShrinkwrap":false,"publish_time":1563871197567,"_cnpm_publish_time":1563871197567},"2.9.0":{"name":"refractor","version":"2.9.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^1.1.2","prismjs":"~1.16.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","babel-core":"^6.26.3","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^14.0.0","prettier":"^1.12.1","rehype":"^7.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.24.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","guard-for-in":"off","object-shorthand":"off","prefer-arrow-callback":"off","ava/no-import-test-files":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"2fc340f19b83b88c511822f8989a20d5f3a0b192","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.9.0","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"0a381aadb51513e4e6ec1ed410b5104dd65e2489","size":165312,"noattachment":false,"key":"/refractor/-/refractor-2.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.9.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.9.0_1555691246766_0.2642720073387692"},"_hasShrinkwrap":false,"publish_time":1555691246926,"_cnpm_publish_time":1555691246926},"2.8.0":{"name":"refractor","version":"2.8.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^1.1.2","prismjs":"~1.16.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","babel-core":"^6.26.3","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^13.0.0","prettier":"^1.12.1","rehype":"^7.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.24.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","guard-for-in":"off","object-shorthand":"off","prefer-arrow-callback":"off","ava/no-import-test-files":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"6c4b27fcf8d156288f98fc05ea281807caa00023","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.8.0","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"29d7b2254e823edd2e3e476af286af1c11472bfa","size":164943,"noattachment":false,"key":"/refractor/-/refractor-2.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.8.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.8.0_1553570290123_0.42746330717773495"},"_hasShrinkwrap":false,"publish_time":1553570290373,"_cnpm_publish_time":1553570290373},"2.7.0":{"name":"refractor","version":"2.7.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^1.1.2","prismjs":"~1.15.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","babel-core":"^6.26.3","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^13.0.0","prettier":"^1.12.1","rehype":"^7.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.24.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","guard-for-in":"off","object-shorthand":"off","prefer-arrow-callback":"off","ava/no-import-test-files":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"13be6c1e14b662084bc7e9b9a12de7170bb91d06","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.7.0","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"3ed9a96a619e75326a429e644241dea51be070a3","size":142886,"noattachment":false,"key":"/refractor/-/refractor-2.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.7.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.7.0_1552341609847_0.07352122799519067"},"_hasShrinkwrap":false,"publish_time":1552341610093,"_cnpm_publish_time":1552341610093},"2.6.2":{"name":"refractor","version":"2.6.2","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"dependencies":{"hastscript":"^5.0.0","parse-entities":"^1.1.2","prismjs":"~1.15.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","babel-core":"^6.26.3","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^13.0.0","prettier":"^1.12.1","rehype":"^7.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.23.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","guard-for-in":"off","object-shorthand":"off","prefer-arrow-callback":"off","ava/no-import-test-files":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"dde04b0ffc478dbdcc36c4b9162c3064d7a1121e","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.6.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"8e0877ab8864165275aafeea5d9c8eebe871552f","size":142680,"noattachment":false,"key":"/refractor/-/refractor-2.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.6.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.6.2_1542627264756_0.9135102131249169"},"_hasShrinkwrap":false,"publish_time":1542627264987,"_cnpm_publish_time":1542627264987},"2.6.1":{"name":"refractor","version":"2.6.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"dependencies":{"hastscript":"^4.0.0","parse-entities":"^1.1.2","prismjs":"~1.15.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","babel-core":"^6.26.3","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^13.0.0","prettier":"^1.12.1","rehype":"^6.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.23.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","guard-for-in":"off","object-shorthand":"off","prefer-arrow-callback":"off","ava/no-import-test-files":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"052948ae9632219fe886700d2288152197cf9bd8","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.6.1","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"a88fddbd13e647da3f1912f980d6807286e41c86","size":142647,"noattachment":false,"key":"/refractor/-/refractor-2.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.6.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.6.1_1541249054351_0.8820274722923609"},"_hasShrinkwrap":false,"publish_time":1541249054908,"_cnpm_publish_time":1541249054908},"2.6.0":{"name":"refractor","version":"2.6.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^4.0.0","parse-entities":"^1.1.2","prismjs":"~1.15.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","babel-core":"^6.26.3","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^12.0.0","prettier":"^1.12.1","rehype":"^6.0.0","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.21.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","guard-for-in":"off","object-shorthand":"off","prefer-arrow-callback":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"48ee1cc5f4620fdb338191d4c60c5289ca5f526d","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.6.0","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"6b0d88f654c8534eefed3329a35bc7bb74ae0979","size":142340,"noattachment":false,"key":"/refractor/-/refractor-2.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.6.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.6.0_1533485760082_0.5345993638091049"},"_hasShrinkwrap":false,"publish_time":1533485760282,"_cnpm_publish_time":1533485760282},"2.5.0":{"name":"refractor","version":"2.5.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^4.0.0","parse-entities":"^1.1.2","prismjs":"~1.15.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","babel-core":"^6.26.3","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^12.0.0","prettier":"^1.12.1","rehype":"^6.0.0","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.21.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js -s refractor > refractor.js","build-mangle":"browserify index.js -s refractor -p tinyify > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","guard-for-in":"off","object-shorthand":"off","prefer-arrow-callback":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"216afb031eff9bfe3d9cfcc307c610decc0ab67a","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.5.0","_npmVersion":"6.2.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"cd38fee596c0c494addf726543ea6f4b89d3147b","size":142222,"noattachment":false,"key":"/refractor/-/refractor-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.5.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.5.0_1533062322233_0.28335734649188793"},"_hasShrinkwrap":false,"publish_time":1533062322386,"_cnpm_publish_time":1533062322386},"2.4.1":{"name":"refractor","version":"2.4.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.14.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.12.1","rehype":"^5.0.0","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.20.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","object-shorthand":"off","prefer-arrow-callback":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"d02535cb6c967b514b14b195c1ac109b4f03a2e4","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.4.1","_npmVersion":"6.0.0","_nodeVersion":"9.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"067654311ed1618fc2dd76e9263c8cf05ab6298b","size":139073,"noattachment":false,"key":"/refractor/-/refractor-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.4.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.4.1_1525275437520_0.7463904866111692"},"_hasShrinkwrap":false,"publish_time":1525275437825,"_cnpm_publish_time":1525275437825},"2.4.0":{"name":"refractor","version":"2.4.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.14.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^16.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.12.1","rehype":"^5.0.0","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.20.0"},"scripts":{"generate":"node script/languages && node script/list","format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","no-var":"off","object-shorthand":"off","prefer-arrow-callback":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"0f04ee551b9030e275a9e3ee35c656f9750b36f3","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.4.0","_npmVersion":"6.0.0","_nodeVersion":"9.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"32fdc855f10ce67228ae3ca5221a89a5e8c8455e","size":139379,"noattachment":false,"key":"/refractor/-/refractor-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.4.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor_2.4.0_1525018313222_0.08592884309836535"},"_hasShrinkwrap":false,"publish_time":1525018313456,"_cnpm_publish_time":1525018313456},"2.3.0":{"name":"refractor","version":"2.3.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.10.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^15.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"^5.0.0","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"f51546f40127aa1b652663071452a4cb16411927","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.3.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b8cade8f88020f8836ca3622c6ef87fd2444d76a","size":129345,"noattachment":false,"key":"/refractor/-/refractor-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.3.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-2.3.0.tgz_1516535552101_0.025711153633892536"},"directories":{},"publish_time":1516535552262,"_hasShrinkwrap":false,"_cnpm_publish_time":1516535552262},"2.2.0":{"name":"refractor","version":"2.2.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.9.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^14.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"5.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"e00d69bc800167047378042f0b123b2bdeaf1d32","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.2.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"9f0ff38ac76f6e5eaacfd689912ed6ab7ab07351","size":125545,"noattachment":false,"key":"/refractor/-/refractor-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.2.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-2.2.0.tgz_1512746276344_0.274417883483693"},"directories":{},"publish_time":1512746277603,"_hasShrinkwrap":false,"_cnpm_publish_time":1512746277603},"2.1.0":{"name":"refractor","version":"2.1.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Conor Hastings","email":"hastings.conorm@gmail.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.8.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^14.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"5.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"0b2711c02c0cbcaee1b64304f595517fb82e881a","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"d28fa1e54e06cafecd7d8909600e9af0dc830eff","size":125008,"noattachment":false,"key":"/refractor/-/refractor-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-2.1.0.tgz_1510768934954_0.3384993108920753"},"directories":{},"publish_time":1510768936296,"_hasShrinkwrap":false,"_cnpm_publish_time":1510768936296},"2.0.0":{"name":"refractor","version":"2.0.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Daniel Stefanovic","email":"daniel.stefanovic@gmail.com"},{"name":"Mike Kruk","email":"tamagokun@gmail.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.8.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^14.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"5.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/count","./script/support"]},"gitHead":"92cc5aad96ca3d8985e46642c105564c318c71bf","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"8afcfc8b25e6c36783d9f1f3362d4a7c0b487f8c","size":124884,"noattachment":false,"key":"/refractor/-/refractor-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-2.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-2.0.0.tgz_1510071015832_0.9513299444224685"},"directories":{},"publish_time":1510071017206,"_hasShrinkwrap":false,"_cnpm_publish_time":1510071017206},"1.1.0":{"name":"refractor","version":"1.1.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.7.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^14.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"5.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/support"]},"gitHead":"fc95cf3d07d5014d1d8bd57df81cef96f246235c","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@1.1.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"0c7f6b23a1ffc0b669eb1e5154d2c0b1dd6a3efd","size":117636,"noattachment":false,"key":"/refractor/-/refractor-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-1.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-1.1.0.tgz_1505556741146_0.9361406120005995"},"directories":{},"publish_time":1505556742394,"_cnpm_publish_time":1505556742394,"_hasShrinkwrap":false},"1.0.2":{"name":"refractor","version":"1.0.2","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js","core.js","lang"],"dependencies":{"hastscript":"^3.1.0","prismjs":"~1.6.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^14.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"5.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/support"]},"gitHead":"01a34383dc4768c85cfdf107ab1fa1ee91316685","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@1.0.2","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"9b3264e12931ae8ff7ca4cb192ed1d90717cdf8b","size":112731,"noattachment":false,"key":"/refractor/-/refractor-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-1.0.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-1.0.2.tgz_1505555808899_0.39452613261528313"},"directories":{},"publish_time":1505555810123,"_cnpm_publish_time":1505555810123,"_hasShrinkwrap":false},"1.0.1":{"name":"refractor","version":"1.0.1","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js","core.js","lang"],"dependencies":{"prismjs":"~1.6.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^14.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","hastscript":"^3.1.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"5.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/support"]},"gitHead":"663fc19895abd9eda823345aca00290236e5ba35","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@1.0.1","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"d3e75d13e4f9c6f95cb21aaee7c55e280e29c338","size":112665,"noattachment":false,"key":"/refractor/-/refractor-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-1.0.1.tgz_1501692580407_0.8355437126010656"},"directories":{},"publish_time":1501692581883,"_cnpm_publish_time":1501692581883,"_hasShrinkwrap":false},"1.0.0":{"name":"refractor","version":"1.0.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","keywords":["syntax","code","ast","virtual","dom","highlight","highlighting","prism"],"repository":{"type":"git","url":"git+https://github.com/wooorm/refractor.git"},"bugs":{"url":"https://github.com/wooorm/refractor/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js","core.js","lang"],"dependencies":{"prismjs":"~1.6.0"},"devDependencies":{"alpha-sort":"^2.0.1","arr-diff":"^4.0.0","array-unique":"^0.3.2","async":"^2.5.0","bail":"^1.0.2","browserify":"^14.0.0","chalk":"^2.0.0","detab":"^2.0.0","esmangle":"^1.0.0","hastscript":"^3.1.0","is-hidden":"^1.1.0","mdast-zone":"^3.0.1","not":"^0.1.0","nyc":"^11.0.0","prettier":"^1.5.0","rehype":"5.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","trim-lines":"^1.1.0","unist-builder":"^1.0.2","unist-util-remove-position":"^1.1.0","xo":"^0.18.0"},"scripts":{"build-generate":"node script/languages && node script/list","build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s refractor > refractor.js","build-mangle":"esmangle refractor.js > refractor.min.js","build":"npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"exclude":["lang/*.js"]},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["lang/*.js","refractor.js"]},"remarkConfig":{"plugins":["preset-wooorm","./script/support"]},"gitHead":"dcfbacb091b585a3af80dd06372f61ea9f30eaab","homepage":"https://github.com/wooorm/refractor#readme","_id":"refractor@1.0.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"ad434472df3a74eee42eac7cfa37dfe392735135","size":112988,"noattachment":false,"key":"/refractor/-/refractor-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/refractor/download/refractor-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/refractor-1.0.0.tgz_1501691751007_0.3421323588117957"},"directories":{},"publish_time":1501691752302,"_cnpm_publish_time":1501691752302,"_hasShrinkwrap":false}},"readme":"<!--lint disable no-html-->\n\n# refractor\n\n[![Build][badge-build-image]][badge-build-url]\n[![Coverage][badge-coverage-image]][badge-coverage-url]\n[![Downloads][badge-downloads-image]][badge-downloads-url]\n[![Size][badge-size-image]][badge-size-url]\n\nLightweight,\nrobust,\nand elegant virtual syntax highlighting using [Prism][github-prism].\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Playground](#playground)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`refractor`](#refractor-1)\n  * [`Syntax`](#syntax)\n* [Examples](#examples)\n  * [Example: serializing hast as html](#example-serializing-hast-as-html)\n  * [Example: turning hast into react nodes](#example-turning-hast-into-react-nodes)\n* [Data](#data)\n* [CSS](#css)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Projects](#projects)\n* [Contribute](#contribute)\n\n## What is this?\n\nThis package wraps [Prism][github-prism] to output objects (ASTs) instead of a\nstring of HTML.\n\nPrism,\nthrough refractor,\nsupports 290+ programming languages.\nSupporting all of them requires a lot of code.\nThat’s why there are three entry points for refractor:\n\n<!--count start-->\n\n* `refractor/all` — 297 languages\n* `refractor/core` — 0 languages\n* `refractor` (default) — 36 common languages\n\n<!--count end-->\n\nBundled,\nminified,\nand gzipped,\nthose are roughly 12.7 kB (core),\n40 kB (default),\nand 211 kB (all).\n\n## When should I use this?\n\nThis package is useful when you want to perform syntax highlighting in a place\nwhere serialized HTML wouldn’t work or wouldn’t work well.\nFor example,\nyou can use refractor when you want to show code in a CLI by rendering to ANSI\nsequences,\nwhen you’re using virtual DOM frameworks\n(such as React or Preact)\nso that diffing can be performant,\nor when you’re working with ASTs\n(rehype).\n\nA different package,\n[`lowlight`][github-lowlight],\ndoes the same as refractor but uses [`highlight.js`][github-highlightjs]\ninstead.\nIf you’re looking for a *really good* but rather heavy highlighter,\ntry [`starry-night`][github-starry-night].\n\n<!--Old name of the following section:-->\n\n<a name=\"demo\"></a>\n\n## Playground\n\nYou can play with refractor on the\n[interactive demo (Replit)](https://replit.com/@karlhorky/official-refractor-demo#index.js).\n\n## Install\n\nThis package is [ESM only][github-gist-esm].\nIn Node.js (version 16+),\ninstall with [npm][npmjs-install]:\n\n```sh\nnpm install refractor\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {refractor} from 'https://esm.sh/refractor@5'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {refractor} from 'https://esm.sh/refractor@5?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {refractor} from 'refractor'\n\nconst tree = refractor.highlight('\"use strict\";', 'js')\n\nconsole.log(tree)\n```\n\nYields:\n\n```js\n{\n  type: 'root',\n  children: [\n    {\n      type: 'element',\n      tagName: 'span',\n      properties: {className: ['token', 'string']},\n      children: [{type: 'text', value: '\"use strict\"'}]\n    },\n    {\n      type: 'element',\n      tagName: 'span',\n      properties: {className: ['token', 'punctuation']},\n      children: [{type: 'text', value: ';'}]\n    }\n  ]\n}\n```\n\n## API\n\n`refractor` has several entries in its export map:\n\n* `refractor`,\n  which exports `refractor` and registers common grammars\n* `refractor/all`,\n  which exports `refractor` and registers all grammars\n* `refractor/core`,\n  which exports `refractor` and registers no grammars\n* `refractor/*`,\n  where `*` is a language name such as `markdown`,\n  which exports a [syntax function][api-syntax] as the default export\n\n### `refractor`\n\n#### `refractor.highlight(value, language)`\n\nHighlight `value` (code) as `language` (programming language).\n\n###### Parameters\n\n* `value` (`string`)\n  — code to highlight\n* `language` (`string` or `Grammar`)\n  — programming language name,\n  alias,\n  or grammar\n\n###### Returns\n\nNode representing highlighted code ([`Root`][github-hast-root]).\n\n###### Example\n\n```js\nimport css from 'refractor/css'\nimport {refractor} from 'refractor/core'\n\nrefractor.register(css)\nconsole.log(refractor.highlight('em { color: red }', 'css'))\n```\n\nYields:\n\n```js\n{\n  type: 'root',\n  children: [\n    {type: 'element', tagName: 'span', properties: [Object], children: [Array]},\n    {type: 'text', value: ' '},\n    // …\n    {type: 'text', value: ' red '},\n    {type: 'element', tagName: 'span', properties: [Object], children: [Array]}\n  ]\n}\n```\n\n#### `refractor.register(syntax)`\n\nRegister a syntax.\n\n###### Parameters\n\n* `syntax` (`Function`)\n  — language function custom made for refractor,\n  as in,\n  the files in `refractor/*`\n\n###### Example\n\n```js\nimport markdown from 'refractor/markdown'\nimport {refractor} from 'refractor/core'\n\nrefractor.register(markdown)\n\nconsole.log(refractor.highlight('*Emphasis*', 'markdown'))\n```\n\nYields:\n\n```js\n{\n  type: 'root',\n  children: [\n    {type: 'element', tagName: 'span', properties: [Object], children: [Array]}\n  ]\n}\n```\n\n#### `refractor.alias(name[, alias])`\n\nRegister aliases for already registered languages.\n\n###### Signatures\n\n* `alias(name, alias | list)`\n* `alias(aliases)`\n\n###### Parameters\n\n* `language` (`string`)\n  — programming language [name][prismjs-languages]\n* `alias` (`string`)\n  — new aliases for the programming language\n* `list` (`Array<string>`)\n  — list of aliases\n* `aliases` (`Record<language, alias | list>`)\n  — map of `language`s to `alias`es or `list`s\n\n###### Example\n\n```js\nimport markdown from 'refractor/markdown'\nimport {refractor} from 'refractor/core'\n\nrefractor.register(markdown)\n\n// refractor.highlight('*Emphasis*', 'mdown')\n// ^ would throw: Error: Unknown language: `mdown` is not registered\n\nrefractor.alias({markdown: ['mdown', 'mkdn', 'mdwn', 'ron']})\nrefractor.highlight('*Emphasis*', 'mdown')\n// ^ Works!\n```\n\n#### `refractor.registered(aliasOrlanguage)`\n\nCheck whether an `alias` or `language` is registered.\n\n###### Parameters\n\n* `aliasOrlanguage` (`string`)\n  — programming language name or alias\n\n###### Example\n\n```js\nimport markdown from 'refractor/markdown'\nimport {refractor} from 'refractor/core'\n\nconsole.log(refractor.registered('markdown')) //=> false\n\nrefractor.register(markdown)\n\nconsole.log(refractor.registered('markdown')) //=> true\n```\n\n#### `refractor.listLanguages()`\n\nList all registered languages (names and aliases).\n\n###### Returns\n\n`Array<string>`.\n\n###### Example\n\n```js\nimport markdown from 'refractor/markdown'\nimport {refractor} from 'refractor/core'\n\nconsole.log(refractor.listLanguages()) //=> []\n\nrefractor.register(markdown)\n\nconsole.log(refractor.listLanguages())\n```\n\nYields:\n\n```js\n[\n  'markup', // Note that `markup` (a lot of xml based languages) is a dep of markdown.\n  'html',\n  // …\n  'markdown',\n  'md'\n]\n```\n\n### `Syntax`\n\nRefractor syntax function (TypeScript type).\n\n###### Type\n\n```ts\nexport type Syntax = ((prism: Refractor) => undefined | void) & {\n  aliases?: Array<string> | undefined\n  displayName: string\n}\n```\n\n## Examples\n\n### Example: serializing hast as html\n\nhast trees as returned by refractor can be serialized with\n[`hast-util-to-html`][github-hast-util-to-html]:\n\n```js\nimport {toHtml} from 'hast-util-to-html'\nimport {refractor} from 'refractor'\n\nconst tree = refractor.highlight('\"use strict\";', 'js')\n\nconsole.log(toHtml(tree))\n```\n\nYields:\n\n```html\n<span class=\"token string\">\"use strict\"</span><span class=\"token punctuation\">;</span>\n```\n\n### Example: turning hast into react nodes\n\nhast trees as returned by refractor can be turned into React (or Preact) with\n[`hast-util-to-jsx-runtime`][github-hast-util-to-jsx-runtime]:\n\n```js\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {Fragment, jsxs, jsx} from 'react/jsx-runtime'\nimport {refractor} from 'refractor'\n\nconst tree = refractor.highlight('\"use strict\";', 'js')\nconst reactNode = toJsxRuntime(tree, {Fragment, jsxs, jsx})\n\nconsole.log(react)\n```\n\nYields:\n\n```js\n{\n  '$$typeof': Symbol(react.element),\n  type: 'div',\n  key: 'h-1',\n  ref: null,\n  props: { children: [ [Object], [Object] ] },\n  _owner: null,\n  _store: {}\n}\n```\n\n<!--Old name of the following section:-->\n\n<a name=\"syntaxes\"></a>\n\n## Data\n\nIf you’re using `refractor/core`,\nno syntaxes are included.\nChecked syntaxes are included if you import `refractor`.\nUnchecked syntaxes are available through `refractor/all`.\nYou can import `refractor/core` or `refractor` and manually add more languages\nas you please.\n\nPrism operates as a singleton:\nonce you register a language in one place,\nit’ll be available everywhere.\n\nOnly these custom built syntaxes will work with `refractor` because Prism’s own\nsyntaxes are made to work with global variables and are not importable.\n\n<!--support start-->\n\n* [x] [`arduino`](https://github.com/wooorm/refractor/blob/main/lang/arduino.js) — alias: `ino`\n* [x] [`bash`](https://github.com/wooorm/refractor/blob/main/lang/bash.js) — alias: `sh`, `shell`\n* [x] [`basic`](https://github.com/wooorm/refractor/blob/main/lang/basic.js)\n* [x] [`c`](https://github.com/wooorm/refractor/blob/main/lang/c.js)\n* [x] [`clike`](https://github.com/wooorm/refractor/blob/main/lang/clike.js)\n* [x] [`cpp`](https://github.com/wooorm/refractor/blob/main/lang/cpp.js)\n* [x] [`csharp`](https://github.com/wooorm/refractor/blob/main/lang/csharp.js) — alias: `cs`, `dotnet`\n* [x] [`css`](https://github.com/wooorm/refractor/blob/main/lang/css.js)\n* [x] [`diff`](https://github.com/wooorm/refractor/blob/main/lang/diff.js)\n* [x] [`go`](https://github.com/wooorm/refractor/blob/main/lang/go.js)\n* [x] [`ini`](https://github.com/wooorm/refractor/blob/main/lang/ini.js)\n* [x] [`java`](https://github.com/wooorm/refractor/blob/main/lang/java.js)\n* [x] [`javascript`](https://github.com/wooorm/refractor/blob/main/lang/javascript.js) — alias: `js`\n* [x] [`json`](https://github.com/wooorm/refractor/blob/main/lang/json.js) — alias: `webmanifest`\n* [x] [`kotlin`](https://github.com/wooorm/refractor/blob/main/lang/kotlin.js) — alias: `kt`, `kts`\n* [x] [`less`](https://github.com/wooorm/refractor/blob/main/lang/less.js)\n* [x] [`lua`](https://github.com/wooorm/refractor/blob/main/lang/lua.js)\n* [x] [`makefile`](https://github.com/wooorm/refractor/blob/main/lang/makefile.js)\n* [x] [`markdown`](https://github.com/wooorm/refractor/blob/main/lang/markdown.js) — alias: `md`\n* [x] [`markup`](https://github.com/wooorm/refractor/blob/main/lang/markup.js) — alias: `atom`, `html`, `mathml`, `rss`, `ssml`, `svg`, `xml`\n* [x] [`markup-templating`](https://github.com/wooorm/refractor/blob/main/lang/markup-templating.js)\n* [x] [`objectivec`](https://github.com/wooorm/refractor/blob/main/lang/objectivec.js) — alias: `objc`\n* [x] [`perl`](https://github.com/wooorm/refractor/blob/main/lang/perl.js)\n* [x] [`php`](https://github.com/wooorm/refractor/blob/main/lang/php.js)\n* [x] [`python`](https://github.com/wooorm/refractor/blob/main/lang/python.js) — alias: `py`\n* [x] [`r`](https://github.com/wooorm/refractor/blob/main/lang/r.js)\n* [x] [`regex`](https://github.com/wooorm/refractor/blob/main/lang/regex.js)\n* [x] [`ruby`](https://github.com/wooorm/refractor/blob/main/lang/ruby.js) — alias: `rb`\n* [x] [`rust`](https://github.com/wooorm/refractor/blob/main/lang/rust.js)\n* [x] [`sass`](https://github.com/wooorm/refractor/blob/main/lang/sass.js)\n* [x] [`scss`](https://github.com/wooorm/refractor/blob/main/lang/scss.js)\n* [x] [`sql`](https://github.com/wooorm/refractor/blob/main/lang/sql.js)\n* [x] [`swift`](https://github.com/wooorm/refractor/blob/main/lang/swift.js)\n* [x] [`typescript`](https://github.com/wooorm/refractor/blob/main/lang/typescript.js) — alias: `ts`\n* [x] [`vbnet`](https://github.com/wooorm/refractor/blob/main/lang/vbnet.js)\n* [x] [`yaml`](https://github.com/wooorm/refractor/blob/main/lang/yaml.js) — alias: `yml`\n* [ ] [`abap`](https://github.com/wooorm/refractor/blob/main/lang/abap.js)\n* [ ] [`abnf`](https://github.com/wooorm/refractor/blob/main/lang/abnf.js)\n* [ ] [`actionscript`](https://github.com/wooorm/refractor/blob/main/lang/actionscript.js)\n* [ ] [`ada`](https://github.com/wooorm/refractor/blob/main/lang/ada.js)\n* [ ] [`agda`](https://github.com/wooorm/refractor/blob/main/lang/agda.js)\n* [ ] [`al`](https://github.com/wooorm/refractor/blob/main/lang/al.js)\n* [ ] [`antlr4`](https://github.com/wooorm/refractor/blob/main/lang/antlr4.js) — alias: `g4`\n* [ ] [`apacheconf`](https://github.com/wooorm/refractor/blob/main/lang/apacheconf.js)\n* [ ] [`apex`](https://github.com/wooorm/refractor/blob/main/lang/apex.js)\n* [ ] [`apl`](https://github.com/wooorm/refractor/blob/main/lang/apl.js)\n* [ ] [`applescript`](https://github.com/wooorm/refractor/blob/main/lang/applescript.js)\n* [ ] [`aql`](https://github.com/wooorm/refractor/blob/main/lang/aql.js)\n* [ ] [`arff`](https://github.com/wooorm/refractor/blob/main/lang/arff.js)\n* [ ] [`armasm`](https://github.com/wooorm/refractor/blob/main/lang/armasm.js) — alias: `arm-asm`\n* [ ] [`arturo`](https://github.com/wooorm/refractor/blob/main/lang/arturo.js) — alias: `art`\n* [ ] [`asciidoc`](https://github.com/wooorm/refractor/blob/main/lang/asciidoc.js) — alias: `adoc`\n* [ ] [`asm6502`](https://github.com/wooorm/refractor/blob/main/lang/asm6502.js)\n* [ ] [`asmatmel`](https://github.com/wooorm/refractor/blob/main/lang/asmatmel.js)\n* [ ] [`aspnet`](https://github.com/wooorm/refractor/blob/main/lang/aspnet.js)\n* [ ] [`autohotkey`](https://github.com/wooorm/refractor/blob/main/lang/autohotkey.js)\n* [ ] [`autoit`](https://github.com/wooorm/refractor/blob/main/lang/autoit.js)\n* [ ] [`avisynth`](https://github.com/wooorm/refractor/blob/main/lang/avisynth.js) — alias: `avs`\n* [ ] [`avro-idl`](https://github.com/wooorm/refractor/blob/main/lang/avro-idl.js) — alias: `avdl`\n* [ ] [`awk`](https://github.com/wooorm/refractor/blob/main/lang/awk.js) — alias: `gawk`\n* [ ] [`batch`](https://github.com/wooorm/refractor/blob/main/lang/batch.js)\n* [ ] [`bbcode`](https://github.com/wooorm/refractor/blob/main/lang/bbcode.js) — alias: `shortcode`\n* [ ] [`bbj`](https://github.com/wooorm/refractor/blob/main/lang/bbj.js)\n* [ ] [`bicep`](https://github.com/wooorm/refractor/blob/main/lang/bicep.js)\n* [ ] [`birb`](https://github.com/wooorm/refractor/blob/main/lang/birb.js)\n* [ ] [`bison`](https://github.com/wooorm/refractor/blob/main/lang/bison.js)\n* [ ] [`bnf`](https://github.com/wooorm/refractor/blob/main/lang/bnf.js) — alias: `rbnf`\n* [ ] [`bqn`](https://github.com/wooorm/refractor/blob/main/lang/bqn.js)\n* [ ] [`brainfuck`](https://github.com/wooorm/refractor/blob/main/lang/brainfuck.js)\n* [ ] [`brightscript`](https://github.com/wooorm/refractor/blob/main/lang/brightscript.js)\n* [ ] [`bro`](https://github.com/wooorm/refractor/blob/main/lang/bro.js)\n* [ ] [`bsl`](https://github.com/wooorm/refractor/blob/main/lang/bsl.js) — alias: `oscript`\n* [ ] [`cfscript`](https://github.com/wooorm/refractor/blob/main/lang/cfscript.js) — alias: `cfc`\n* [ ] [`chaiscript`](https://github.com/wooorm/refractor/blob/main/lang/chaiscript.js)\n* [ ] [`cil`](https://github.com/wooorm/refractor/blob/main/lang/cil.js)\n* [ ] [`cilkc`](https://github.com/wooorm/refractor/blob/main/lang/cilkc.js) — alias: `cilk-c`\n* [ ] [`cilkcpp`](https://github.com/wooorm/refractor/blob/main/lang/cilkcpp.js) — alias: `cilk`, `cilk-cpp`\n* [ ] [`clojure`](https://github.com/wooorm/refractor/blob/main/lang/clojure.js)\n* [ ] [`cmake`](https://github.com/wooorm/refractor/blob/main/lang/cmake.js)\n* [ ] [`cobol`](https://github.com/wooorm/refractor/blob/main/lang/cobol.js)\n* [ ] [`coffeescript`](https://github.com/wooorm/refractor/blob/main/lang/coffeescript.js) — alias: `coffee`\n* [ ] [`concurnas`](https://github.com/wooorm/refractor/blob/main/lang/concurnas.js) — alias: `conc`\n* [ ] [`cooklang`](https://github.com/wooorm/refractor/blob/main/lang/cooklang.js)\n* [ ] [`coq`](https://github.com/wooorm/refractor/blob/main/lang/coq.js)\n* [ ] [`crystal`](https://github.com/wooorm/refractor/blob/main/lang/crystal.js)\n* [ ] [`cshtml`](https://github.com/wooorm/refractor/blob/main/lang/cshtml.js) — alias: `razor`\n* [ ] [`csp`](https://github.com/wooorm/refractor/blob/main/lang/csp.js)\n* [ ] [`css-extras`](https://github.com/wooorm/refractor/blob/main/lang/css-extras.js)\n* [ ] [`csv`](https://github.com/wooorm/refractor/blob/main/lang/csv.js)\n* [ ] [`cue`](https://github.com/wooorm/refractor/blob/main/lang/cue.js)\n* [ ] [`cypher`](https://github.com/wooorm/refractor/blob/main/lang/cypher.js)\n* [ ] [`d`](https://github.com/wooorm/refractor/blob/main/lang/d.js)\n* [ ] [`dart`](https://github.com/wooorm/refractor/blob/main/lang/dart.js)\n* [ ] [`dataweave`](https://github.com/wooorm/refractor/blob/main/lang/dataweave.js)\n* [ ] [`dax`](https://github.com/wooorm/refractor/blob/main/lang/dax.js)\n* [ ] [`dhall`](https://github.com/wooorm/refractor/blob/main/lang/dhall.js)\n* [ ] [`django`](https://github.com/wooorm/refractor/blob/main/lang/django.js) — alias: `jinja2`\n* [ ] [`dns-zone-file`](https://github.com/wooorm/refractor/blob/main/lang/dns-zone-file.js) — alias: `dns-zone`\n* [ ] [`docker`](https://github.com/wooorm/refractor/blob/main/lang/docker.js) — alias: `dockerfile`\n* [ ] [`dot`](https://github.com/wooorm/refractor/blob/main/lang/dot.js) — alias: `gv`\n* [ ] [`ebnf`](https://github.com/wooorm/refractor/blob/main/lang/ebnf.js)\n* [ ] [`editorconfig`](https://github.com/wooorm/refractor/blob/main/lang/editorconfig.js)\n* [ ] [`eiffel`](https://github.com/wooorm/refractor/blob/main/lang/eiffel.js)\n* [ ] [`ejs`](https://github.com/wooorm/refractor/blob/main/lang/ejs.js) — alias: `eta`\n* [ ] [`elixir`](https://github.com/wooorm/refractor/blob/main/lang/elixir.js)\n* [ ] [`elm`](https://github.com/wooorm/refractor/blob/main/lang/elm.js)\n* [ ] [`erb`](https://github.com/wooorm/refractor/blob/main/lang/erb.js)\n* [ ] [`erlang`](https://github.com/wooorm/refractor/blob/main/lang/erlang.js)\n* [ ] [`etlua`](https://github.com/wooorm/refractor/blob/main/lang/etlua.js)\n* [ ] [`excel-formula`](https://github.com/wooorm/refractor/blob/main/lang/excel-formula.js) — alias: `xls`, `xlsx`\n* [ ] [`factor`](https://github.com/wooorm/refractor/blob/main/lang/factor.js)\n* [ ] [`false`](https://github.com/wooorm/refractor/blob/main/lang/false.js)\n* [ ] [`firestore-security-rules`](https://github.com/wooorm/refractor/blob/main/lang/firestore-security-rules.js)\n* [ ] [`flow`](https://github.com/wooorm/refractor/blob/main/lang/flow.js)\n* [ ] [`fortran`](https://github.com/wooorm/refractor/blob/main/lang/fortran.js)\n* [ ] [`fsharp`](https://github.com/wooorm/refractor/blob/main/lang/fsharp.js)\n* [ ] [`ftl`](https://github.com/wooorm/refractor/blob/main/lang/ftl.js)\n* [ ] [`gap`](https://github.com/wooorm/refractor/blob/main/lang/gap.js)\n* [ ] [`gcode`](https://github.com/wooorm/refractor/blob/main/lang/gcode.js)\n* [ ] [`gdscript`](https://github.com/wooorm/refractor/blob/main/lang/gdscript.js)\n* [ ] [`gedcom`](https://github.com/wooorm/refractor/blob/main/lang/gedcom.js)\n* [ ] [`gettext`](https://github.com/wooorm/refractor/blob/main/lang/gettext.js) — alias: `po`\n* [ ] [`gherkin`](https://github.com/wooorm/refractor/blob/main/lang/gherkin.js)\n* [ ] [`git`](https://github.com/wooorm/refractor/blob/main/lang/git.js)\n* [ ] [`glsl`](https://github.com/wooorm/refractor/blob/main/lang/glsl.js)\n* [ ] [`gml`](https://github.com/wooorm/refractor/blob/main/lang/gml.js) — alias: `gamemakerlanguage`\n* [ ] [`gn`](https://github.com/wooorm/refractor/blob/main/lang/gn.js) — alias: `gni`\n* [ ] [`go-module`](https://github.com/wooorm/refractor/blob/main/lang/go-module.js) — alias: `go-mod`\n* [ ] [`gradle`](https://github.com/wooorm/refractor/blob/main/lang/gradle.js)\n* [ ] [`graphql`](https://github.com/wooorm/refractor/blob/main/lang/graphql.js)\n* [ ] [`groovy`](https://github.com/wooorm/refractor/blob/main/lang/groovy.js)\n* [ ] [`haml`](https://github.com/wooorm/refractor/blob/main/lang/haml.js)\n* [ ] [`handlebars`](https://github.com/wooorm/refractor/blob/main/lang/handlebars.js) — alias: `hbs`, `mustache`\n* [ ] [`haskell`](https://github.com/wooorm/refractor/blob/main/lang/haskell.js) — alias: `hs`\n* [ ] [`haxe`](https://github.com/wooorm/refractor/blob/main/lang/haxe.js)\n* [ ] [`hcl`](https://github.com/wooorm/refractor/blob/main/lang/hcl.js)\n* [ ] [`hlsl`](https://github.com/wooorm/refractor/blob/main/lang/hlsl.js)\n* [ ] [`hoon`](https://github.com/wooorm/refractor/blob/main/lang/hoon.js)\n* [ ] [`hpkp`](https://github.com/wooorm/refractor/blob/main/lang/hpkp.js)\n* [ ] [`hsts`](https://github.com/wooorm/refractor/blob/main/lang/hsts.js)\n* [ ] [`http`](https://github.com/wooorm/refractor/blob/main/lang/http.js)\n* [ ] [`ichigojam`](https://github.com/wooorm/refractor/blob/main/lang/ichigojam.js)\n* [ ] [`icon`](https://github.com/wooorm/refractor/blob/main/lang/icon.js)\n* [ ] [`icu-message-format`](https://github.com/wooorm/refractor/blob/main/lang/icu-message-format.js)\n* [ ] [`idris`](https://github.com/wooorm/refractor/blob/main/lang/idris.js) — alias: `idr`\n* [ ] [`iecst`](https://github.com/wooorm/refractor/blob/main/lang/iecst.js)\n* [ ] [`ignore`](https://github.com/wooorm/refractor/blob/main/lang/ignore.js) — alias: `gitignore`, `hgignore`, `npmignore`\n* [ ] [`inform7`](https://github.com/wooorm/refractor/blob/main/lang/inform7.js)\n* [ ] [`io`](https://github.com/wooorm/refractor/blob/main/lang/io.js)\n* [ ] [`j`](https://github.com/wooorm/refractor/blob/main/lang/j.js)\n* [ ] [`javadoc`](https://github.com/wooorm/refractor/blob/main/lang/javadoc.js)\n* [ ] [`javadoclike`](https://github.com/wooorm/refractor/blob/main/lang/javadoclike.js)\n* [ ] [`javastacktrace`](https://github.com/wooorm/refractor/blob/main/lang/javastacktrace.js)\n* [ ] [`jexl`](https://github.com/wooorm/refractor/blob/main/lang/jexl.js)\n* [ ] [`jolie`](https://github.com/wooorm/refractor/blob/main/lang/jolie.js)\n* [ ] [`jq`](https://github.com/wooorm/refractor/blob/main/lang/jq.js)\n* [ ] [`js-extras`](https://github.com/wooorm/refractor/blob/main/lang/js-extras.js)\n* [ ] [`js-templates`](https://github.com/wooorm/refractor/blob/main/lang/js-templates.js)\n* [ ] [`jsdoc`](https://github.com/wooorm/refractor/blob/main/lang/jsdoc.js)\n* [ ] [`json5`](https://github.com/wooorm/refractor/blob/main/lang/json5.js)\n* [ ] [`jsonp`](https://github.com/wooorm/refractor/blob/main/lang/jsonp.js)\n* [ ] [`jsstacktrace`](https://github.com/wooorm/refractor/blob/main/lang/jsstacktrace.js)\n* [ ] [`jsx`](https://github.com/wooorm/refractor/blob/main/lang/jsx.js)\n* [ ] [`julia`](https://github.com/wooorm/refractor/blob/main/lang/julia.js)\n* [ ] [`keepalived`](https://github.com/wooorm/refractor/blob/main/lang/keepalived.js)\n* [ ] [`keyman`](https://github.com/wooorm/refractor/blob/main/lang/keyman.js)\n* [ ] [`kumir`](https://github.com/wooorm/refractor/blob/main/lang/kumir.js) — alias: `kum`\n* [ ] [`kusto`](https://github.com/wooorm/refractor/blob/main/lang/kusto.js)\n* [ ] [`latex`](https://github.com/wooorm/refractor/blob/main/lang/latex.js) — alias: `context`, `tex`\n* [ ] [`latte`](https://github.com/wooorm/refractor/blob/main/lang/latte.js)\n* [ ] [`lilypond`](https://github.com/wooorm/refractor/blob/main/lang/lilypond.js) — alias: `ly`\n* [ ] [`linker-script`](https://github.com/wooorm/refractor/blob/main/lang/linker-script.js) — alias: `ld`\n* [ ] [`liquid`](https://github.com/wooorm/refractor/blob/main/lang/liquid.js)\n* [ ] [`lisp`](https://github.com/wooorm/refractor/blob/main/lang/lisp.js) — alias: `elisp`, `emacs`, `emacs-lisp`\n* [ ] [`livescript`](https://github.com/wooorm/refractor/blob/main/lang/livescript.js)\n* [ ] [`llvm`](https://github.com/wooorm/refractor/blob/main/lang/llvm.js)\n* [ ] [`log`](https://github.com/wooorm/refractor/blob/main/lang/log.js)\n* [ ] [`lolcode`](https://github.com/wooorm/refractor/blob/main/lang/lolcode.js)\n* [ ] [`magma`](https://github.com/wooorm/refractor/blob/main/lang/magma.js)\n* [ ] [`mata`](https://github.com/wooorm/refractor/blob/main/lang/mata.js)\n* [ ] [`matlab`](https://github.com/wooorm/refractor/blob/main/lang/matlab.js)\n* [ ] [`maxscript`](https://github.com/wooorm/refractor/blob/main/lang/maxscript.js)\n* [ ] [`mel`](https://github.com/wooorm/refractor/blob/main/lang/mel.js)\n* [ ] [`mermaid`](https://github.com/wooorm/refractor/blob/main/lang/mermaid.js)\n* [ ] [`metafont`](https://github.com/wooorm/refractor/blob/main/lang/metafont.js)\n* [ ] [`mizar`](https://github.com/wooorm/refractor/blob/main/lang/mizar.js)\n* [ ] [`mongodb`](https://github.com/wooorm/refractor/blob/main/lang/mongodb.js)\n* [ ] [`monkey`](https://github.com/wooorm/refractor/blob/main/lang/monkey.js)\n* [ ] [`moonscript`](https://github.com/wooorm/refractor/blob/main/lang/moonscript.js) — alias: `moon`\n* [ ] [`n1ql`](https://github.com/wooorm/refractor/blob/main/lang/n1ql.js)\n* [ ] [`n4js`](https://github.com/wooorm/refractor/blob/main/lang/n4js.js) — alias: `n4jsd`\n* [ ] [`nand2tetris-hdl`](https://github.com/wooorm/refractor/blob/main/lang/nand2tetris-hdl.js)\n* [ ] [`naniscript`](https://github.com/wooorm/refractor/blob/main/lang/naniscript.js) — alias: `nani`\n* [ ] [`nasm`](https://github.com/wooorm/refractor/blob/main/lang/nasm.js)\n* [ ] [`neon`](https://github.com/wooorm/refractor/blob/main/lang/neon.js)\n* [ ] [`nevod`](https://github.com/wooorm/refractor/blob/main/lang/nevod.js)\n* [ ] [`nginx`](https://github.com/wooorm/refractor/blob/main/lang/nginx.js)\n* [ ] [`nim`](https://github.com/wooorm/refractor/blob/main/lang/nim.js)\n* [ ] [`nix`](https://github.com/wooorm/refractor/blob/main/lang/nix.js)\n* [ ] [`nsis`](https://github.com/wooorm/refractor/blob/main/lang/nsis.js)\n* [ ] [`ocaml`](https://github.com/wooorm/refractor/blob/main/lang/ocaml.js)\n* [ ] [`odin`](https://github.com/wooorm/refractor/blob/main/lang/odin.js)\n* [ ] [`opencl`](https://github.com/wooorm/refractor/blob/main/lang/opencl.js)\n* [ ] [`openqasm`](https://github.com/wooorm/refractor/blob/main/lang/openqasm.js) — alias: `qasm`\n* [ ] [`oz`](https://github.com/wooorm/refractor/blob/main/lang/oz.js)\n* [ ] [`parigp`](https://github.com/wooorm/refractor/blob/main/lang/parigp.js)\n* [ ] [`parser`](https://github.com/wooorm/refractor/blob/main/lang/parser.js)\n* [ ] [`pascal`](https://github.com/wooorm/refractor/blob/main/lang/pascal.js) — alias: `objectpascal`\n* [ ] [`pascaligo`](https://github.com/wooorm/refractor/blob/main/lang/pascaligo.js)\n* [ ] [`pcaxis`](https://github.com/wooorm/refractor/blob/main/lang/pcaxis.js) — alias: `px`\n* [ ] [`peoplecode`](https://github.com/wooorm/refractor/blob/main/lang/peoplecode.js) — alias: `pcode`\n* [ ] [`php-extras`](https://github.com/wooorm/refractor/blob/main/lang/php-extras.js)\n* [ ] [`phpdoc`](https://github.com/wooorm/refractor/blob/main/lang/phpdoc.js)\n* [ ] [`plant-uml`](https://github.com/wooorm/refractor/blob/main/lang/plant-uml.js) — alias: `plantuml`\n* [ ] [`plsql`](https://github.com/wooorm/refractor/blob/main/lang/plsql.js)\n* [ ] [`powerquery`](https://github.com/wooorm/refractor/blob/main/lang/powerquery.js) — alias: `mscript`, `pq`\n* [ ] [`powershell`](https://github.com/wooorm/refractor/blob/main/lang/powershell.js)\n* [ ] [`processing`](https://github.com/wooorm/refractor/blob/main/lang/processing.js)\n* [ ] [`prolog`](https://github.com/wooorm/refractor/blob/main/lang/prolog.js)\n* [ ] [`promql`](https://github.com/wooorm/refractor/blob/main/lang/promql.js)\n* [ ] [`properties`](https://github.com/wooorm/refractor/blob/main/lang/properties.js)\n* [ ] [`protobuf`](https://github.com/wooorm/refractor/blob/main/lang/protobuf.js)\n* [ ] [`psl`](https://github.com/wooorm/refractor/blob/main/lang/psl.js)\n* [ ] [`pug`](https://github.com/wooorm/refractor/blob/main/lang/pug.js)\n* [ ] [`puppet`](https://github.com/wooorm/refractor/blob/main/lang/puppet.js)\n* [ ] [`pure`](https://github.com/wooorm/refractor/blob/main/lang/pure.js)\n* [ ] [`purebasic`](https://github.com/wooorm/refractor/blob/main/lang/purebasic.js) — alias: `pbfasm`\n* [ ] [`purescript`](https://github.com/wooorm/refractor/blob/main/lang/purescript.js) — alias: `purs`\n* [ ] [`q`](https://github.com/wooorm/refractor/blob/main/lang/q.js)\n* [ ] [`qml`](https://github.com/wooorm/refractor/blob/main/lang/qml.js)\n* [ ] [`qore`](https://github.com/wooorm/refractor/blob/main/lang/qore.js)\n* [ ] [`qsharp`](https://github.com/wooorm/refractor/blob/main/lang/qsharp.js) — alias: `qs`\n* [ ] [`racket`](https://github.com/wooorm/refractor/blob/main/lang/racket.js) — alias: `rkt`\n* [ ] [`reason`](https://github.com/wooorm/refractor/blob/main/lang/reason.js)\n* [ ] [`rego`](https://github.com/wooorm/refractor/blob/main/lang/rego.js)\n* [ ] [`renpy`](https://github.com/wooorm/refractor/blob/main/lang/renpy.js) — alias: `rpy`\n* [ ] [`rescript`](https://github.com/wooorm/refractor/blob/main/lang/rescript.js) — alias: `res`\n* [ ] [`rest`](https://github.com/wooorm/refractor/blob/main/lang/rest.js)\n* [ ] [`rip`](https://github.com/wooorm/refractor/blob/main/lang/rip.js)\n* [ ] [`roboconf`](https://github.com/wooorm/refractor/blob/main/lang/roboconf.js)\n* [ ] [`robotframework`](https://github.com/wooorm/refractor/blob/main/lang/robotframework.js) — alias: `robot`\n* [ ] [`sas`](https://github.com/wooorm/refractor/blob/main/lang/sas.js)\n* [ ] [`scala`](https://github.com/wooorm/refractor/blob/main/lang/scala.js)\n* [ ] [`scheme`](https://github.com/wooorm/refractor/blob/main/lang/scheme.js)\n* [ ] [`shell-session`](https://github.com/wooorm/refractor/blob/main/lang/shell-session.js) — alias: `sh-session`, `shellsession`\n* [ ] [`smali`](https://github.com/wooorm/refractor/blob/main/lang/smali.js)\n* [ ] [`smalltalk`](https://github.com/wooorm/refractor/blob/main/lang/smalltalk.js)\n* [ ] [`smarty`](https://github.com/wooorm/refractor/blob/main/lang/smarty.js)\n* [ ] [`sml`](https://github.com/wooorm/refractor/blob/main/lang/sml.js) — alias: `smlnj`\n* [ ] [`solidity`](https://github.com/wooorm/refractor/blob/main/lang/solidity.js) — alias: `sol`\n* [ ] [`solution-file`](https://github.com/wooorm/refractor/blob/main/lang/solution-file.js) — alias: `sln`\n* [ ] [`soy`](https://github.com/wooorm/refractor/blob/main/lang/soy.js)\n* [ ] [`sparql`](https://github.com/wooorm/refractor/blob/main/lang/sparql.js) — alias: `rq`\n* [ ] [`splunk-spl`](https://github.com/wooorm/refractor/blob/main/lang/splunk-spl.js)\n* [ ] [`sqf`](https://github.com/wooorm/refractor/blob/main/lang/sqf.js)\n* [ ] [`squirrel`](https://github.com/wooorm/refractor/blob/main/lang/squirrel.js)\n* [ ] [`stan`](https://github.com/wooorm/refractor/blob/main/lang/stan.js)\n* [ ] [`stata`](https://github.com/wooorm/refractor/blob/main/lang/stata.js)\n* [ ] [`stylus`](https://github.com/wooorm/refractor/blob/main/lang/stylus.js)\n* [ ] [`supercollider`](https://github.com/wooorm/refractor/blob/main/lang/supercollider.js) — alias: `sclang`\n* [ ] [`systemd`](https://github.com/wooorm/refractor/blob/main/lang/systemd.js)\n* [ ] [`t4-cs`](https://github.com/wooorm/refractor/blob/main/lang/t4-cs.js) — alias: `t4`\n* [ ] [`t4-templating`](https://github.com/wooorm/refractor/blob/main/lang/t4-templating.js)\n* [ ] [`t4-vb`](https://github.com/wooorm/refractor/blob/main/lang/t4-vb.js)\n* [ ] [`tap`](https://github.com/wooorm/refractor/blob/main/lang/tap.js)\n* [ ] [`tcl`](https://github.com/wooorm/refractor/blob/main/lang/tcl.js)\n* [ ] [`textile`](https://github.com/wooorm/refractor/blob/main/lang/textile.js)\n* [ ] [`toml`](https://github.com/wooorm/refractor/blob/main/lang/toml.js)\n* [ ] [`tremor`](https://github.com/wooorm/refractor/blob/main/lang/tremor.js) — alias: `trickle`, `troy`\n* [ ] [`tsx`](https://github.com/wooorm/refractor/blob/main/lang/tsx.js)\n* [ ] [`tt2`](https://github.com/wooorm/refractor/blob/main/lang/tt2.js)\n* [ ] [`turtle`](https://github.com/wooorm/refractor/blob/main/lang/turtle.js) — alias: `trig`\n* [ ] [`twig`](https://github.com/wooorm/refractor/blob/main/lang/twig.js)\n* [ ] [`typoscript`](https://github.com/wooorm/refractor/blob/main/lang/typoscript.js) — alias: `tsconfig`\n* [ ] [`unrealscript`](https://github.com/wooorm/refractor/blob/main/lang/unrealscript.js) — alias: `uc`, `uscript`\n* [ ] [`uorazor`](https://github.com/wooorm/refractor/blob/main/lang/uorazor.js)\n* [ ] [`uri`](https://github.com/wooorm/refractor/blob/main/lang/uri.js) — alias: `url`\n* [ ] [`v`](https://github.com/wooorm/refractor/blob/main/lang/v.js)\n* [ ] [`vala`](https://github.com/wooorm/refractor/blob/main/lang/vala.js)\n* [ ] [`velocity`](https://github.com/wooorm/refractor/blob/main/lang/velocity.js)\n* [ ] [`verilog`](https://github.com/wooorm/refractor/blob/main/lang/verilog.js)\n* [ ] [`vhdl`](https://github.com/wooorm/refractor/blob/main/lang/vhdl.js)\n* [ ] [`vim`](https://github.com/wooorm/refractor/blob/main/lang/vim.js)\n* [ ] [`visual-basic`](https://github.com/wooorm/refractor/blob/main/lang/visual-basic.js) — alias: `vb`, `vba`\n* [ ] [`warpscript`](https://github.com/wooorm/refractor/blob/main/lang/warpscript.js)\n* [ ] [`wasm`](https://github.com/wooorm/refractor/blob/main/lang/wasm.js)\n* [ ] [`web-idl`](https://github.com/wooorm/refractor/blob/main/lang/web-idl.js) — alias: `webidl`\n* [ ] [`wgsl`](https://github.com/wooorm/refractor/blob/main/lang/wgsl.js)\n* [ ] [`wiki`](https://github.com/wooorm/refractor/blob/main/lang/wiki.js)\n* [ ] [`wolfram`](https://github.com/wooorm/refractor/blob/main/lang/wolfram.js) — alias: `mathematica`, `nb`, `wl`\n* [ ] [`wren`](https://github.com/wooorm/refractor/blob/main/lang/wren.js)\n* [ ] [`xeora`](https://github.com/wooorm/refractor/blob/main/lang/xeora.js) — alias: `xeoracube`\n* [ ] [`xml-doc`](https://github.com/wooorm/refractor/blob/main/lang/xml-doc.js)\n* [ ] [`xojo`](https://github.com/wooorm/refractor/blob/main/lang/xojo.js)\n* [ ] [`xquery`](https://github.com/wooorm/refractor/blob/main/lang/xquery.js)\n* [ ] [`yang`](https://github.com/wooorm/refractor/blob/main/lang/yang.js)\n* [ ] [`zig`](https://github.com/wooorm/refractor/blob/main/lang/zig.js)\n\n<!--support end-->\n\n## CSS\n\n`refractor` does not inject CSS for the syntax highlighted code.\nIt does not make sense: refractor doesn’t have to be turned into HTML and might\nnot run in a browser!\nIf you are in a browser,\nyou can use any Prism theme.\nFor example,\nto get Prism Dark from [`esm.sh`][esmsh]:\n\n```html\n<link rel=\"stylesheet\" href=\"https://esm.sh/prismjs@1.30.0/themes/prism-dark.css\">\n```\n\n<!--Old name of the following section:-->\n\n<a name=\"plugins\"></a>\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now,\nthat is Node.js 16+.\nIt also works in Deno and modern browsers.\n\nOnly the custom built syntaxes in `refractor/*` will work with\n`refractor` as Prism’s own syntaxes are made to work with global variables and\nare not importable.\n\nrefractor also does not support Prism plugins,\ndue to the same limitations,\nand that they almost exclusively deal with the DOM.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n* [`lowlight`][github-lowlight]\n  — the same as refractor but with [`highlight.js`][github-highlightjs]\n* [`starry-night`][github-starry-night]\n  — similar but like GitHub and really good\n\n## Projects\n\n* [`react-syntax-highlighter`](https://github.com/react-syntax-highlighter/react-syntax-highlighter)\n  — [React][] component for syntax highlighting\n* [`@mapbox/rehype-prism`](https://github.com/mapbox/rehype-prism)\n  — **[rehype][github-rehype]** plugin to highlight code\n  blocks\n* [`react-refractor`](https://github.com/rexxars/react-refractor)\n  — syntax highlighter for [React][]\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][opensource-guide].\n\n## License\n\n[MIT][file-license] © [Titus Wormer][wooorm]\n\n<!-- Definitions -->\n\n[api-syntax]: #syntax\n\n[badge-build-image]: https://github.com/wooorm/refractor/workflows/main/badge.svg\n\n[badge-build-url]: https://github.com/wooorm/refractor/actions\n\n[badge-coverage-image]: https://img.shields.io/codecov/c/github/wooorm/refractor.svg\n\n[badge-coverage-url]: https://codecov.io/github/wooorm/refractor\n\n[badge-downloads-image]: https://img.shields.io/npm/dm/refractor.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/refractor\n\n[badge-size-image]: https://img.shields.io/bundlejs/size/refractor\n\n[badge-size-url]: https://bundlejs.com/?q=refractor\n\n[esmsh]: https://esm.sh\n\n[file-license]: license\n\n[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[github-hast-root]: https://github.com/syntax-tree/hast#root\n\n[github-hast-util-to-html]: https://github.com/syntax-tree/hast-util-to-html\n\n[github-hast-util-to-jsx-runtime]: https://github.com/syntax-tree/hast-util-to-jsx-runtime\n\n[github-highlightjs]: https://github.com/highlightjs/highlight.js\n\n[github-lowlight]: https://github.com/wooorm/lowlight\n\n[github-prism]: https://github.com/PrismJS/prism\n\n[github-rehype]: https://github.com/rehypejs/rehype\n\n[github-starry-night]: https://github.com/wooorm/starry-night\n\n[npmjs-install]: https://docs.npmjs.com/cli/install\n\n[opensource-guide]: https://opensource.guide/how-to-contribute/\n\n[prismjs-languages]: https://prismjs.com/#languages-list\n\n[react]: https://react.dev\n\n[wooorm]: https://wooorm.com\n","_attachments":{},"homepage":"https://github.com/wooorm/refractor#readme","bugs":{"url":"https://github.com/wooorm/refractor/issues"},"license":"MIT"}