Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 552 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 552 Bytes

hapiify

Converts Hapi routes into Express compatible routes

This is a transform for the Taunus command-line interface, compiling Hapi routes into ruta3 compatible routes.

Install

npm install hapiify --save

Use

Simply supplying taunus with this package, as shown below, will yield client-side Taunus compatible routes based on your Hapi server-side routes.

taunus -t hapiify

Disclaimer: the {name*2} syntax is silly and it's not supported.

License

MIT