Thoughts on creating a library with Dart for browser and node

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • linter

    Linter for Dart.

  • I've already converted 70% of the JS implementation in Dart, only for the browser for test, but the result was not as good as I hoped. The bundle size at the moment is ~110kb (with the -O4 flag). And I happen to learn that using async/await additionally increases the size with ~30kb (this angulardart issue is the only explanation I could found).

  • dio

    Discontinued A powerful HTTP package for Dart/Flutter, which supports Global settings, Interceptors, FormData, Aborting and canceling a request, Files uploading and downloading, Requests timeout, Custom adapters, etc. [Moved to: https://github.com/cfug/dio] (by flutterchina)

  • I also had some troubles choosing which Dart HTTP client to use. I've started with dio, but when I tried to read one of our bigger JSON responses (~1.5mb) my browser tab froze (there seems to be an old issue describing the same behavior). After that I've switched to the default dart's http package and it is working fine but it doesn't have builtin requests abort/cancellation.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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