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

generator-toomuchng

v1.0.15

Published

An angular generator with gulp and bootstrap

Readme

Too Much Angular!

After writing yet another angular application, I figured it would be best to create a scaffolder fine-tuned to my needs.

What's in the box?

  • Service for auth
  • Service for sessions
  • Starter page
  • Starter Sass files
  • Html templating

Installation

npm install -g gulp yo generator-toomuchng

Usage

Scaffolding

Generation

mkdir my_new_project
cd my_new_project
yo toomuchng

Before running the app for the first time, you will need to create a new package for your project:

npm init

Running Your Shiny, New App

There are prebuilt gulp tasks that are generated for building, testing, and deploying your code.

Running

The build task supports live reload, and file watching for changes - keeping development as streamlined as possible. To build and run on a local server, simply type:

gulp

Testing

Test specs use phantomjs, which will give access to the DOM for assertions. Karma is used for running the specs. See the karma.conf.js file as well as karma documentation for more info. Run tests with:

gulp spec

Deploying

Currently, the only deploy option is to use an AWS bucket, however more alternatives may be added in the future. It is required that you fill in your AWS id, password, and bucket in the gulp_tasks/secrets.js file. To deploy, use:

gulp deploy

Scaffolding Subcomponents

Collection

Collections are objects purposed with holding their model counterparts. When creating a collection, you will also need to specify the model type that it will hold.

yo toomuchng:collection
? Collection name: Users
? Model of collection: User
   create assets/collections/Users.collection.js

Component

A component is a dynamic partial view. Creating a new component will gear you with a new directive file as well as html and sass files.

yo toomuchng:component
? Component name: Navigation
   create assets/components/Navigation.component.js

Directive

For directives that do not need html or css, use this generator! Although this is used less, it pairs very nicely with filters.

yo toomuchng:directive
? Directive name: phone
   create assets/directives/phone.directive.js

Filter

Creates a new filter.

yo toomuchng:filter
? Filter name: phoneFilter
   create assets/filters/phoneFilter.filter.js

Modal

Not to be confused with "Model", modals are used to create a window overlay. This is most commonly used for forms when editing or creating models.

yo toomuchng:modal
? Modal name: User
   create assets/modals/userModal.controller.js
   create assets/modals/userModal.style.sass
   create assets/modals/userModal.template.html

Model

Model objects are used to hold business logic data. Be sure to checkout the collections generator.

yo toomuchng:model
? Model name: User
   create assets/models/User.model.js

Page

Creating a new page generate controller, html and sass files for you. Be sure to update your router file with the correct information.

yo toomuchng:page
? Page name: dashboard
   create assets/pages/dashboard.page.js

Service

Services are great for extraneous logic that you don't want cluttering your page controllers.

yo toomuchng:service
? Service name: urlService
   create assets/services/urlService.service.js

File Tree

A sample file structure:

Contribution

I will try to keep this repo updated with issues. If you're bored, feel free to grab one! Try to keep the styling similar.