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-hapi-style

v8.0.3

Published

Yeoman generator for scaffolding hapi apps and plugins

Downloads

5

Readme

generator-hapi-style

Yeoman generator for scaffolding hapi apps and plugins.

Build Status Dependency Status devDependency Status

Install

$ npm install -g yo
$ npm install -g generator-hapi-style

Usage

App generator (api and web combo)

$ yo hapi-style:app hapi-fan-club
$ cd hapi-fan-club
$ npm install
$ npm update --save
$ npm test
$ npm start

Api generator

$ yo hapi-style:api hapi-fan-serve
$ cd hapi-fan-serve
$ npm install
$ npm update --save
$ npm test
$ npm start

Web generator

$ yo hapi-style:web hapi-fan-site
$ cd hapi-fan-site
$ npm install
$ npm update --save
$ npm test
$ npm start

Plugin generator

$ yo hapi-style:plugin hapi-space-madness
$ cd hapi-space-madness
$ npm install
$ npm update --save
$ npm test

Questions and contributing

Any issues or questions (no matter how basic), open an issue. Please take the initiative to include basic debugging information like operating system and relevant version details such as:

$ npm version

# { 'generator-hapi-style': '5.0.0',
#   npm: '2.14.7',
#   ares: '1.10.1-DEV',
#   http_parser: '2.5.0',
#   icu: '56.1',
#   modules: '46',
#   node: '4.2.2',
#   openssl: '1.0.2d',
#   uv: '1.7.5',
#   v8: '4.5.103.35',
#   zlib: '1.2.8' }

Contributions are welcome. Your code should:

If you're changing something non-trivial, you may want to submit an issue first.

Keep it covered

:+1: All the generators include 100% test coverage.

License

MIT

Don't forget

What you create with generator-hapi-style is more important than generator-hapi-style.