Can someone tell me about secure and stable alternatives to the "request" library from npm? Because request is deprecated :(

This page summarizes the projects mentioned and recommended in the original post on /r/node

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • got

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

    I've used Axios and Got. Both have been solid. The only issue I've had is with Got and an issue with auth credential encoding due to a bug in NodeJS: https://github.com/sindresorhus/got/issues/1169

  • node-fetch

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

    I use and like node-fetch.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • axios

    Promise based HTTP client for the browser and node.js

    I've been using Axios for a while and it's great. Just remember to, whenever possible, think about how you are going to use it and don't make your business logic depend on external libs :P

  • superagent

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

    I use isomorphic-unfetch or superagent.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts