No description or website provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
test
.gitignore
.travis.yml
LICENCE
README.md
boolean-checkbox.js
button.js
enum-checkbox.js
enum-dropdown.js
index.js
package.json
string-input.js
string-password.js
tuple-input.js

README.md

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