npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

electron-accelerator

v0.0.5

Published

Build, Debug, Package and Release for electron apps. A electron accelerator template

Readme

Electron-accelerator

npm version

Get up and running with a customisable electron build process!

This tool will request some configuration for your new electron project and then:

  • Unpack a template to the current working directory.
  • Apply your custom configuration

The end result is a project scaffold that supports building, debugging and releasing for Windows, Linux and Mac platforms.

Installation

npm i electron-accelerator -g

Usage

Electron accelerator has a handful of commands

electron-accelerator <command> [options]

Commands:
  init            initalise an electron project in a given directory
  setup-squirrel  setup a project for releases with Squirrel
  version         display the version of electron-accelerator

Initalize an Electron project

To initialise an electron project: use the init command in the project directory:

Usage: electron-accelerator init -p [platform] -a [architecture]

Example:
$ mkdir my-sweet-app
$ cd my-sweet-app
$ electron-accelerator init -p all -a x64 --application-name my-sweet-app

Required arguments:

-p, --platform             build for              [choices: "all", "darwin", "win32", "linux"]
-a, --architecture         build as               [choices: "all", "x64", "ia32"]


Optional arguments:

--application-name         the application name         [default: "electron-accelerator"]
--authors-name             application author           [default: "human"]
--application-description  a short description          [default: ""]
--repository-url           a git url                    [default: ""]
--debug                    debug output                 [default: false]

This will:

  • Unpack a template to the current working directory.
  • Apply your custom configuration
  • Write a readme.md to your project. The read me will describe how to build and release your electron app.
  • Your new project will support
    • script/bootstrap - quickly and easily set up everything you need to get started with electron development
    • script/build - create custom builds for your required platforms
    • script/server - quickly run up your electron build to test
    • script/server-debug - quickly run up your electron build with node-inspector debugging

Configure automatic updates

To configure your pre-initalized electron accelerator project for automatic updates via Squirrel, use the setup-squirrel command.

Right now this only supports setting up squirrel releases for windows via s3 (watch this space)

Usage: setup-squirrel windows


Usage: electron-accelerator setup-squirrel windows-s3 -d [directory] -b [bucket] -p [prefix] -u [update-url]

Example: electron-accelerator setup-squirrel windows-s3 -d ./ -b windows-updates -p 'electron' -u http://myapp.com/updates

Required arguments:
  -d, --directory      the directory of a pre-initalized electron-accelerator project [default: "."]
  -b, --bucket-name    the s3 bucket that the windows build will be served from
  -p, --bucket-prefix  the s3 bucket prefix that the windows build will be served from                                                                      
  -u, --update-url     the url to update from

This will write the following entries to your projects config.json

  • s3BucketName The top level bucket for which your app updates will be uploaded to
  • s3PrefixName The prefix where your application will live under the given bucket
  • windowsUpdateUrl The update Url for your application

And add the following helper scripts to get you started releasing your application.

  • script/release - quickly release your electron application to any configured squirrel endpoints.

Related projects and reading

This project stands on the shoulders of giants. It uses the following packages: