This package has been deprecated

Author message:

No further development

hapi-tailor-middleware

1.5.0 • Public • Published

hapi-tailor-middleware

npm version Build Status Build status codecov Standard - JavaScript Style Guide

hapi-tailor-middleware is a tailor-middleware for hapi.js.

Installation

npm

npm i hapi-tailor-middleware --save

yarn

yarn add hapi-tailor-middleware

Usage

server.register([{
  register: require('hapi-tailor-middleware'),
  options: {
    templatesPath: 'templates',
  },
}], (err) => {
  if (err) {
    throw err;
  }

  // ...
});

Options

Contributing

  1. Fork it
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create new Pull Request

License

Copyright (c) 2016-2017 Chris Helgert, Daniel Bayerlein. See License for details.

Readme

Keywords

Package Sidebar

Install

npm i hapi-tailor-middleware

Weekly Downloads

3

Version

1.5.0

License

MIT

Last publish

Collaborators

  • chrishelgert