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

generator-comang

v0.0.5

Published

Yeoman generator for creating an AngularJS (v1.2.0-rc.2) modules project

Downloads

11

Readme

generator-comang

================

A yeoman generator for creating an AngularJS (v1.2.0-rc.2) modules project.

Based on the booang generator, the MEAN stack generator by W. Lepinski and the Angular generator for the sub-generators.

Getting started

  • Make sure you have yo installed on the latest version. npm install -g yo
  • Install the generator: npm install -g generator-comang
  • Run: yo comang on your new folder app

After that follow the steps below.

  1. Use the command grunt server to start the tester application with built-in preview server with LiveReload on Chrome.
  • Modules generated by the sub-generators are copied to ./main/tester_app/js/ immediately on edition by the LiveReload for development purposes. Note: Do not edit directly your modules on the tester application or your changes will be lost.
  1. Use the command grunt test for launching unit tests with Karma and linting with jshint.
  • For test debugging use grunt test:debug.
  1. Use the command grunt build to generate a concatenated file of all your angular modules (in the future I will include a min.js file also).

Tester App

Sets up a new Expressjs, AngularJS and Node.js stack, generating all the boilerplate you need to get started developing modules for angular. The project generator also optionally installs Twitter Bootstrap and JQuery.

Generators

Available generators:

  • comang
  • comang:controller [module name]
  • comang:directive [module name]
  • comang:filter [module name]
  • comang:service [module name]
  • comang:provider [module name]
  • comang:factory [module name]
  • comang:value [module name]
  • comang:constant [module name]
  • comang:decorator [module name]

Note: Generators are to be run from the root directory of your app.

Sub-generators generate files under ./main/modules/, and correspondent test files under ./test/spec/ and add the new dependency to the ./main/tester_app/index.html file for starting right away writing your code.

Bower Components

The following packages are always installed by the project generator:

  • angular
  • angular-mocks
  • angular-scenario
  • angular-animate
  • angular-route
  • angular-cookies
  • angular-loader
  • angular-resource
  • angular-sanitize
  • angular-touch
  • es5-shim
  • json3

Bower is set to install packages on ./main/tester_app/libs/

License

MIT License