How to use the loadPackage function from hoek
Find comprehensive JavaScript hoek.loadPackage code examples handpicked from public code repositorys.
GitHub: tsilvia/hapi

222 223 224 225 226 227 228 229 230 231
version: '/version', plugins: '/plugins' } }; internals.version = Hoek.loadPackage().version; exports.register = function (plugin, options, next) { var settings = Hoek.applyToDefaults(internals.defaults, options);
hoek.assert is the most popular function in hoek (1712 examples)