Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-hapijs

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-hapijs

Yeoman generator for creating hapijs modules

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

generator-hapi Build Status Code Climate

Yeoman generator for scaffolding Hapijs modules

Getting Started

Installation

To install generator-hapi from npm, run:

$ npm install -g generator-hapijs

Generated Directory Structure

This hapijs generator assumes that you want your project structure to look like this:

-project
--module
---module-ctrl.js
---module-dao.js
---module-routes.js
---module-test.js

Usage

Main

Scaffolds out a hapijs project.

$ yo hapijs  
Module

Scaffolds out a module to an existing hapijs project

$ yo hapijs:module foo  
Endpoint

Scaffolds out a new endpoint for an existing module

$ yo hapijs:endpoint  

Contributing

To run tests:

npm test

To install your local version of this package rather than the NPM published version:

npm link

Keywords

FAQs

Package last updated on 11 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc