{"library":"babel-plugin-prismjs","type":"library","category":null,"description":"A Babel plugin that transforms ES6 imports of PrismJS to include only specified languages, plugins, and themes, enabling tree-shaking and reduced bundle sizes for syntax highlighting. Version 2.1.0 is current, with stable release cadence. Requires Babel and PrismJS v1.18+. Key differentiator: automatically configures Prism for bundlers like Webpack without manual setup. Caveats: only works with ES6 import syntax, not CommonJS (require).","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","prismjs","syntax-highlighting","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-prismjs","imports":["import Prism from 'prismjs'","import { Prism } from 'prismjs'"]},{"cmd":"yarn add babel-plugin-prismjs","imports":[]},{"cmd":"pnpm add babel-plugin-prismjs","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-prismjs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-prismjs/compatibility"}}