⚠️ This package have been archived in GitHub and deprecated in npm. It will be removed from npm in the future. Please don't use this package. While the problem exists this isn't the most optimal way to solve the problem.
Prism JavaScript highlighter optimized for Electron/Node.js
There is already a prismjs
npm
package. What are the advantages of this package then?
- 🐎
- Prism is 2.1MB and prism-electron is 230KB(the module includes only the core logic and all associated languages, no examples, tests, themes, plugins)
- lazy loading of languages increases start up time by a LOT