Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-catalyst

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-catalyst

Package for electron app publishing which drastically decreases bundle size by caching the prerequisites for apps to work. It depends catalyst binary (cenkalti/catalyst).

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by40%
Maintainers
1
Weekly downloads
 
Created
Source

electron-catalyst

Package for electron app publishing which drastically decreases bundle size by caching the prerequisites for apps to work

By using electron-catalyst like in the following example on a https://github.com/atom/electron-quick-start example app

will generate following the TestApp.app is the app bundled with Electron but the other one TestApp-catalyst is bundled with https://github.com/cenkalti/catalyst which dramatically reduces the file size. Once catalysed version is launched by the end-user catalyst will get the files required in generated config above, if it's already downloaded it will re-use that which is the main trick with the catalyst.

And if one of the catalyst bundled app is executed on the user machine before rest will re-use the existing Electron version.

This uses electron-packager for generating the traditional package which means you can use any arguments that electron-packager supports as well.

Whole current implementation has been done in a day at Packathon http://packathon.org/ (Jan 23 '16)

TODO

  • Add linux, win platform support
  • Code cleanup

AUTHORS

  • Gokmen Goksel (@gokmen)
  • Cenk Altı (@cenkalti)

Keywords

FAQs

Package last updated on 23 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc