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 🙏

© 2025 – Pkg Stats / Ryan Hefner

suddenly

v1.28.1

Published

The tools that power Suddenly apps

Readme

Suddenly

CircleCI

A bunch of tools to help with Suddenly apps.

To generate a new Suddenly app, check out: suddenly-cli

Usage

Builder

Sets up Webpack with some common settings.

  • clean (config) - Cleans the build directory.
  • build (config, args) - Builds a project. Pass 'hot' as an arg to build with Webpack Dev Server.
  • run (config, args) - Runs a Webpack Dev Server with the latest build (alongside a Hapi server).
  • buildAndRun (config) - Compiles a hot reload build and then runs run()

Database

Handles database migrations.

  • migration (config, args) - Generates a migration named from args[0].
  • model (config, args) - Generates a model and model migration named from args[0]. Pass 'no-migration' to skip the migration. Pass 'no-model' to only generate the model.
  • migrate (config) - Runs any pending migrations
  • rollback (config) - Rolls back the latest batch of migrations
  • version (config) - Gets the schema version
  • schema (config, args) - Gets information about the current schema. Pass a table name at args[0] to get just that table's schema.

Generate

Generates bootstrap files for the project.

  • routes (config, args) - Generates a routes file and tests named from args[0]. Pass 'no-tests' to skip creating tests.
  • resource (config, args) - Generates a resources file named from args[0]
  • notification (config, args) - Generates a notification email template and notification method named from args[0]
  • actions (config, args)- Generates an actions file and tests named from args[0]. Pass 'no-tests' to skip creating tests.
  • reducer (config, args) - Generates a reducer file and tests named from args[0]. Pass 'no-tests' to skip creating tests.
  • redux (config, args) - Shortcut for generating an actions and a reducer at the same time.
  • component (config, args) - Generates a React component and tests named from args[0]. Pass 'no-tests' to skip creating tests. Pass 'connected' to generate a Redux connected component. Pass no-style to skip generating a stylesheet. Pass with-provider to include a provider setup in the tests.
  • style (config, args) - Generates a stylesheet.

Mailer

  • create (config) - Creates a Mailer proxy for sending emails
    • mailer.* (to, subject, locals, callback) - Call mailer.send() with the method name as the template.
    • mailer.send (to, subject, template, locals, callback) - Sends an email
    • mailer.render (filename, locals) - Render an email template

Server

  • routes (server, config) - Attaches routes found in <APP_ROOT>/app/server/routes to the server
  • run (config, args) - Runs the server.

Testing

Create a database called suddenly_test and then run npm test