viewscript-extract-defaults
v0.0.6
Published
Extracts sensible defaults from some Viewscript.
Downloads
5
Readme
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