schm-translate
Translates values keys to schema keys.
Install
$ npm install --save schm-translate
Usage
const schema = const translate = const userSchema = const user = userSchema
Output:
name: 'Haz' email: 'hazdiego@gmail.com'
API
Table of Contents
translate
Translates values keys to schema keys.
Parameters
params
Object
License
MIT © Diego Haz