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-meteorjs

v0.1.3

Published

Yeoman generator for MeteorJS application and package.

Readme

generator-meteorjs

npm: npm Maintenance npm

Yeoman generator for MeteorJS application and packages. This generator relies on meteor command line in order to generate application and package stubs.

Note: As this project is at development stage, please don't hesitate to use Issues section for any suggestion.

Prerequisites

To install yeoman from npm, run:

$ npm install -g yo

Install

To install generator-meteorjs from npm, run:

$ npm install -g generator-meteorjs

Initiate the generator:

$ yo meteorjs myblog --coffee --packages reader,writer,core

Finally, run Meteor:

$ cd myblog
$ meteor

Features

Application generator (default)

Create a MeteorJS application from scratch based on command line options and answers to prompted questions.

yo meteorjs --help

Arguments:

  • name when specified, generate projet in a new sub-directory named as is.

Options are:

  • --coffee for CoffeeScript language support
  • --verbose to activate debug traces
  • --packages list,of,pkg to create empty packages inside the application
  • --styles <less|fourseven:scss|...> Use a specific styles generator
  • --router Enable FlowRouter support as routing middleware
  • --secure Remove default packages: "insecure" and "autopublish"
  • --help to display all generator options

Some options disable questions related to

Answers to questions are stored for next execution then you won't have my defaults a second time ^^

Generator sub-commands

meteorjs:route

Generates a new route with path registration and associated template.

Argument is route path and you can also specify --template <name> to generate and associate a custom template name.

Template name is auto-generated if not overriden by --template option. e.g.: for path /posts/:postId, a template named posts is generated.

Structure

When this script is called:

yo meteorjs myblog --router --packages reader,writer,core
yo meteorjs:route /posts --template postList

This structure is created ($ tree .):

├── client
│   ├── head.html
│   ├── index.js
│   ├── layout.html
│   ├── myblog.less
│   └── templates
│       ├── postList.html
│       └── postList.js
├── collections.js
├── packages
│   ├── core
│   │   ├── README.md
│   │   ├── core-tests.js
│   │   ├── core.js
│   │   └── package.js
│   ├── reader
│   │   ├── README.md
│   │   ├── package.js
│   │   ├── reader-tests.js
│   │   └── reader.js
│   └── writer
│       ├── README.md
│       ├── package.js
│       ├── writer-tests.js
│       └── writer.js
└── router.js

File contents

User generated packages are, for instance, exactely the same those generated by command meteor create --package <package-name>.

router.js

client/index.js

Contributing

Clone repository:

git clone [email protected]:gghez/generator-meteorjs.git

Tests are located in ./test folder and can be run using command npm test.

When feature added and tested, send your PR.

License

MIT License