Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

RunKit + npm: get-it-ready

node v8.17.0
version: 2.0.0
endpointsharetweet
var Joi = require('joi'); var getItReady = require('get-it-ready'); var personDefinition = { name: { type: String, required: true }, firstName: { type: String, required: true, joi: Joi.string() }, lastName: { type: String, required: true, joi: Joi.string() }, createdOn: { type: Date, required: false, default: Date.now, joi: Joi.date() } }; var person = getItReady(personDefinition, 'persons', 'Person', 'person');
Created from: https://runkit.com/npm/get-it-ready
Loading…

no comments

    sign in to comment