All Projects → rjmreis → Plugo

rjmreis / Plugo

Licence: mit
Dynamically expose modules to hapi plugins

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Plugo

hapi-sentry
A hapi plugin for request error logging to Sentry
Stars: ✭ 24 (+380%)
Mutual labels:  hapi
hapi-dev-errors
A hapi plugin to return better error details and skip the look at command line to catch the issue.
Stars: ✭ 58 (+1060%)
Mutual labels:  hapi
Takeoff
A rapid development environment using docker for convenience.
Stars: ✭ 271 (+5320%)
Mutual labels:  hapi
exiting
Safely shutdown http://hapijs.com servers.
Stars: ✭ 23 (+360%)
Mutual labels:  hapi
hapi-imagemin-proxy
Hapi proxy for serving optimized images
Stars: ✭ 30 (+500%)
Mutual labels:  hapi
graphql-tutorial
Tutorial for GraphQL
Stars: ✭ 24 (+380%)
Mutual labels:  hapi
steerage
Hapi server configuration and composition using confidence, topo, and shortstop.
Stars: ✭ 15 (+200%)
Mutual labels:  hapi
Vudash
Powerful, Flexible, Open Source dashboards for anything
Stars: ✭ 363 (+7160%)
Mutual labels:  hapi
hapi-acl-auth
Authentication provider agnostic authorization plugin for HapiJS
Stars: ✭ 22 (+340%)
Mutual labels:  hapi
good-influx
InfluxDB broadcasting for Good process monitor
Stars: ✭ 15 (+200%)
Mutual labels:  hapi
hapi-sequelizejs
A hapi.js plugin to connect with Sequelize ORM
Stars: ✭ 56 (+1020%)
Mutual labels:  hapi
joi-to-typescript
Convert Joi Schemas to TypeScript interfaces
Stars: ✭ 73 (+1360%)
Mutual labels:  hapi
disinfect
Request query, payload, and params sanitization for Hapi
Stars: ✭ 20 (+300%)
Mutual labels:  hapi
Crashlyzer
Crash viewer web application for displaying the crashes reported by rn-crash-reporter components from React Native mobile applications.
Stars: ✭ 59 (+1080%)
Mutual labels:  hapi
Grant
OAuth Proxy
Stars: ✭ 3,509 (+70080%)
Mutual labels:  hapi
hapi-decorators
Decorators for HapiJS routes
Stars: ✭ 65 (+1200%)
Mutual labels:  hapi
hapi-cron
🕰️ Cron jobs for internal hapi.js routes
Stars: ✭ 41 (+720%)
Mutual labels:  hapi
Frame
💡 A user system API starter
Stars: ✭ 741 (+14720%)
Mutual labels:  hapi
Joi
The most powerful data validation library for JS
Stars: ✭ 17,989 (+359680%)
Mutual labels:  hapi
shariff-backend-node
Node.js (hapi) backend for Shariff. Shariff enables website users to share their favorite content without compromising their privacy.
Stars: ✭ 17 (+240%)
Mutual labels:  hapi

npm Build Status

plugo

Dynamically expose modules to hapi plugins from a given path.

Usage

const Plugo = require('plugo');

exports.register = (plugin, options, next) => {
  var plugoptions = {
    name: 'handlers',
    path: __dirname + '/handlers'
  };
  
  // Exposes modules in the handlers folder to this plugin
  Plugo.expose(plugoptions, plugin, next);
};

exports.register.attributes = {
  name: 'controllers'
};

Options

The following options are available:

  • name: Defines property name under plugin [required]
  • path: Specifies which folder to load files [required]
  • extension: Specifies which file extension to look for (defaults to .js) [optional]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].