Package Exports
- commonform-terminal
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (commonform-terminal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Display Common Forms at text terminals.
Install:
$ npm install --save commonform-texthen:
var tex = require('commonform-tex');
var form = {
content: [
{ heading: 'Assignment',
form: {
content: [
'May assign to ',
{ blank: 'Assignee' } ] } } ] };
typeof tex(form, { Assignee: 'Bob' }); // => 'string'