0.0.6 • Published 7 years ago
viewscript-extract-defaults v0.0.6
viewscript-extract-defaults
Extracts sensible defaults from some Viewscript.
Install
$ npm install viewscript-extract-defaults --save
Usage
const extractDefaults = require('viewscript-extract-defaults')
const defaultValues = extractDefaults(
{
title: 'Simple demo form!',
widgets: []
})
Testing
$ npm test
License
0.0.6
7 years ago