0.0.1 • Published 9 years ago

form-constructor v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

Form Constructor

Useful utility I built to construct forms. I was having an interesting issue with https://www.npmjs.org/package/request. You can construct a form with POJO, but if your form requires to have multiple values with the same key, you're out of luck.

Installation

npm install form-constructor

How to use

var FormConstructor = require('form-constructor');

var form = new FormConstructor();

form.add('foo', 'bar');

console.log(form.toString()); // outputs foo=bar
0.0.1

9 years ago