node-fetch

A light-weight module that brings the Fetch API to Node.js (by node-fetch)

Node-fetch Alternatives

Similar projects and alternatives to node-fetch

  1. node

    1,210 node-fetch VS node

    Node.js JavaScript runtime βœ¨πŸ’πŸš€βœ¨

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. Express

    776 node-fetch VS Express

    Fast, unopinionated, minimalist web framework for node.

  4. jest

    520 node-fetch VS jest

    Delightful JavaScript Testing.

  5. axios

    480 node-fetch VS axios

    Promise based HTTP client for the browser and node.js

  6. deno

    485 node-fetch VS deno

    A modern runtime for JavaScript and TypeScript.

  7. puppeteer

    391 node-fetch VS puppeteer

    JavaScript API for Chrome and Firefox

  8. bun

    380 node-fetch VS bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

  9. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management β€” all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  10. aws-lambda-java-libs

    Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.

  11. dotenv

    247 node-fetch VS dotenv

    Loads environment variables from .env for nodejs projects.

  12. mocha

    167 node-fetch VS mocha

    β˜•οΈ simple, flexible, fun javascript test framework for node.js & the browser

  13. Mongoose

    118 node-fetch VS Mongoose

    MongoDB object modeling designed to work in an asynchronous environment.

  14. chalk

    72 node-fetch VS chalk

    πŸ– Terminal string styling done right

  15. jasmine

    56 node-fetch VS jasmine

    Simple JavaScript testing framework for browsers and node.js

  16. Inquirer.js

    42 node-fetch VS Inquirer.js

    A collection of common interactive command line user interfaces.

  17. window.fetch polyfill

    A window.fetch JavaScript polyfill.

  18. superagent

    17 node-fetch VS superagent

    Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

  19. got

    16 node-fetch VS got

    🌐 Human-friendly and powerful HTTP request library for Node.js

  20. http-proxy

    14 node-fetch VS http-proxy

    A full-featured http proxy for node.js

  21. request

    62 node-fetch VS request

    🏊🏾 Simplified HTTP request client.

  22. meta

    Meta discussions and unicorns. Not necessarily in that order. (by sindresorhus)

  23. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better node-fetch alternative or higher similarity.

node-fetch discussion

Log in or Post with

node-fetch reviews and mentions

Posts with mentions or reviews of node-fetch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-07-27.
  • Migrating node-fetch/form-data to Node.js native APIs
    2 projects | dev.to | 27 Jul 2024
    The release of Node v16.15.0 and v17.5.0 brought in the Fetch API and FormData. Before that, the node-fetch and form-data packages were used to use browser-like APIs in Node.js. To migrate node-fetch/form-data packages to Node.js native APIs, some changes can be made by removing import statements of 3rd-party packages, but there are important considerations to keep in mind when using Node.js features such as file system. This article outlines about migrating from node-fetch/form-data packages to Node.js native APIs.
  • Mastering The Heap: How to Capture and Store Images from Fetch Responses
    2 projects | dev.to | 2 May 2024
    node-fetch.
  • Building a README Crawler With Node.js
    5 projects | dev.to | 8 Apr 2024
    To execute the algorithm, we will use Node.js (for the JavaScript runtime) and node-fetch (for network requests). This means we will run the code locally from the command line. For this project, we will have an output folder to store all the README data, as well as a list (queue) of repository URLs to visit. Before diving into the code, it is important to plan the input and output of the algorithm. For this web crawler, we will start at a valid GitHub repository page, which would be one URL string. After visiting each page with a README, we will export the data into a new file. Now lets cover the process of requesting a repository page from a URL. For this, we only care about saving the README file that is displayed, and we will ignore any other links that GitHub displays (such as the navbar). We will send a URL request with node-fetch, and retrieve the result of a HTML string. If we convert the HTML string to a DOM Tree, we can search for a specific element. GitHub stores the README file under a div with the class "markdown-body". We can use a library called 'jsdom' to use Browser API methods, and return a specific node.
  • OAuth 2.0 implementation in Node.js
    3 projects | dev.to | 13 Mar 2024
    Note: In case you run into install reference error: fetch isn’t defined, ensure you install node-fetch
  • 5 Ways to Make HTTP Requests in Node.js
    3 projects | dev.to | 20 Feb 2024
    Node Fetch is a JavaScript library tailored for Node.js that simplifies making HTTP requests. It offers a straightforward and Promise-based approach for fetching resources from the internet or server, such as GET, POST, PUT, and DELETE requests. Designed for server-side applications, it's compatible with the Fetch API, allowing easy code transition between client-side and server-side environments.
  • CommonJS Is Hurting JavaScript
    7 projects | news.ycombinator.com | 30 Jun 2023
    Would anyone be interested in an article about the crusade to move JS to ESM? I've been considering writing one, here's a preview:

    Sindresorus wrote a gist "Pure ESM modules"[0] and converted all his modules to Pure ESM, breaking anyone `require`ing his code; he later locked the thread to prevent people from complaining. node-fetch released a pure ESM version a year ago that is 16x less popular than the CommonJS version[1]. The results of these changes broke a lot of code and resulted in many hours of developers figuring out how make their projects compatible with Pure ESM modules (or decide to ignore them and use old CommonJS versions)--not to mention the tons of pointless drama on GitHub issues.

    Meanwhile, TC-39 member Matteo Collima advocated a moderate approach dependent on where your module will be run [2]. So the crusade is led not by the Church, but by a handful of zealots dedicated to establishing ESM supremacy for unclear reasons (note how Sindresorus' gist lacks any justifications). It's kind of like the Python 2 to 3 move except with even less rationale and not driven by the core devs.

    0 - https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3...

    1 - https://www.npmjs.com/package/node-fetch?activeTab=versions

    2 - https://github.com/nodejs/node/issues/33954#issuecomment-924...

  • Library recommendation
    1 project | /r/node | 23 Jun 2023
    https://www.npmjs.com/package/node-fetch is pretty standard assuming you're referring to an HTTP client library
  • Next-Level Technical Blogging with Dev.to API
    2 projects | dev.to | 13 Jun 2023
    The API is CORS-enabled, meaning you’ll have to use the getArticles() functions from your backend. For making the actual request, you can use the fetch() function, available since Node.js v18. For older versions of Node.js, you can use a fetch()-compatible library like node-fetch.
  • Nuxt 3 in production shows "fetch failed" on load
    1 project | /r/Nuxt | 3 Apr 2023
    I have the same setup. On node 18 fetch would not go through. I changed 127.0.0.1 to localhost in my config/env. More info here
  • EOS bot
    1 project | /r/u_honneyhive | 26 Mar 2023
    I am making a bot that is supposed to take data from Upland's database from the account "dcrawtu15ye". I am using autocode to take it and I have found some ways to use it but some of my code still comes back as null. I have been using the eos docs to find info and all it can do right now is get account info if I use console.log(await rpc.get_account('dcrawtu1u5ye'));. I am using the dependency node-fetch. I wanted to know if there is something wrong with the code below. I also used greymass from this list and this article supposedly might help too.
  • A note from our sponsor - Civic Auth
    www.civic.com | 13 May 2025
    Civic Auth comes with multiple SSO options, optional embedded wallets, and user management β€” all implemented with just a few lines of code. Start building today. Learn more β†’

Stats

Basic node-fetch repo stats
93
8,836
0.0
9 months ago

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?