form-data

A module to create readable `"multipart/form-data"` streams. Can be used to submit forms and file uploads to other web applications.

MIT License

Downloads
327.1M
Stars
2.3K
Committers
43

Bot releases are hidden (Show)

form-data - v4.0.1

Published by ljharb 9 days ago

Fixes

  • npmignore temporary build files (#532)
  • move util.isArray to Array.isArray (#564)

Tests

  • migrate from travis to GHA
form-data - v3.0.2

Published by ljharb 9 days ago

Fixes

  • npmignore temporary build files (#532)
  • move util.isArray to Array.isArray (#564)

Tests

  • migrate from travis to GHA
form-data - v2.5.2

Published by ljharb 9 days ago

Fixes

  • Buffer.from and Buffer.alloc require node 4+
  • npmignore temporary build files (#532)
  • move util.isArray to Array.isArray (#564)

Tests

  • migrate from travis to GHA
form-data - Latest Release

Published by niftylettuce over 3 years ago

  • Merge pull request #382 from wxt2005/custom-stream 8968e01
  • Fix typo e705c0a
  • Merge branch 'master' of github.com:form-data/form-data into custom-stream b7b7dee
  • Update README for custom stream behavior 6dd8624
  • Handle custom stream a3e191d

https://github.com/form-data/form-data/compare/v3.0.1...v4.0.0

form-data -

Published by niftylettuce over 3 years ago

  • feat: add setBoundary method 55d90ce
  • Merge pull request #451 from arku/patch-1 d702625
  • Fix typo: ads -> adds 714ac8b

https://github.com/form-data/form-data/compare/v3.0.0...v3.0.1

form-data - Dev Improvements

Published by alexindigo about 5 years ago

  • Fixed error in the documentations as indicated in #439
  • Added remaining combined-stream options to typedef
  • Bumped rimraf to 2.7.1 (dev-dep)
  • Added constructor options to TypeScript defs
  • Fixed error in callback signatures
form-data - Added Types

Published by alexindigo over 5 years ago

  • Added TS types
  • Improved documentation
form-data - Added getBuffer method

Published by alexindigo over 5 years ago

Updated test builds to support node10 and 12.

form-data - Added `filepath` option

Published by alexindigo over 7 years ago

The filepath property overrides filename and may contain a relative path. This is typically used when uploading multiple files from a directory.

Thanks to @sebdeckers

form-data - Broken version

Published by alexindigo over 7 years ago

form-data - Proper toString

Published by alexindigo over 7 years ago

  • toString will output '[object FormData]'
    Thanks to @m59peacemaker
form-data - Fixed self/window reference (for React-Native)

Published by alexindigo almost 8 years ago

Checks for self object, if not found, falls back to window object.

form-data - Fixed browserify shim

Published by alexindigo about 8 years ago

& updated dependencies

form-data - Added `hasKnownLength` method

Published by alexindigo about 8 years ago

  • To improve node-fetch integration
form-data - It Happened

Published by alexindigo about 8 years ago

form-data - Replaced async with asynckit. Modernized

Published by alexindigo about 8 years ago

form-data - Last one before 1.0

Published by alexindigo over 8 years ago

  • Avoid undefined variable reference in older browsers #176
  • Refreshed dependencies
  • Housecleaning
form-data - Decouple Options and Better Defaults

Published by DylanPiercey about 9 years ago

  • Content-Type can now be set independently of filename.
  • Content-Type will now default to "application/octet-stream" for buffers.
  • #append now accepts a filename as the third option, similar to the browser.
form-data - Browser support

Published by alexindigo about 9 years ago

  • Added proper line-endings to the last boundary.
  • Returning browser-native FormData when used with browserify or webpack.
form-data - Small step for the build

Published by alexindigo over 9 years ago

  • Updated dependencies
  • Dropped 0.8 support (modernized tests)