Extracts sensible defaults from some Viewscript.
$ npm install viewscript-extract-defaults --save
const extractDefaults = require('viewscript-extract-defaults')
const defaultValues = extractDefaults(
{
title: 'Simple demo form!',
widgets: []
})
$ npm test