JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q43811F
  • License Apache-2.0

display Common Forms at text terminals

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-tex

then:

var tex = require('commonform-tex');

var form = {
  content: [
    { heading: 'Assignment',
      form: {
        content: [
          'May assign to ',
          { blank: 'Assignee' } ] } } ] };

typeof tex(form, { Assignee: 'Bob' }); // => 'string'