Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.
/ prism-electron Public archive

Prism JavaScript highlighter optimized for Electron and Node.js

License

Notifications You must be signed in to change notification settings

astoilkov/prism-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prism-electron

⚠️ 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

Why

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

About

Prism JavaScript highlighter optimized for Electron and Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages