JavaScript HTTP

Open-source JavaScript projects categorized as HTTP | Edit details

Top 23 JavaScript HTTP Projects

  • axios

    Promise based HTTP client for the browser and node.js

    Project mention: Modern Webapps with React, Phoenix, Elixir and TypeScript | dev.to | 2022-01-21

    From now on, if you are making requests with axios for instance, you can safely make a request in your React component like this:

  • request

    🏊🏾 Simplified HTTP request client.

    Project mention: Got 54 vulnerabilities, after installing parcel bundler npm for development | reddit.com/r/reactjs | 2022-01-10

    npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x. npm WARN deprecated [email protected]: Parcel v1 is no longer maintained. Please migrate to v2, which is published under the 'parcel' package. See https://v2.parceljs.org/getting-started/migration for details. npm WARN deprecated [email protected]: [email protected]<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. added 788 packages, and audited 790 packages in 60s 53 packages are looking for funding run `npm fund` for details 54 vulnerabilities (1 low, 48 moderate, 5 high)

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • window.fetch polyfill

    A window.fetch JavaScript polyfill.

    Project mention: jQuery is (still) used on 80%+ of websites | reddit.com/r/webdev | 2021-12-03

    I would just polyfill fetch if that were the case.

  • superagent

    Ajax for Node.js and browsers (JS HTTP client)

    Project mention: ES6 - A beginners guide - Promises and Fetch | dev.to | 2021-12-15

    SuperAgent (https://github.com/visionmedia/superagent)

  • Hapi

    The Simple, Secure Framework Developers Trust

    Project mention: Which Node.js framework would you recommend for REST API? | reddit.com/r/node | 2021-12-22

    I always used express before never really seeing any reason not to but as I'm preparing the tech stack for this project, I stumbled across AdonisJS, hapi and NestJS all of which I took interest in and now I'm stuck with decision fatigue but not enough time to create a working proof of concept in all of them.

  • http-proxy

    A full-featured http proxy for node.js

    Project mention: The history and reasons behind CORS, and how to use it | news.ycombinator.com | 2021-10-14
  • http-server

    a simple zero-configuration command-line http server

    Project mention: Deep dive into React codebase [EP3: Reverse engineer the most famous React snippet] | dev.to | 2022-01-23

    Now we need to spin up the index.html in the browser. I use http-server, but you may use your favorite one, like live-server from VSCode or Python http.server.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Nock

    HTTP server mocking and expectations library for Node.js

    Project mention: Mocking With Undici Like a Pro | dev.to | 2022-01-14

    Because Undici re-invents HTTP primitives and relies directly on sockets, our established mocking approaches like Nock no longer work. Luckily, Undici comes with its own built-in mocks, so we can still write unit tests against it. This post goes into detail into Undici’s mocking support, walking you through specific use-cases and examples.

  • serve

    Static file serving and directory listing

    Project mention: Vercel raises $150M Series D at $2.5B valuation | reddit.com/r/reactjs | 2021-11-23

    Maybe I was lacking context a bit. I was referencing this actually: https://github.com/vercel/serve/pull/680

  • node-fetch

    A light-weight module that brings the Fetch API to Node.js

    Project mention: Написал парсер сайта на Node.js | dev.to | 2022-01-08
  • isomorphic-fetch

    Isomorphic WHATWG Fetch API, for Node & Browserify

    Project mention: Centralized/modularized Axios implementation? | reddit.com/r/reactjs | 2022-01-03

    Not to play devil's advocate or anything, but in all fairness, fetch can use an AbortController to be cancellable. Also, it/they can easily be supported in older browsers through a polyfill, which is substantially lighter on bundle size than Axios, esp for newer browsers where the polyfills adds no new code. Short digression: I love isomorphic-fetch because it polyfills fetch in both old browsers and NodeJS, meaning I only need to remember one simple API (fetch) for network calls regardless of the environment. I'd much rather have to learn only one stable, native API than add on additional third party APIs that can change over time or require additional plugins to make it work (e.g. moxios).

  • Primus

    :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.

    Project mention: We Improved Reliability of Our WebSocket Connections | news.ycombinator.com | 2021-10-28

    Indeed it does! https://github.com/primus/primus/blob/a7ba7249cb0205a01629da...

    I do wish we didn't all have to reinvent this wheel though…

  • jsdelivr

    A free, fast, and reliable Open Source CDN for npm, GitHub, Javascript, and ESM

    Project mention: The certificate of jsdelivr is hijacked in China and is inaccessible | news.ycombinator.com | 2021-12-20
  • dredd

    Language-agnostic HTTP API Testing Tool

    Project mention: Dealing with backend developers | reddit.com/r/Frontend | 2022-01-21

    One more tip for the backend developers: make sure the API implementation is tested against the API specification using contract-testing tools such as Dredd or Schemathesis. I specially recommend schemathesis as it's a lot more comprehensive. I recommend you run those tests in the CI and require them to pass before they can merge their API changes. This is the only reliable way to ensure the API works as expected.

  • undici

    An HTTP/1.1 client, written from scratch for Node.js

    Project mention: NodeSecure - The future | dev.to | 2021-06-04

    Rewriting SlimIO/npm-registry from zero in the org (with undici as http client).

  • spdy

    SPDY server on Node.js

  • wretch

    A tiny wrapper built around fetch with an intuitive syntax. :candy:

    Project mention: AxleJS - Fetch supercharged. | reddit.com/r/typescript | 2021-08-28

    You might be interested in Wretch, it's very lightweight and has a nice middleware facility.

  • cross-fetch

    Universal WHATWG Fetch API for Node, Browsers and React Native.

  • download

    Download and extract files

    Project mention: Node.js Packages and Resources | dev.to | 2021-09-06

    download - Download and extract files effortlessly.

  • Meteor-Files

    🚀 Upload files via DDP or HTTP to ☄️ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.

    Project mention: Week 4 of Coding Period in GSoC | dev.to | 2021-07-21

    I started exploring the package with which the existing CFS dependency could be replaced. The CFS dependency is now deprecated and we got to replace that with Meteor Files The package was recommended on README of CFS dependency. However, I looked for a more similar package that was folks of CFS.

  • find-my-way

    A crazy fast HTTP router

    Project mention: Piko router, a lightweight and blazing fast router for PHP | dev.to | 2021-10-07

    I found libraries in other programming languages that use this approach : matchit (Rust), find-my-way (Javascript), fasthttp (Go) But, curiously, no one in PHP. That's why I decided to bring my contribution to have the same approach in PHP.

  • just-api

    :boom: Test REST, GraphQL APIs

    Project mention: Front End UI Test Automation With Mock API | reddit.com/r/csharp | 2021-05-18

    To test the API, I recommend a proper API testing framework that can run a full test suite without you having to write a single test case. In this area, I recommend Dredd and schemathesis. These frameworks will get you covered when it comes to ensuring that the API server complies with the API specification. You may find Dredd a bit confusing at the beginning, in which case I recommend a tutorial I wrote a while ago about testing with Dredd. In addition, you can consider using just-apis, which allows you to define your own test cases for the API in YAML files (so no programming required).

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-23.

JavaScript HTTP related posts

Index

What are some of the best open-source HTTP projects in JavaScript? This list will help you:

Project Stars
1 axios 90,621
2 request 25,401
3 window.fetch polyfill 25,142
4 superagent 15,906
5 Hapi 13,662
6 http-proxy 12,576
7 http-server 11,414
8 Nock 11,194
9 serve 7,507
10 node-fetch 7,255
11 isomorphic-fetch 6,887
12 Primus 4,312
13 jsdelivr 4,178
14 dredd 3,786
15 undici 2,951
16 spdy 2,754
17 wretch 2,292
18 broken-link-checker 1,397
19 cross-fetch 1,250
20 download 1,140
21 Meteor-Files 1,067
22 find-my-way 974
23 just-api 786
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms