Hapi.js Snippets for Javascript ES6 in Visual Studio Code
Type cmd-shift-p
/ctrl-shift-p
to launch command palette and choose Extensions: Install Extension
. Search for Hapi.js Snippets
and install.
Type part of a snippet, press enter
or tab
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 |
Thanks goes to these wonderful people:
Budi Irawan 💻 |
lakhara 💻 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!