wretch VS form-data

Compare wretch vs form-data and see what are their differences.

wretch

A tiny wrapper built around fetch with an intuitive syntax. :candy: (by elbywan)

form-data

A module to create readable `"multipart/form-data"` streams. Can be used to submit forms and file uploads to other web applications. (by form-data)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
wretch form-data
8 2
4,485 2,247
- 0.2%
6.4 0.0
about 1 month ago 14 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

wretch

Posts with mentions or reviews of wretch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-29.

form-data

Posts with mentions or reviews of form-data. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-06.
  • Run API tests with Newman and send reports to Telegram
    9 projects | dev.to | 6 Nov 2022
    The next request turned out to be a little more difficult to implement because it had to send a report.html file inside it, which first needed to be converted using the encoding type multipart form-data. Therefore to create readable "multipart/form-data" streams, I needed to use the Form-Data library. In order to install it locally, used the following command:
  • Send a File With Axios in Node.js
    2 projects | dev.to | 31 May 2021
    Because we don't have access to the FormData interface in Node.js as we do in the browser, we use the form-data library to construct a form. This is similar to a

What are some alternatives?

When comparing wretch and form-data you can also consider the following projects:

axios - Promise based HTTP client for the browser and node.js

multer - Node.js middleware for handling `multipart/form-data`.

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

node-crc32-stream - a streaming CRC32 checksumer (now with deflate support)

ky - 🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API

telegram-bot-ruby - Ruby wrapper for Telegram's Bot API

SWR - React Hooks for Data Fetching

newman-reporter-htmlextra - A HTML reporter for Postman's Command Line Runner, Newman. Includes Non Aggregated Runs broken down by Iterations, Skipped Tests, Console Logs and the handlebars helpers module for better custom templates.

oauth-signature-js - JavaScript OAuth 1.0a signature generator (RFC 5849) for node and the browser

Newman-Telegram-API - Run your collections with Newman and get html-reports in Telegram

Bearer

Newman - Newman is a command-line collection runner for Postman