Hapi.js Snippets for Visual Studio Code
Hapi.js Snippets for Javascript ES6 in Visual Studio Code


Installation
Type cmd-shift-p /ctrl-shift-p to launch command palette and choose Extensions: Install Extension . Search for Hapi.js Snippets and install.
Usage
Type part of a snippet, press enter or tab
ES6 Snippets
Trigger |
Description |
hpreq |
require hapi |
hpconn |
connection |
hpplugin |
hapi plugin |
hpdecor |
server decorate |
hpext |
server extension |
hphandler |
server handler |
hpinject |
server inject |
hpinit |
server initialize |
hplog |
server log |
hplookup |
server lookup |
hpmatch |
server match |
hpmethod |
server method |
hpstart |
server start |
hpstate |
server state |
hpstop |
server stop |
hproute |
server route |
hpnew |
create new server |
hpreg |
register one plugin |
hpregmulti |
register two plugins |
hpviews |
views |
Contributors
Thanks goes to these wonderful people:
This project follows the all-contributors specification. Contributions of any kind welcome!
| |