{"_id":"vision","_rev":"305769","name":"vision","description":"Templates rendering plugin support for hapi.js","dist-tags":{"latest":"5.4.4","next":"5.0.0-rc8"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"time":{"modified":"2021-06-03T19:31:12.000Z","created":"2014-09-22T19:11:50.369Z","5.4.4":"2018-12-15T17:58:41.878Z","5.4.3":"2018-11-07T07:38:59.809Z","5.4.2":"2018-11-01T19:33:27.872Z","5.4.1":"2018-11-01T05:56:39.642Z","5.4.0":"2018-08-23T23:46:53.893Z","5.3.3":"2018-06-08T13:26:01.447Z","5.3.2":"2018-03-14T22:32:33.631Z","5.3.1":"2018-01-13T03:51:21.386Z","5.3.0":"2017-12-29T01:21:12.212Z","5.2.0":"2017-11-17T00:51:25.098Z","5.1.0":"2017-11-04T19:58:13.047Z","5.0.0":"2017-11-03T19:48:14.703Z","5.0.0-rc8":"2017-10-18T09:28:13.576Z","5.0.0-rc7":"2017-10-17T18:45:06.729Z","5.0.0-rc5":"2017-10-07T09:32:54.466Z","5.0.0-rc4":"2017-10-06T23:14:45.330Z","4.1.1":"2016-11-29T01:36:22.624Z","4.1.0":"2016-04-04T20:40:17.595Z","4.0.1":"2015-11-09T16:29:50.033Z","4.0.0":"2015-11-04T00:58:30.335Z","3.0.0":"2015-08-16T02:07:17.755Z","2.0.1":"2015-06-21T22:48:35.711Z","2.0.0":"2014-12-09T22:48:12.486Z","1.2.2":"2014-11-18T20:21:42.421Z","1.2.1":"2014-11-10T20:00:02.583Z","1.2.0":"2014-11-04T08:07:47.419Z","1.1.0":"2014-10-08T22:28:13.203Z","1.0.3":"2014-10-08T21:58:09.641Z","1.0.2":"2014-09-22T19:11:50.369Z"},"users":{"gnimuc":true,"jalcine":true,"nukisman":true,"vbv":true,"urbantumbleweed":true,"ezodude":true,"ekmpls":true,"jmsherry":true,"tmurngon":true,"nonemoticoner":true,"kodekracker":true,"ray0214":true,"bholbrook73":true,"williamswoodruff":true,"gurunate":true,"ungurys":true,"redstrike":true},"repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"versions":{"5.4.4":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.4.4","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"scripts":{"test":"lab -a code -t 100 -L -I '__core-js_shared__'","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"6.x.x","items":"2.x.x","joi":"14.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"17.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":"2.x.x","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"a4c143c8fb11ea4619fd6afd4ab1634a39684fbe","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.4.4","_npmVersion":"6.4.1","_nodeVersion":"8.9.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"981b2d811a6061cc14cf2d5d05ad3bbc3ee59572","size":8854,"noattachment":false,"key":"/vision/-/vision-5.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.4.4.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision_5.4.4_1544896721782_0.35712327643708686"},"_hasShrinkwrap":false,"publish_time":1544896721878,"_cnpm_publish_time":1544896721878,"deprecated":"This module has moved and is now available at @hapi/vision. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"5.4.3":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.4.3","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"scripts":{"test":"lab -a code -t 100 -L -I '__core-js_shared__'","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"6.x.x","items":"2.x.x","joi":"14.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"17.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":"2.x.x","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"99b8a9bb98e00bcf3eb3ba7b9adb0bc77cbb261a","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.4.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"648663667f22dc6da17a00c049c2c1a97366d72f","size":8443,"noattachment":false,"key":"/vision/-/vision-5.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.4.3.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision_5.4.3_1541576339707_0.8799728609241038"},"_hasShrinkwrap":false,"publish_time":1541576339809,"_cnpm_publish_time":1541576339809,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.4.2":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.4.2","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.12.0"},"scripts":{"test":"lab -a code -t 100 -L -I '__core-js_shared__'","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"6.x.x","items":"2.x.x","joi":"14.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"17.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":">=2.0.0-rc.4","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"9d400a8b0465eb7ddfe99f1deb1ac88b04597c6a","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.4.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"09bd5821f1abab8c484022c667c06acc898b47e3","size":8476,"noattachment":false,"key":"/vision/-/vision-5.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.4.2.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision_5.4.2_1541100807741_0.525224466111996"},"_hasShrinkwrap":false,"publish_time":1541100807872,"_cnpm_publish_time":1541100807872,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.4.1":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.4.1","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.12.0"},"scripts":{"test":"lab -a code -t 100 -L -I '__core-js_shared__'","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"14.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"17.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":">=2.0.0-rc.4","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"8fc92097c9ab6ffc923e9fbc0f261e829aa919e2","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.4.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"6c7aa70c6b54fffe1b1ba9112bf7d768f665decb","size":8477,"noattachment":false,"key":"/vision/-/vision-5.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.4.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision_5.4.1_1541051799511_0.9063363756664251"},"_hasShrinkwrap":false,"publish_time":1541051799642,"_cnpm_publish_time":1541051799642,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.4.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.4.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"scripts":{"test":"lab -a code -t 100 -L -I '__core-js_shared__'","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"15.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":">=2.0.0-rc.4","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"4b81e55493d400b420a25efede1d6389d788eb1b","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.4.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"fc620deb95227881ea8b8d8a044dc1d1fd40e584","size":8528,"noattachment":false,"key":"/vision/-/vision-5.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.4.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision_5.4.0_1535068013749_0.07139805746947703"},"_hasShrinkwrap":false,"publish_time":1535068013893,"_cnpm_publish_time":1535068013893,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.3.3":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.3.3","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"scripts":{"test":"lab -a code -t 100 -L -I '__core-js_shared__'","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"15.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":">=2.0.0-rc.4","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"444f0b22c92443b2e3444ba50eb8efe08b9b12ef","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.3.3","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"b1c644535f22556206b1d1f68249f5dba74e5675","size":7992,"noattachment":false,"key":"/vision/-/vision-5.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.3.3.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision_5.3.3_1528464361364_0.7344103813651188"},"_hasShrinkwrap":false,"publish_time":1528464361447,"_cnpm_publish_time":1528464361447,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.3.2":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.3.2","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"scripts":{"test":"lab -a code -t 100 -L -I '__core-js_shared__'","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"15.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":">=2.0.0-rc.4","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"2bb897eb76e3a7977475c88ae2bd60eca0041429","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.3.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"dcd244d07703b97ccd0ede18b0ad06eb4322dedb","size":28654,"noattachment":false,"key":"/vision/-/vision-5.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.3.2.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision_5.3.2_1521066753538_0.10454827027663471"},"_hasShrinkwrap":false,"publish_time":1521066753631,"_cnpm_publish_time":1521066753631,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.3.1":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.3.1","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"15.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":">=2.0.0-rc.4","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"d00ff3bec9bcd730387a34a9fcfeb55aea1fea0e","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.3.1","_npmVersion":"5.5.1","_nodeVersion":"8.3.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"43d1efa60eb254c7b257ec0248ade64f3a8836f5","size":28404,"noattachment":false,"key":"/vision/-/vision-5.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.3.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.3.1.tgz_1515815480226_0.35598057275637984"},"directories":{},"publish_time":1515815481386,"_hasShrinkwrap":false,"_cnpm_publish_time":1515815481386,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.3.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.3.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"3.x.x","ejs":"^2.5.5","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"15.x.x","marko":"4.x.x","mustache":"^2.3.x","nunjucks":"3.x.x","pug":">=2.0.0-rc.4","react":"16.x.x","react-dom":"16.x.x","twig":"1.x.x"},"license":"BSD-3-Clause","gitHead":"4d815fe18dec0e25356e93d51623657e14878f2b","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.3.0","_npmVersion":"5.5.1","_nodeVersion":"8.3.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"0758dfcd1b911bfde575e8cd3f5de5171320c691","size":28226,"noattachment":false,"key":"/vision/-/vision-5.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.3.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.3.0.tgz_1514510471169_0.2470113579183817"},"directories":{},"publish_time":1514510472212,"_hasShrinkwrap":false,"_cnpm_publish_time":1514510472212,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.2.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.2.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html","coveralls":"lab -r lcov | coveralls","lint":"lab -L -d"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"^6.26.0","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"^3.0.0","ejs":"2.x.x","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"10.x.x","lab":"15.x.x","marko":"4.x.x","mustache":">=2.2.1","nunjucks":"2.x.0","pug":">=2.0.0-beta6","react":"^16.1.0","react-dom":"^16.0.0"},"license":"BSD-3-Clause","gitHead":"fa3a621fcb98c738ef8a7952a3ccfc36f65462fb","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.3.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"4ad693c91f141c072fb5db3d4c98bf8daf17b570","size":26987,"noattachment":false,"key":"/vision/-/vision-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.2.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.2.0.tgz_1510879883905_0.9942094660364091"},"directories":{},"publish_time":1510879885098,"_cnpm_publish_time":1510879885098,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.1.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.1.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","coveralls":"^3.0.0","ejs":"2.x.x","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"6.x.x","lab":"15.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","pug":">=2.0.0-beta6","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html","coveralls":"lab -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"e9e17c36146142f28383564dfc8aca62d8527bf7","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.3.0","_npmUser":{"name":"williamswoodruff","email":"williamswoodruff@gmail.com"},"dist":{"shasum":"e72ffa54eba5b6545b5aa9b219eebf2a72ed4d53","size":25258,"noattachment":false,"key":"/vision/-/vision-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.1.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.1.0.tgz_1509825491526_0.9534398533869535"},"directories":{},"publish_time":1509825493047,"_hasShrinkwrap":false,"_cnpm_publish_time":1509825493047,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.0.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.0.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.9.0"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","items":"2.x.x","joi":"13.x.x"},"peerDependencies":{"hapi":"17.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"17.x.x","hapi-react-views":"6.x.x","pug":">=2.0.0-beta6","lab":"15.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"59775f70ab0e80a12da3618681883b2ddca6f8ac","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"ae7919f625cdb343c4e418eed72732c0cd068c4a","size":25118,"noattachment":false,"key":"/vision/-/vision-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.0.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.0.0.tgz_1509738494615_0.9744051666930318"},"directories":{},"publish_time":1509738494703,"_hasShrinkwrap":false,"_cnpm_publish_time":1509738494703,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.0.0-rc8":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.0.0-rc8","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.0.0"},"dependencies":{"boom":"6.x.x","hoek":"5.x.x","items":"2.x.x","joi":"11.x.x"},"peerDependencies":{"hapi":"17.0.0-rc8"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"17.0.0-rc8","hapi-react-views":"6.x.x","pug":">=2.0.0-beta6","lab":"14.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"a84eb7bd6df69a30b2b0cbbf1d916b34abe363ee","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.0.0-rc8","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"3a9c749339c53a7dcf99b365e9f47a2e647d541b","size":25544,"noattachment":false,"key":"/vision/-/vision-5.0.0-rc8.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.0.0-rc8.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.0.0-rc8.tgz_1508318893464_0.9454256549943238"},"directories":{},"publish_time":1508318893576,"_cnpm_publish_time":1508318893576,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.0.0-rc7":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.0.0-rc7","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.0.0"},"dependencies":{"boom":"6.x.x","hoek":"5.x.x","items":"2.x.x","joi":"11.x.x"},"peerDependencies":{"hapi":"17.0.0-rc7"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"17.0.0-rc7","hapi-react-views":"6.x.x","pug":">=2.0.0-beta6","lab":"14.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"18894f503c9381db3d90e0d468d388a3ad535ec7","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.0.0-rc7","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"a94a77417bcc1ca75b649c4e1589b6b35eb35a1d","size":25561,"noattachment":false,"key":"/vision/-/vision-5.0.0-rc7.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.0.0-rc7.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.0.0-rc7.tgz_1508265906552_0.8249368763063103"},"directories":{},"publish_time":1508265906729,"_cnpm_publish_time":1508265906729,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.0.0-rc5":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.0.0-rc5","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.0.0"},"dependencies":{"boom":"6.x.x","hoek":"5.x.x","items":"2.x.x","joi":"11.x.x"},"peerDependencies":{"hapi":"17.0.0-rc5"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"^17.0.0-rc5","hapi-react-views":"6.x.x","pug":">=2.0.0-beta6","lab":"14.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"f2b19320ec0575d95d6d2b53477050683d1941b1","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.0.0-rc5","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"a89fd3fa85c5f9261008dd82ab4373565ae0ff15","size":16971,"noattachment":false,"key":"/vision/-/vision-5.0.0-rc5.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.0.0-rc5.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.0.0-rc5.tgz_1507368774382_0.3527948996052146"},"directories":{},"publish_time":1507368774466,"_cnpm_publish_time":1507368774466,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"5.0.0-rc4":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"5.0.0-rc4","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=8.0.0"},"dependencies":{"boom":"6.x.x","hoek":"5.x.x","items":"2.x.x","joi":"11.x.x"},"peerDependencies":{"hapi":">=17.0.0-0"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"5.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"^17.0.0-rc4","hapi-react-views":"6.x.x","pug":">=2.0.0-beta6","lab":"14.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"62c4aec627f448c66090a3462aee1cd16c776086","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@5.0.0-rc4","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"05b1e0cb8ff319896f6ea19b9904665567447864","size":17017,"noattachment":false,"key":"/vision/-/vision-5.0.0-rc4.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-5.0.0-rc4.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vision-5.0.0-rc4.tgz_1507331685139_0.6974662225693464"},"directories":{},"publish_time":1507331685330,"_cnpm_publish_time":1507331685330,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"4.1.1":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"4.1.1","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"4.x.x","hoek":"4.x.x","items":"2.x.x","joi":"10.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"4.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"15.x.x","hapi-react-views":"6.x.x","pug":">=2.0.0-beta6","lab":"11.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"10760955c69b54450adcaaa219ac2f945c38ee3d","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@4.1.1","_shasum":"e1b612b2d2e2f20310a039290fd49d51248f82da","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.0","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"e1b612b2d2e2f20310a039290fd49d51248f82da","size":26433,"noattachment":false,"key":"/vision/-/vision-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-4.1.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vision-4.1.1.tgz_1480383382388_0.2223711737897247"},"directories":{},"publish_time":1480383382624,"_cnpm_publish_time":1480383382624,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"4.1.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"4.1.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x","hoek":"3.x.x","items":"2.x.x","joi":"8.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"2.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"13.x.x","hapi-react-views":"6.x.x","jade":"1.x.x","lab":"10.x.x","marko":"3.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"5747651957134458252750f1bef5a5a12c600276","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@4.1.0","_shasum":"c0c49c9287423cfcf7dbedf51ae6a67b065c6ae7","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"jagoda","email":"jeffrey.jagoda@gmail.com"},"dist":{"shasum":"c0c49c9287423cfcf7dbedf51ae6a67b065c6ae7","size":26351,"noattachment":false,"key":"/vision/-/vision-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-4.1.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vision-4.1.0.tgz_1459802415218_0.9084511322434992"},"directories":{},"publish_time":1459802417595,"_cnpm_publish_time":1459802417595,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"4.0.1":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"4.0.1","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x","hoek":"3.x.x","items":"2.x.x","joi":"7.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"2.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"11.x.x","hapi-react-views":"5.x.x","jade":"1.x.x","lab":"7.x.x","marko":"2.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x","react-dom":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"0454c65ebdec4e5c6325a6f71bd184ddee0bd016","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@4.0.1","_shasum":"e03998e99a74a3625b48312d73ee7ce09d5429e1","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"jagoda","email":"jeffrey.jagoda@gmail.com"},"dist":{"shasum":"e03998e99a74a3625b48312d73ee7ce09d5429e1","size":24149,"noattachment":false,"key":"/vision/-/vision-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-4.0.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"publish_time":1447086590033,"_cnpm_publish_time":1447086590033,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"4.0.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"4.0.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x","hoek":"3.x.x","items":"2.x.x","joi":"6.x.x"},"devDependencies":{"babel-core":"6.x.x","babel-plugin-transform-react-jsx":"6.x.x","code":"2.x.x","ejs":"2.x.x","handlebars":"4.x.x","hapi":"11.x.x","hapi-react-views":"4.x.x","jade":"1.x.x","lab":"7.x.x","marko":"2.x.x","mustache":"2.x.x","nunjucks":"2.x.0","react":"0.14.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"bda33fcf137f4a113f8a4cdad65c977093069517","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@4.0.0","_shasum":"b23839d0c400115281be4a43b79f64fedef57164","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.0","_npmUser":{"name":"jagoda","email":"jeffrey.jagoda@gmail.com"},"dist":{"shasum":"b23839d0c400115281be4a43b79f64fedef57164","size":24068,"noattachment":false,"key":"/vision/-/vision-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-4.0.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"publish_time":1446598710335,"_cnpm_publish_time":1446598710335,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"3.0.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"3.0.0","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"lib/index.js","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"^2.9.x","items":"^1.1.x","joi":"6.x.x"},"devDependencies":{"code":"1.x.x","ejs":"2.x.x","handlebars":"3.x.x","hapi":"9.x.x","jade":"1.x.x","lab":"5.x.x","mustache":"2.x.x","nunjucks":"1.x.x","hapi-react-views":"3.x.x","react":"0.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"8928168a4b8d69bbea85693ac872f8b1a32cd849","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@3.0.0","_shasum":"1845846f6c23a6f2535daf30a1e1e71d0ba48c62","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"jagoda","email":"jeffrey.jagoda@gmail.com"},"dist":{"shasum":"1845846f6c23a6f2535daf30a1e1e71d0ba48c62","size":22963,"noattachment":false,"key":"/vision/-/vision-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-3.0.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"publish_time":1439690837755,"_cnpm_publish_time":1439690837755,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"2.0.1":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"2.0.1","repository":{"type":"git","url":"git://github.com/hapijs/vision.git"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"^2.9.x","items":"^1.1.x","joi":"6.x.x"},"devDependencies":{"code":"1.x.x","hapi":"8.x.x","lab":"5.x.x","handlebars":"3.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"e04443d3343420068ee15b41c22c73deff12ba7d","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision#readme","_id":"vision@2.0.1","_shasum":"d012255ba6ee426d0696a34e1df332fec55e673c","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.38","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"d012255ba6ee426d0696a34e1df332fec55e673c","size":15970,"noattachment":false,"key":"/vision/-/vision-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-2.0.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"publish_time":1434926915711,"_cnpm_publish_time":1434926915711,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"2.0.0":{"name":"vision","description":"Templates rendering plugin support for hapi.js","version":"2.0.0","repository":{"type":"git","url":"git://github.com/hapijs/vision"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"^2.9.x","items":"^1.1.x","joi":"5.x.x"},"devDependencies":{"code":"1.x.x","hapi":"8.x.x","lab":"5.x.x","handlebars":"2.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"a11f0208243457bb231b66b1de6601bac9b87689","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision","_id":"vision@2.0.0","_shasum":"c174c5a4f4c219f1cc2f4f27222a5d84bece1e13","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"c174c5a4f4c219f1cc2f4f27222a5d84bece1e13","size":15950,"noattachment":false,"key":"/vision/-/vision-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-2.0.0.tgz"},"directories":{},"publish_time":1418165292486,"_cnpm_publish_time":1418165292486,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"1.2.2":{"name":"vision","description":"Templates rendering support for hapi.js","version":"1.2.2","repository":{"type":"git","url":"git://github.com/hapijs/vision"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"^2.9.x","joi":"^4.7.x"},"devDependencies":{"code":"1.x.x","hapi":"^7.2.x","lab":"5.x.x","handlebars":"2.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"839559c9fb8a1391d6f170bcf4d7041ee7750ba4","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision","_id":"vision@1.2.2","_shasum":"de528f3c8360c88243d77f83db6dbc613aec5161","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"de528f3c8360c88243d77f83db6dbc613aec5161","size":13748,"noattachment":false,"key":"/vision/-/vision-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-1.2.2.tgz"},"directories":{},"publish_time":1416342102421,"_cnpm_publish_time":1416342102421,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"1.2.1":{"name":"vision","description":"Templates rendering support for hapi.js","version":"1.2.1","repository":{"type":"git","url":"git://github.com/hapijs/vision"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"^2.9.x","joi":"^4.7.x"},"devDependencies":{"code":"1.x.x","hapi":"^7.2.x","lab":"5.x.x","handlebars":"2.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"f2a7710e0fb9aca104bf788ad20d1b573135b41a","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision","_id":"vision@1.2.1","_shasum":"6db388684e0a43759d35e68607fed73735fec588","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"6db388684e0a43759d35e68607fed73735fec588","size":13712,"noattachment":false,"key":"/vision/-/vision-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-1.2.1.tgz"},"directories":{},"publish_time":1415649602583,"_cnpm_publish_time":1415649602583,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"1.2.0":{"name":"vision","description":"Templates rendering support for hapi.js","version":"1.2.0","repository":{"type":"git","url":"git://github.com/hapijs/vision"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.7.x"},"devDependencies":{"code":"1.x.x","hapi":"^7.2.x","lab":"5.x.x","handlebars":"2.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"00590c417004d2f3d9340dbd0505ee0c7a41ffd0","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision","_id":"vision@1.2.0","_shasum":"369881c1e59befb7c5a6e249acde9ea12ae2af6f","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"369881c1e59befb7c5a6e249acde9ea12ae2af6f","size":13685,"noattachment":false,"key":"/vision/-/vision-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-1.2.0.tgz"},"directories":{},"publish_time":1415088467419,"_cnpm_publish_time":1415088467419,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"1.1.0":{"name":"vision","description":"Templates rendering support for hapi.js","version":"1.1.0","repository":{"type":"git","url":"git://github.com/hapijs/vision"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.7.x"},"devDependencies":{"hapi":"6.x.x","lab":"4.x.x","handlebars":"2.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"14e327261021adc9550e431aa270f12ad58c58c4","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision","_id":"vision@1.1.0","_shasum":"eeb8ea869573e9f5ec7aa110c13d14e4d82f6c90","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"eeb8ea869573e9f5ec7aa110c13d14e4d82f6c90","size":13267,"noattachment":false,"key":"/vision/-/vision-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-1.1.0.tgz"},"directories":{},"publish_time":1412807293203,"_cnpm_publish_time":1412807293203,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"1.0.3":{"name":"vision","description":"Templates rendering support for hapi.js","version":"1.0.3","repository":{"type":"git","url":"git://github.com/hapijs/vision"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.7.x"},"devDependencies":{"hapi":"6.x.x","lab":"4.x.x","handlebars":"2.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"aec17c3ef3f87a3d5feaa43c660399151990490d","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision","_id":"vision@1.0.3","_shasum":"1dddbbba87a85a29894dd511143bc76268a296d8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"1dddbbba87a85a29894dd511143bc76268a296d8","size":13019,"noattachment":false,"key":"/vision/-/vision-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-1.0.3.tgz"},"directories":{},"publish_time":1412805489641,"_cnpm_publish_time":1412805489641,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."},"1.0.2":{"name":"vision","description":"Templates rendering support for hapi.js","version":"1.0.2","repository":{"type":"git","url":"git://github.com/hapijs/vision"},"main":"index","keywords":["view","render","template","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.7.x"},"devDependencies":{"hapi":"6.x.x","lab":"4.x.x","handlebars":"2.x.x","jade":"1.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/vision/raw/master/LICENSE"}],"gitHead":"ca58042f9d330c017f88b47e38c4d32e771ed232","bugs":{"url":"https://github.com/hapijs/vision/issues"},"homepage":"https://github.com/hapijs/vision","_id":"vision@1.0.2","_shasum":"3f39a4aa6ab5de5a7ab64628367f77433375fc4c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"3f39a4aa6ab5de5a7ab64628367f77433375fc4c","size":9580,"noattachment":false,"key":"/vision/-/vision-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/vision/download/vision-1.0.2.tgz"},"directories":{},"publish_time":1411413110369,"_cnpm_publish_time":1411413110369,"_hasShrinkwrap":false,"deprecated":"This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial)."}},"readme":"# vision\n\nTemplates rendering plugin support for hapi.js.\n\n[![Build Status](https://travis-ci.org/hapijs/vision.svg)](http://travis-ci.org/hapijs/vision) [![Coverage Status](https://coveralls.io/repos/github/hapijs/vision/badge.svg?branch=master)](https://coveralls.io/github/hapijs/vision?branch=master)\n\nLead Maintainer - [William Woodruff](https://github.com/wswoodruff)\n\n**vision** decorates the [server](https://github.com/hapijs/hapi/blob/master/API.md#server),\n[request](https://github.com/hapijs/hapi/blob/master/API.md#request), and\n`h` response [toolkit](https://github.com/hapijs/hapi/blob/master/API.md#response-toolkit) interfaces with additional\nmethods for managing view engines that can be used to render templated responses.\n\n**vision** also provides a built-in [handler](https://github.com/hapijs/hapi/blob/master/API.md#-serverdecoratetype-property-method-options) implementation for creating templated responses.\n\n## Usage\n> See also the [API Reference](./API.md)\n\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst provision = async () => {\n\n    await server.register(Vision);\n    await server.start();\n\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n\n### Note:\n- Vision `5.x.x` requires hapi `17.x.x`. For use with hapi `16.x.x`, use vision `4.x.x`.\n- Vision is included with and loaded by default in Hapi < `9.0`.\n\n\n## Examples\n\nThe examples in the `examples` folder can be run with `node`.\n```\ngit clone https://github.com/hapijs/vision.git && cd vision\nnpm install\n\nnode examples/handlebars\n```\n\n:point_up: That command will run the handlebars basic template.\nThere are three more examples in there: for helpers, layout, and partials.\n\nUse this hierarchy to know which commands to run, e.g.\n```\nnode examples/mustache\nnode examples/mustache/partials\nnode examples/jsx\n```\n\n```\n- cms // A bare-bones Content Management System with a WYSIWYG editor\n- ejs\n  - layout\n- handlebars\n  - helpers\n  - layout\n  - partials\n- jsx // React server-side rendering with `hapi-react-views`\n- marko\n- mixed // Using multiple render engines (handlebars and pug)\n- mustache\n  - layout\n  - partials\n- nunjucks\n- pug\n- twig\n```\n\n**vision** is compatible with most major templating engines out of the box. Engines that don't follow\nthe normal API pattern can still be used by mapping their API to the [**vision** API](./API.md). Some of the examples below use the `compile` and `prepare` methods which are part of the API.\n\n### EJS\n\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\nconst Ejs = require('ejs');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst rootHandler = (request, h) => {\n\n    return h.view('index', {\n        title: 'examples/ejs/templates/basic | Hapi ' + request.server.version,\n        message: 'Hello Ejs!'\n    });\n};\n\nconst provision = async () => {\n\n    await server.register(Vision);\n\n    server.views({\n        engines: { ejs: Ejs },\n        relativeTo: __dirname,\n        path: 'examples/ejs/templates/basic'\n    });\n\n    server.route({ method: 'GET', path: '/', handler: rootHandler });\n\n    await server.start();\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n\n### Handlebars\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\nconst Handlebars = require('handlebars');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst rootHandler = (request, h) => {\n\n    return h.view('index', {\n        title: 'examples/handlebars/templates/basic | Hapi ' + request.server.version,\n        message: 'Hello Handlebars!'\n    });\n};\n\nconst provision = async () => {\n\n    await server.register(Vision);\n\n    server.views({\n        engines: { html: Handlebars },\n        relativeTo: __dirname,\n        path: 'examples/handlebars/templates/basic'\n    });\n\n    server.route({ method: 'GET', path: '/', handler: rootHandler });\n\n    await server.start();\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n\n### Pug\n\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\nconst Pug = require('pug');\nconst Path = require('path');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst rootHandler = (request, h) => {\n\n    return h.view('index', {\n        title: 'examples/pug/templates | Hapi ' + request.server.version,\n        message: 'Hello Pug!'\n    });\n};\n\nconst provision = async () => {\n\n    await server.register(Vision);\n\n    server.views({\n        engines: { pug: Pug },\n        relativeTo: __dirname,\n        path: 'examples/pug/templates',\n        compileOptions: {\n            // By default Pug uses relative paths (e.g. ../root.pug), when using absolute paths (e.g. include /root.pug), basedir is prepended.\n            // https://pugjs.org/language/includes.html\n            basedir: Path.join(__dirname, 'examples/pug/templates')\n        }\n    });\n\n    server.route({ method: 'GET', path: '/', handler: rootHandler });\n\n    await server.start();\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n\n### Marko\n\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\nconst Marko = require('marko');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst rootHandler = (request, h) => {\n\n    return h.view('index', {\n        title: 'examples/marko/templates | Hapi ' + request.server.version,\n        message: 'Hello Marko!'\n    });\n};\n\nconst provision = async () => {\n\n    await server.register(Vision);\n\n    server.views({\n        engines: {\n            marko: {\n                compile: (src, options) => {\n\n                    const opts = { preserveWhitespace: true, writeToDisk: false };\n\n                    const template = Marko.load(options.filename, opts);\n\n                    return (context) => {\n\n                        return template.renderToString(context);\n                    };\n                }\n            }\n        },\n        relativeTo: __dirname,\n        path: 'examples/marko/templates'\n    });\n\n    server.route({ method: 'GET', path: '/', handler: rootHandler });\n\n    await server.start();\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n\n### Mustache\n\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\nconst Mustache = require('mustache');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst rootHandler = (request, h) => {\n\n    return h.view('index', {\n        title: 'examples/mustache/templates/basic | Hapi ' + request.server.version,\n        message: 'Hello Mustache!'\n    });\n};\n\nconst provision = async () => {\n\n    await server.register(Vision);\n\n    server.views({\n        engines: {\n            html: {\n                compile: (template) => {\n\n                    Mustache.parse(template);\n\n                    return (context) => {\n\n                        return Mustache.render(template, context);\n                    };\n                }\n            }\n        },\n        relativeTo: __dirname,\n        path: 'examples/mustache/templates/basic'\n    });\n\n    server.route({ method: 'GET', path: '/', handler: rootHandler });\n\n    await server.start();\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n\n### Nunjucks\n\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\nconst Nunjucks = require('nunjucks');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst rootHandler = (request, h) => {\n\n    return h.view('index', {\n        title: 'examples/nunjucks/templates | Hapi ' + request.server.version,\n        message: 'Hello Nunjucks!'\n    });\n};\n\nconst provision = async () => {\n\n    await server.register(Vision);\n\n    server.views({\n        engines: {\n            html: {\n                compile: (src, options) => {\n\n                    const template = Nunjucks.compile(src, options.environment);\n\n                    return (context) => {\n\n                        return template.render(context);\n                    };\n                },\n\n                prepare: (options, next) => {\n\n                    options.compileOptions.environment = Nunjucks.configure(options.path, { watch : false });\n\n                    return next();\n                }\n            }\n        },\n        relativeTo: __dirname,\n        path: 'examples/nunjucks/templates'\n    });\n\n    server.route({ method: 'GET', path: '/', handler: rootHandler });\n\n    await server.start();\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n\n### Twig\n\n```js\nconst Hapi = require('hapi');\nconst Vision = require('vision');\nconst Twig = require('twig');\n\nconst server = Hapi.Server({ port: 3000 });\n\nconst rootHandler = (request, h) => {\n\n    return h.view('index', {\n        title: 'examples/twig/templates | Hapi ' + request.server.version,\n        message: 'Hello Twig!'\n    });\n};\n\nconst provision = async () => {\n\n    await server.register(Vision);\n\n    server.views({\n        engines: {\n            twig: {\n                compile: (src, options) => {\n\n                    const template = Twig.twig({ id: options.filename, data: src });\n\n                    return (context) => {\n\n                        return template.render(context);\n                    };\n                }\n            }\n        },\n        relativeTo: __dirname,\n        path: 'examples/twig/templates'\n    });\n\n    server.route({ method: 'GET', path: '/', handler: rootHandler });\n\n    await server.start();\n    console.log('Server running at:', server.info.uri);\n};\n\nprovision();\n```\n","_attachments":{},"homepage":"https://github.com/hapijs/vision#readme","bugs":{"url":"https://github.com/hapijs/vision/issues"},"license":"BSD-3-Clause"}