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 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-seth

v2.0.0

Published

Set up new Node.js projects

Downloads

6

Readme

generator-seth Build status for generator-seth

Set up new Node.js projects

This Yeoman generator is here to help you scaffold your new app or library.

Why?

  • Repeatable, dependable project set up.
  • Carefully validates input without being annoying.
  • Checks whether the project name is available on npm.
  • Creates a repository on GitHub.
  • Configures CI and runs tests on every commit.
  • Sets a description on the repository, locally and remotely.
  • Auto-detects whether files should be put in a new directory.

Install

npm install yo generator-seth --global

Usage

Create your new project with yo.

yo seth

You can tweak the behavior with command line options.

$ yo seth --help

  Usage:
    yo seth [options]

  Options:
    --help          # Print the generator's options and usage
    --skip-cache    # Do not remember prompt answers             Default: false
    --skip-install  # Do not automatically install dependencies  Default: false

You will be prompted for any required info not passed on the command line.

Option

cli

Type: boolean Default: false

Whether to generate a cli.js and configure package.json as appropriate for a command line app.

username

Type: string Example: sholladay

The author's handle / account name.

fullName

Type: string Example: Seth Holladay

The author's full legal name.

email

Type: string

An email address to contact the author.

website

Type: string

A URL for the author. Used in package.json and README.md.

createRemote

Type: boolean Default: false

Whether to create a remote repository on GitHub. The remote is automatically configured as origin, its wiki is turned off, and its description is set for you.

accessToken

Type: string

A personal access token used to communicate with the GitHub API for creating a repository when createRemote is true.

Don't Repeat Yourself

To reduce typing to a minimum, you should set up an alias in your dotfiles that provides common values for you on the command line.

alias seth='yo seth --username="$(id -un)" --full-name="$(id -F)" --email='\''[email protected]'\'' --website='\''https://seth-holladay.com'\'' --access-token='\''<my-access-token>'\';

Now instead of invoking the generator as yo seth, you can use just seth and your favorite options will be applied.

Contributing

See our contributing guidelines for more details.

  1. Fork it.
  2. Make a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

MPL-2.0 © Seth Holladay

Go make something, dang it.