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-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
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
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
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
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].