README
joi-file-extensions
Joi extensions for file rules.
Usage
const joi = require("@hapi/joi");
const customJoi = BaseJoi.extend(require("joi-file-extensions"));
const schema = customJoi.file().contents();
Directory layout
Follows CommonJS Package Directory Layout guidelines.