TC39: Add Object.groupBy and Map.groupBy

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    Discontinued A proposal to make grouping of array items easier

  • Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers

    But a method named `groupBy` on iterators traditionally means a different thing: https://github.com/tc39/proposal-array-grouping/issues/51#is...

    Global iterable type it's too late for, since there's many extant iterables in the language and on the web which don't have it in their prototype chain and can't reasonably be changed.

  • ecma262

    Status, process, and documents for ECMA-262

  • 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
  • just

    A library of dependency-free JavaScript utilities that do just one thing. (by angus-c)

  • You can roll your own or use a utility library. A simple zero-dependency library would be something like just-group-by [1]. Although I now prefer remeda [2] as it seems to have the best typescript support, especially the strict variants such as `grouBy.strict`.

    [1] https://github.com/angus-c/just#just-group-by

  • faq

  • Not gonna happen: https://github.com/tc39/faq?tab=readme-ov-file#why-dont-we-j...

    Browsers aren't going to break old pages.

  • proposal-iterator-helpers

    Methods for working with iterators in ECMAScript

  • Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers

    But a method named `groupBy` on iterators traditionally means a different thing: https://github.com/tc39/proposal-array-grouping/issues/51#is...

    Global iterable type it's too late for, since there's many extant iterables in the language and on the web which don't have it in their prototype chain and can't reasonably be changed.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    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 more popular project.

Suggest a related project

Related posts