{"name":"prismjs","version":"1.30.0","description":"Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.","main":"prism.js","style":"themes/prism.css","engines":{"node":">=6"},"scripts":{"benchmark":"node benchmark/benchmark.js","build":"gulp","start":"http-server -c-1","lint":"eslint . --cache","lint:fix":"npm run lint -- --fix","lint:ci":"eslint . --max-warnings 0","regex-coverage":"mocha tests/coverage.js","test:aliases":"mocha tests/aliases-test.js","test:core":"mocha tests/core/**/*.js","test:dependencies":"mocha tests/dependencies-test.js","test:examples":"mocha tests/examples-test.js","test:identifiers":"mocha tests/identifier-test.js","test:languages":"mocha tests/run.js","test:patterns":"mocha tests/pattern-tests.js","test:plugins":"mocha tests/plugins/**/*.js","test:runner":"mocha tests/testrunner-tests.js","test":"npm-run-all test:*","release":"release-it"},"repository":{"type":"git","url":"git+https://github.com/PrismJS/prism.git"},"keywords":["prism","highlight"],"author":{"name":"Lea Verou"},"license":"MIT","devDependencies":{"@types/node-fetch":"^2.5.5","benchmark":"^2.1.4","chai":"^4.2.0","danger":"^10.5.0","del":"^4.1.1","docdash":"^1.2.0","eslint":"^7.22.0","eslint-plugin-jsdoc":"^32.3.0","eslint-plugin-regexp":"^1.6.0","gulp":"^4.0.2","gulp-clean-css":"^4.3.0","gulp-concat":"^2.3.4","gulp-header":"^2.0.7","gulp-jsdoc3":"^3.0.0","gulp-rename":"^1.2.0","gulp-replace":"^1.0.0","gulp-terser":"^2.1.0","gzip-size":"^5.1.1","htmlparser2":"^4.0.0","http-server":"^0.12.3","jsdom":"^16.7.0","mocha":"^9.2.2","node-fetch":"^3.1.1","npm-run-all":"^4.1.5","prettier":"^2.4.1","pump":"^3.0.0","refa":"^0.9.1","regexp-ast-analysis":"^0.2.4","regexpp":"^3.2.0","release-it":"^18.1.2","scslre":"^0.1.6","simple-git":"^3.3.0","webfont":"^9.0.0","yargs":"^13.2.2"},"jspm":{"main":"prism","registry":"jspm","jspmPackage":true,"format":"global","files":["components/**/*.js","plugins/**/*","themes/*.css","prism.js"]},"_id":"prismjs@1.30.0","gitHead":"93cca40b364215210f23a9e35f085a682a2b8175","bugs":{"url":"https://github.com/PrismJS/prism/issues"},"homepage":"https://github.com/PrismJS/prism#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==","shasum":"d9709969d9d4e16403f6f348c63553b19f0975a9","tarball":"http://registry-npm.ywwl.com/prismjs/download/prismjs-1.30.0.tgz","fileCount":700,"unpackedSize":2052735,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFE/fAT6L2rPon2Yie6ieO+q3pSTaihuAsJz6YpSRe5lAiEAulnOPW4LAIKX3NoQ6ez6D9hS/noOU/XhdolEzEfhCB8="}],"size":540286,"noattachment":false,"key":"/prismjs/-/prismjs-1.30.0.tgz"},"_npmUser":{"name":"dmitrysharabin","email":"dmitrysharabin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prismjs_1.30.0_1741629380205_0.48385470390223073"},"_hasShrinkwrap":false,"readme":"# [Prism](https://prismjs.com/)\n\n[![Build Status](https://github.com/PrismJS/prism/workflows/CI/badge.svg)](https://github.com/PrismJS/prism/actions)\n[![npm](https://img.shields.io/npm/dw/prismjs.svg)](https://www.npmjs.com/package/prismjs)\n\nPrism is a lightweight, robust, and elegant syntax highlighting library. It's a spin-off project from [Dabblet](https://dabblet.com/).\n\nYou can learn more on [prismjs.com](https://prismjs.com/).\n\n[Why another syntax highlighter?](https://lea.verou.me/2012/07/introducing-prism-an-awesome-new-syntax-highlighter/#more-1841)\n\n[More themes for Prism!](https://github.com/PrismJS/prism-themes)\n\n## Contribute to Prism!\n\n### **Important Notice**\n\nWe are currently working on [Prism v2](https://github.com/PrismJS/prism/discussions/3531) and will only accept security-relevant PRs for the time being.\n\nOnce work on Prism v2 is sufficiently advanced, we will accept PRs again. This will be announced on our [Discussion](https://github.com/PrismJS/prism/discussions) page and mentioned in the [roadmap discussion](https://github.com/PrismJS/prism/discussions/3531).\n\n<details>\n<summary>Prism v1 contributing notes</summary>\n\nPrism depends on community contributions to expand and cover a wider array of use cases. If you like it, consider giving back by sending a pull request. Here are a few tips:\n\n- Read the [documentation](https://prismjs.com/extending.html). Prism was designed to be extensible.\n- Do not edit `prism.js`, it’s just the version of Prism used by the Prism website and is built automatically. Limit your changes to the unminified files in the `components/` folder. `prism.js` and all minified files are generated by our build system (see below).\n- Use `npm ci` to install Prism's dependencies. Do not use `npm install` because it will cause non-deterministic builds.\n- The build system uses [gulp](https://github.com/gulpjs/gulp) to minify the files and build `prism.js`. With all of Prism's dependencies installed, you just need to run the command `npm run build`.\n- Please follow the code conventions used in the files already. For example, I use [tabs for indentation and spaces for alignment](http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/). Opening braces are on the same line, closing braces on their own line regardless of construct. There is a space before the opening brace. etc etc.\n- Please try to err towards more smaller PRs rather than a few huge PRs. If a PR includes changes that I want to merge and also changes that I don't, handling it becomes difficult.\n- My time is very limited these days, so it might take a long time to review bigger PRs (small ones are usually merged very quickly), especially those modifying the Prism Core. This doesn't mean your PR is rejected.\n- If you contribute a new language definition, you will be responsible for handling bug reports about that language definition.\n- If you [add a new language definition](https://prismjs.com/extending.html#creating-a-new-language-definition) or plugin, you need to add it to `components.json` as well and rebuild Prism by running `npm run build`, so that it becomes available to the download build page. For new languages, please also add a few [tests](https://prismjs.com/test-suite.html) and an example in the `examples/` folder.\n- Go to [prism-themes](https://github.com/PrismJS/prism-themes) if you want to add a new theme.\n\nThank you so much for contributing!!\n\n### Software requirements\n\nPrism will run on [almost any browser](https://prismjs.com/#features-full) and Node.js version but you need the following software to contribute:\n\n- Node.js >= 10.x\n- npm >= 6.x\n\n</details>\n\n## Translations\n\n* [简体中文](https://www.awesomes.cn/repo/PrismJS/prism) (if unavailable, see [here](https://deepmind.t-salon.cc/article/113))\n","publish_time":1741629380460,"maintainers":[{"name":"leaverou","email":"lea@verou.me"},{"name":"rdy","email":"ryan.dy@gmail.com"},{"name":"vinsonchuong","email":"vinsonchuong@gmail.com"},{"name":"gpleiss","email":"gpleiss@gmail.com"},{"name":"jamesdigioia","email":"jamesorodig@gmail.com"},{"name":"golmote","email":"golmote@gmail.com"},{"name":"rundevelopment","email":"mitchi5000.ms@googlemail.com"},{"name":"dmitrysharabin","email":"dmitrysharabin@gmail.com"}],"_cnpm_publish_time":1741629380460,"dist-tags":{"alpha":"2.0.0-alpha.1","latest":"1.30.0"}}