JSPM

Found 443 results for stdutils

@stdlib/utils-unshift

Add one or more elements to the beginning of a collection.

  • v0.2.2
  • 2.13
  • Published

@stdlib/utils-shift

Remove and return the first element of a collection.

  • v0.2.2
  • 2.11
  • Published

@stdlib/utils-every-by-right

Test whether all elements in a collection pass a test implemented by a predicate function, iterating from right to left.

  • v0.2.2
  • 2.11
  • Published

@stdlib/utils-any-by

Test whether at least one element in a collection passes a test implemented by a predicate function.

  • v0.2.2
  • 2.11
  • Published

@stdlib/iter-fill

Create an iterator which replaces all values from a provided iterator from a start index to an end index with a static value.

  • v0.2.2
  • 2.11
  • Published

@stdlib/utils-async-none-by-right

Test whether all elements in a collection fail a test implemented by a predicate function, iterating from right to left.

  • v0.2.2
  • 2.11
  • Published

@stdlib/utils-pick-by

Return a partial object copy containing properties for which a predicate (function) returns a truthy value.

  • v0.2.2
  • 2.11
  • Published

@stdlib/utils-none-by

Test whether all elements in a collection fail a test implemented by a predicate function.

  • v0.2.2
  • 2.09
  • Published

@stdlib/utils-any-in-by

Test whether at least one property in an object passes a test implemented by a predicate function.

  • v0.1.1
  • 2.09
  • Published

@stdlib/utils-map-reduce-right

Perform a single-pass map-reduce operation against each element in an array while iterating from right to left and return the accumulated result.

  • v0.2.1
  • 2.09
  • Published

@stdlib/utils-size-of-cli

Return the size (in bytes) of the canonical binary representation of a specified numeric type.

  • v0.2.2
  • 2.09
  • Published

@stdlib/utils-map2d

Apply a function to each nested element in an array of arrays and assign the result to a nested element in a new array of arrays.

  • v0.2.2
  • 0.00
  • Published

@stdlib/iter-union

Create an iterator which returns the union of two or more iterators.

  • v0.2.2
  • 0.00
  • Published

@stdlib/iter-cuany

Create an iterator which cumulatively tests whether at least one iterated value is truthy.

  • v0.1.1
  • 0.00
  • Published

@stdlib/iter-logspace

Create an iterator which returns evenly spaced numbers on a log scale.

  • v0.2.2
  • 0.00
  • Published

@stdlib/utils-pop

Remove and return the last element of a collection.

  • v0.2.2
  • 0.00
  • Published

@stdlib/utils-every-in-by

Test whether all properties (own and inherited) of an object pass a test implemented by a predicate function.

  • v0.1.1
  • 0.00
  • Published

@stdlib/iter-replicate-by

Create an iterator which replicates each iterated value according to a provided function.

  • v0.2.2
  • 0.00
  • Published

@stdlib/utils-some

Test whether a collection contains at least `n` elements which are truthy.

  • v0.2.2
  • 0.00
  • Published

@stdlib/utils-until-each

Until a test condition is true, invoke a function for each element in a collection.

  • v0.2.2
  • 0.00
  • Published