schm-computed
Adds computed parameters to schm
schemas.
Install
$ npm install --save schm-computed
Usage
const schema = const computed = const userSchema = userSchema
Output:
firstName: 'Diego' lastName: 'Haz' fullName: 'Diego Haz'
API
Table of Contents
computed
Add computed parameters to schema.
Parameters
params
Object
License
MIT © Diego Haz