angus-c


Angus Croll

  • flip first two arguments of a function

    published 2.2.0 2 years ago
  • turn a method into a standalone function; the first arg becomes `this`

    published 3.2.0 2 years ago
  • modulo of a number and a divisor

    published 2.2.0 2 years ago
  • determine if an object contains a circular reference

    published 2.2.0 2 years ago
  • determine if a value is a primitive value

    published 2.3.0 2 years ago
  • return object entries as an array of [key, value] pairs

    published 2.3.0 2 years ago
  • return a debounced function

    published 3.2.0 2 years ago
  • return a throttled function

    published 4.2.0 2 years ago
  • returns an array of grouped elements, taking n-th element from every given array

    published 3.2.0 2 years ago
  • splits an array into two at a given position

    published 3.2.0 2 years ago
  • Return an object representing the diffs between two objects. Supports jsonPatch protocol

    published 6.0.2 a year ago
  • create a function that can only be invoked once

    published 2.2.0 2 years ago
  • Apply a diff to an object. Optionally supports jsonPatch protocol

    published 5.5.0 2 years ago
  • Splits array into groups of n items each

    published 3.2.0 2 years ago
  • Elements satisfying predicate added to first array, remainder added to second

    published 2.2.0 2 years ago
  • deep copies objects and arrays

    published 6.2.0 2 years ago
  • convert a string to pascal case

    published 3.2.0 2 years ago
  • shallow extend an object

    published 3.2.0 2 years ago
  • map an object, predicate updates values, receives (value, key, object)

    published 3.2.0 2 years ago
  • map an object, predicate updates keys, receives (value, key, object)

    published 2.3.0 2 years ago
  • Download counts for all packages by author

    published 1.0.2 5 years ago
  • capitalize the first character of a string

    published 3.2.0 2 years ago
  • the mean (average) value in an array

    published 2.2.0 2 years ago
  • return the median value of an array of numbers

    published 2.2.0 2 years ago
  • return the most frequently occuring number(s)

    published 2.2.0 2 years ago
show more packages