pub-dev VS axios

Compare pub-dev vs axios and see what are their differences.

pub-dev, the Dart package repository, written in Dart (by dart-lang)


Promise based HTTP client for the browser and node.js (by axios)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
pub-dev axios
117 201
486 89,577
3.3% 0.8%
9.7 8.1
4 days ago 3 days ago
Dart JavaScript
BSD 3-clause "New" or "Revised" 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.


Posts with mentions or reviews of pub-dev. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-24.
  • Flutter with Artificial Intelligence
    1 project | | 4 Dec 2021
    I know firebase ml kit is a dart extension that works on android and ios look on
  • What makes you develop plugin for Flutter?
    1 project | | 26 Nov 2021
    If you mean packages on, many people develop something they need for Flutter and then upload it to so others can benefit from it.
  • Trying to find bottom indexed pagination widget.
    2 projects | | 24 Nov 2021
    Checked but didn't find anything close.
    2 projects | | 24 Nov 2021
    Have you checked If it is not there then you might have to make your own and seeing the image, it isn't that hard too.
  • How to create a custom artifactory for flutter/dart ?
    4 projects | | 19 Nov 2021
    So, the problem is that of course we cannot host our packages on and we already use JFrog as artifactory for our others artifacts, I read that the 'pub get' command can interrogate a custom host for retrieving packages but the endpoint has to conform to certain API, but where are these specification?
    4 projects | | 19 Nov 2021
    This is something I've been casually researching, the most complete description of the API I've found is: Given that it has been updated recently, I'm assuming this is the current standard that operates on. I haven't probed the API to verify any of this, but it's a start!
  • Backdooring Rust crates for fun and profit
    11 projects | | 18 Nov 2021
    Yes, they do that in Dart's pub [1].

    They also have the concept of verified publishers[2], which is pretty neat (similar to Maven Central), and keep track of a score for each package (e.g. including up-to-date dependencies and result of static analysis.

    Dart is doing a lot of things right.



  • I Really Want to Learn Flutter BUT ..
    1 project | | 18 Nov 2021
    One of the advantages of React is IMO also one issue it has. It's more mature, so it has a LOT of plugins to solve every problem conceivable. That's good, but because it's older, many of those plugins are not as well maintained anymore. To this day I couldn't create a single React project that didn't have at least one deprecated library in it. Flutter on the other hand has fewer plugins comparatively, but it's now on a point that most problems have a plugin to solve them. Some very edgy cases will still require you to implement your own plugin though (which is easy to do). In terms of dependency management, I think they're on par. Dart has it's wich is the central hub for plugins and React has the npm ecosystem.
  • A minha versão...
    1 project | | 18 Nov 2021
  • Developing a Custom Plugin using Flutter
    5 projects | | 11 Nov 2021
    After developing the custom plugin, you can publish the custom plugin at so that other developers can easily use it. However, before publishing, review the pubspec.yaml,,, and LICENSE files to ensure that the content is complete and correct.


Posts with mentions or reviews of axios. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-03.
  • NoCodeAPI Google Sheet Tutorial using React and Chakra UI
    1 project | | 4 Dec 2021
    First, we will set up our API with the help of Axios.
  • React
    2 projects | | 3 Dec 2021
    In this context axios is used to send request from our JavaScript client to our Rust server and also receive response from our Rust server to our JavaScript client, install axios.
  • React Tips & Tricks: Uploading a File With A Progress Bar
    4 projects | | 29 Nov 2021
    Now, we can't POST our Data as json because we're want to send a file and json doesn't handle binary data. We need to send form-data instead. We'll use axios to send the request, as it comes in handy to display the progress as we'll see in the next section.
  • Use react-hot-toast with Promise & Axios
    2 projects | | 25 Nov 2021
    Axios is a Javascript library used to make HTTP requests from node. js or XMLHttpRequests from the browser and it supports the Promise API that is native to JS ES6. It can be used intercept HTTP requests and responses and enables client-side protection against XSRF. It also has the ability to cancel requests
  • How To Create a Simple Bot on Discord
    1 project | | 25 Nov 2021
    Now you'll want to get axios, so you can simplify sending HTTP requests.
  • How to Serve Different Content Based on User Data/Membership with Strapi and React
    3 projects | | 24 Nov 2021
    Next, we need to install the Axios module which will be used to make API calls to the strapi backend, and react-router version 5.3.0 with the command below:
  • The React roadmap for beginners you never knew you needed.
    42 projects | | 23 Nov 2021
  • Using Axios with React to Make API Requests
    1 project | | 23 Nov 2021
    In this post, you have learned how to make http requests to the server using axios and we have been able to get data from server using both promise and async/await. I am sure this article has made you axios journey a nice one. You can got to Axios to read the official documentation and learn more about it.
  • Easiest way to do click events in Symfony/Twig?
    3 projects | | 21 Nov 2021
    One option is to write your own javascript method (ideally by using some basic libraries as axios, etc...) to make the ajax call, and optionally update the DOM on successful responses. You can use a javascript libary or Framework (React, Vue, ...) to let it do some of the heavy lifting (maybe take a look at SymfonyCasts?)
  • Create a Crypto Converter with Svelte and Strapi
    2 projects | | 17 Nov 2021
    Now we are good to go. We need to make API calls to an external crypto API endpoint (for real time exchange rates). There are plenty of ways we can achieve this but for this tutorial, we will use Axios. To install Axios in our app use the following command:

What are some alternatives?

When comparing pub-dev and axios you can also consider the following projects:

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

request - 🏊🏾 Simplified HTTP request client.

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

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

isomorphic-fetch - Isomorphic WHATWG Fetch API, for Node & Browserify

react-query - ⚛️ Hooks for fetching, caching and updating asynchronous data in React

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

puppeteer - Headless Chrome Node.js API

undici-fetch - A WHATWG Fetch implementation based on @nodejs/undici

window.fetch polyfill - A window.fetch JavaScript polyfill.

http-proxy - A full-featured http proxy for node.js

redux-saga - An alternative side effect model for Redux apps