JSPM

Found 56 results for group-by

group-by-with-average

Collapses an array of objects at the specified object properties and counts average values of specified fields.

  • v2.0.0
  • 7.56
  • Published

group-array-by

Takes an array and returns an object with values grouped into arrays by passing each value to `getKey` to determine to which group the value belongs.

  • v1.0.0
  • 6.24
  • Published

nest-by

Groups an array/object by property values or callback

  • v1.0.0
  • 6.19
  • Published

@stdlib/utils-group-in

Group an object's own and inherited property values according to an indicator function.

  • v0.2.2
  • 5.92
  • Published

nikhil-goswami-array-hof-utils

This package extends the JavaScript Array prototype with 10 useful higher-order functions (HOFs), providing powerful utilities for common operations like sum, unique values, flattening, grouping, and more.

    • v1.0.5
    • 4.66
    • Published

    nest-by-tuple

    Groups an array/object by property values or callback with support for additional metadata

    • v1.0.0
    • 4.48
    • Published

    group-by-with-min

    Collapses an array of objects at the specified object properties and counts minimal values of specified fields

    • v2.0.1
    • 4.48
    • Published

    array-groups

    Tool to organize arrays of objects in sub-arrays grouped by value-ranges that is near a central value provided

    • v0.1.1
    • 2.74
    • Published

    geojson-groupby

    Group geojson features or array of json based on associated properties.

    • v1.0.0
    • 2.62
    • Published

    @stdlib/utils-group-own

    Group an object's own property values according to an indicator function.

    • v0.2.2
    • 2.62
    • Published

    ts-group-by

    group by one or more levels while maintaining type safety.

    • v1.0.7
    • 2.62
    • Published

    group-by-with-max

    Collapses an array of objects at the specified object properties and counts maximal values of specified fields.

    • v1.0.0
    • 0.00
    • Published