JSPM

Found 119 results for array-like

@stdlib/utils-do-until-each-right

Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.

  • v0.2.2
  • 13.80
  • Published

any-size

Get the size of a value.

  • v1.2.0
  • 13.74
  • Published

@stdlib/utils-async-reduce-right

Apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.

  • v0.2.2
  • 13.49
  • Published

@stdlib/utils-async-some-by

Test whether a collection contains `n` elements which pass a test implemented by a predicate function.

  • v0.2.2
  • 13.17
  • Published

@stdlib/utils-until-each-right

Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.

  • v0.2.2
  • 12.46
  • Published

@stdlib/utils-async-inmap

Invoke a function for each element in a collection and update the collection in-place.

  • v0.2.2
  • 11.65
  • Published

@stdlib/utils-while-each-right

While a test condition is true, invoke a function for each element in a collection, iterating from right to left.

  • v0.2.2
  • 11.35
  • Published

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

Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.

  • v0.2.2
  • 11.35
  • Published

@stdlib/utils-do-while-each

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

  • v0.2.2
  • 10.16
  • Published

@stdlib/utils-reduce2d

Reduce the number of dimensions by one of a two-dimensional nested array by applying a function against an accumulator and each element along the innermost dimension and returning the accumulation results as a one-dimensional array.

  • v0.2.2
  • 9.76
  • Published

@stdlib/utils-prepend

Add elements from one collection to the beginning of another collection.

  • v0.2.2
  • 9.55
  • Published

arraylikeobj

Create an array-like object.

  • v1.1.1
  • 9.26
  • Published

compute-cast-arrays

Casts an array to an array of a different data type.

  • v1.0.1
  • 9.05
  • Published

@stdlib/utils-reduce

Apply a function against an accumulator and each element in an array and return the accumulated result.

  • v0.2.1
  • 8.54
  • Published

@stdlib/utils-inmap-right

Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.

  • v0.2.2
  • 8.54
  • Published

oq-is-arrayish

check if an object can be used like an Array. 判断一个对象能否像数组一样使用,即是否为数组或类数组对象

  • v1.0.1
  • 8.41
  • Published

@stdlib/utils-async-any-by

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

  • v0.2.2
  • 8.41
  • Published

@stdlib/utils-key-by-right

Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values, iterating from right to left.

  • v0.2.2
  • 8.41
  • Published

@stdlib/utils-do-until-each

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

  • v0.2.2
  • 7.80
  • Published

@stdlib/utils-none-by

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

  • v0.2.2
  • 7.53
  • Published

js-collection-operations

Provides functions to operate on Sets, Arrays and Array-Like JavaScript data structures

  • v1.0.5
  • 6.94
  • Published

@stdlib/utils-reduce-right

Apply a function against an accumulator and each element in an array while iterating from right to left and return the accumulated result.

  • v0.2.1
  • 6.84
  • Published

@stdlib/utils-every-by

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

  • v0.2.2
  • 6.84
  • Published

array-like

An inheritable Class that behaves like an Array

  • v0.1.0
  • 6.77
  • Published

drop-left

Creates a slice of array with n elements dropped from the beginning.

  • v1.0.2
  • 6.61
  • Published

@stdlib/utils-push

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

  • v0.2.2
  • 6.55
  • Published

@stdlib/utils-map-reduce

Perform a single-pass map-reduce operation against each element in an array and return the accumulated result.

  • v0.2.1
  • 5.70
  • Published

@stdlib/utils-none

Test whether all elements in a collection are falsy.

  • v0.2.2
  • 5.64
  • Published

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

Test whether at least one element in a collection passes a test implemented by a predicate function, iterating from right to left.

  • v0.2.2
  • 5.51
  • Published

@stdlib/utils-async-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
  • 5.47
  • Published

drop-right

Creates a slice of array with n elements dropped from the end.

  • v1.0.2
  • 5.47
  • Published

@stdlib/utils-async-none-by

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

  • v0.2.2
  • 5.47
  • Published

@stdlib/utils-async-every-by

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

  • v0.2.2
  • 4.40
  • 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
  • 4.27
  • Published

slice-like

Creates an Array from a slice of an Array-like object

  • v1.0.0
  • 4.27
  • 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
  • 4.27
  • Published

@stdlib/utils-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
  • 4.17
  • Published

@stdlib/utils-any

Test whether at least one element in a collection is truthy.

  • v0.2.2
  • 4.17
  • Published

@stdlib/utils-append

Add elements from one collection to the end of another collection.

  • v0.2.2
  • 4.17
  • 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
  • 4.17
  • Published

@stdlib/utils-every

Test whether all elements in a collection are truthy.

  • v0.2.2
  • 4.15
  • Published

@stdlib/utils-unshift

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

  • v0.2.2
  • 4.15
  • Published

@plaindb/log

A lightweight package that transforms any key-value database into an indexed, log-structured database.

  • v0.0.2
  • 2.57
  • Published

@stdlib/utils-some-by

Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function.

  • v0.2.2
  • 2.56
  • Published

@stdlib/utils-while-each

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

  • v0.2.2
  • 2.52
  • Published

@stdlib/utils-shift

Remove and return the first element of a collection.

  • v0.2.2
  • 2.50
  • 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.50
  • Published

@stdlib/utils-do-while-each-right

While a test condition is true, invoke a function for each element in a collection, iterating from right to left.

  • v0.2.2
  • 2.50
  • Published

@stdlib/utils-some-in-by

Test whether an object contains at least n properties (own and inherited) which pass a test implemented by a predicate function.

  • v0.1.1
  • 2.44
  • Published

@stdlib/utils-any-by-right

Test whether at least one element in a collection passes a test implemented by a predicate function, iterating from right to left.

  • v0.2.2
  • 2.42
  • Published

@stdlib/utils-pop

Remove and return the last element of a collection.

  • v0.2.2
  • 0.00
  • Published

@stdlib/utils-some-by-right

Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.

  • 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-key-by

Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values.

  • 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