Fast & easy forms for the web.
Formgun is a node.js module, you can install it with npm:
npm install formgun
-
Create a new form
fgun create booking
-
Add some inputs
fgun update booking --add input --name email --type string
-
Host it
fgun host booking
Form will be hosted at http://localhost:3000.
shorter syntax is also supported:
fgun update booking -a input -n email -t string
HTML containing the form is generated under ./booking/
Command pattern is: fgun {create/update/host} {form-name}
see below.
Creates a new form. Form is generated under ./{form-name}/
directory.
Update form.
--add, -a
adds to form. Possible values:input
--name, -n
name of input--type, -t
type of input (html5 input types)
Hosts the form at http://localhost:3000. Submitted form data is saved under ./{form-name}/formData.csv
Licensed under Apache V2
PRs are welcome !