Nachos Pillage Milwaukee
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

jsonml-forms

0.2.14 • Public • Published

jsonml-forms

A set of functions to generate form elements

Example

var form = require("jsonml-forms")
var jsonml = require("jsonml-stringify")
 
var page = jsonml(["html", [
    ["head", [
        ["title", "Forms example"]
    ]],
    ["body", [
        form.string.input({
            marker: "name"
        }),
        form.string.password({
            marker: "password"
        })
    ]]
]])

Installation

npm install jsonml-forms

Contributors

  • Raynos

MIT Licenced

Keywords

none

install

npm i jsonml-forms

Downloadsweekly downloads

42

version

0.2.14

license

none

repository

githubgithub

last publish

collaborators

  • avatar