thin wrapper for formidable, making it a touch more convenient.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

Formulate

Convenience wrapper for the excellent formidable node library. Creates and returns a new formidable.IncommingForm for you, optionally specifying a maximum upload size (maxSize);

  module.exports = function (req, res, cb, maxSize, formidableOptions)

maxSize and formidableOptions are optional.

Your cb will be invoked as cb(err, fields, files), as specified in .parse in the formidable documentation.