JSPM

Found 126 results for array-like

utils-indexof

Returns the first index at which a given element can be found.

  • v1.0.0
  • 71.85
  • Published

@stdlib/utils-index-of

Return the first index at which a given element can be found.

  • v0.2.3
  • 69.50
  • Published

is-array-like

Checks if the given value is an array or array-like object.

  • v1.1.2
  • 61.26
  • Published

pick-item

Given an array, pick a random element and return it.

  • v1.0.4
  • 60.39
  • Published

to-length

Converts value to an integer suitable for use as the length of an array-like object.

  • v1.0.1
  • 57.00
  • Published

is-index

Checks if the given value is a valid array-like index.

  • v1.0.2
  • 52.70
  • Published

dstructs-cast-arrays

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

  • v1.0.3
  • 52.60
  • Published

@stdlib/array-base-accessor

Create a minimal array-like object supporting the accessor protocol from another array-like object.

  • v0.2.3
  • 49.75
  • Published

@daiso-tech/core

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

  • v0.48.2
  • 49.27
  • Published

xypriss

XyPriss is a lightweight, TypeScript-first, open-source Node.js web framework crafted for developers seeking a familiar Express-like API without Express dependencies. It features built-in security middleware, a robust routing system, and performance optim

  • v8.1.4
  • 43.52
  • Published

@stdlib/utils-count-by

Group values according to an indicator function and return group counts.

  • v0.2.3
  • 41.38
  • Published

doubt

Checks entity if array, arguments, iterable or array-like.

  • v0.34.0
  • 37.90
  • Published

is-like

Functions to check if a value is something alike.

  • v0.1.13
  • 36.24
  • Published

raze

Convert entity to Array instance.

  • v0.34.0
  • 36.05
  • Published

args-to-arr

converts arguments or any other array-like object into an array starting from specific index.

  • v1.4.9
  • 35.21
  • Published

plus

Enhanced Array-like Objects support, Array iteration methods for plain Objects and more

  • v0.1.0
  • 34.73
  • Published

xypriss-security

XyPriss Security is an advanced JavaScript security library designed for enterprise applications. It provides military-grade encryption, secure data structures, quantum-resistant cryptography, and comprehensive security utilities for modern web applicatio

  • v1.1.15
  • 33.94
  • Published

to-array.js

Converts primitives and objects (plain or array-like) to a sensible array representation for Node.js and the browser.

  • v0.10.0
  • 33.27
  • Published

@stdlib/utils-group

Group values as arrays associated with distinct keys.

  • v0.2.3
  • 32.05
  • Published

each-arg

Iterates through arguments or any other array-like object starting from specific index.

  • v1.1.3
  • 30.74
  • Published

is-length

Checks if the given value is a valid array-like length.

  • v1.0.1
  • 30.26
  • Published

@stdlib/utils-inmap

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

  • v0.2.3
  • 26.44
  • Published

flatten-list

Flatten an array or array-like objects

  • v0.0.2
  • 26.27
  • Published

menge

Minimalist set theory operations for Array-like objects in less than 1KB

  • v0.0.1
  • 26.20
  • Published

@stdlib/array-base-cunone-by-right

Cumulatively test whether every array element in a provided array fails a test implemented by a predicate function, while iterating from right-to-left.

  • v0.1.1
  • 21.70
  • Published

@stdlib/utils-every

Test whether all elements in a collection are truthy.

  • v0.2.3
  • 21.45
  • Published

@stdlib/utils-async-inmap

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

  • v0.2.3
  • 21.31
  • Published

@stdlib/array-base-cuevery-by-right

Cumulatively test whether every array element in a provided array passes a test implemented by a predicate function, while iterating from right-to-left.

  • v0.1.1
  • 21.17
  • Published

@stdlib/array-base-cuany-by-right

Cumulatively test whether at least one array element in a provided array passes a test implemented by a predicate function, while iterating from right-to-left.

  • v0.1.1
  • 21.07
  • Published

@stdlib/array-base-cusome-by-right

Cumulatively test whether at least `n` elements in a provided array pass a test implemented by a predicate function, while iterating from right-to-left.

  • v0.1.1
  • 21.01
  • Published

@stdlib/utils-while-each

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

  • v0.2.3
  • 20.47
  • Published

@stdlib/utils-push

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

  • v0.2.3
  • 19.82
  • 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.3
  • 19.28
  • Published

dot-object-array

Implements array-like methods for Object with support for dot notation keys

  • v3.1.2
  • 19.26
  • Published

@stdlib/object-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
  • 19.21
  • Published

@stdlib/utils-every-by

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

  • v0.2.3
  • 19.21
  • Published

@stdlib/utils-async-every-by

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

  • v0.2.3
  • 19.17
  • 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.3
  • 19.14
  • Published

@stdlib/utils-async-some-by

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

  • v0.2.3
  • 18.85
  • Published

@stdlib/utils-async-reduce

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

  • v0.2.3
  • 18.72
  • Published

@stdlib/utils-async-inmap-right

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

  • v0.2.3
  • 18.68
  • 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.3
  • 18.58
  • 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.3
  • 18.35
  • Published

@stdlib/utils-async-none-by

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

  • v0.2.3
  • 18.25
  • 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.3
  • 18.23
  • Published

@stdlib/utils-some

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

  • v0.2.3
  • 17.83
  • 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.3
  • 17.67
  • Published

@stdlib/utils-do-while-each

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

  • v0.2.3
  • 17.63
  • 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.3
  • 17.38
  • Published

pick-items

Given an array, pick some random elements and return them in a new array.

  • v1.0.4
  • 17.16
  • Published

@stdlib/utils-unshift

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

  • v0.2.3
  • 16.97
  • Published

compute-cast-arrays

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

  • v1.0.1
  • 16.79
  • 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.3
  • 16.79
  • Published

lib-collection

Library for work with collection

  • v0.2.0
  • 16.60
  • Published

@stdlib/utils-pop

Remove and return the last element of a collection.

  • v0.2.3
  • 16.60
  • Published

@stdlib/utils-do-until-each

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

  • v0.2.3
  • 16.55
  • 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.3
  • 16.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.3
  • 15.76
  • 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.3
  • 15.14
  • Published

xypriss-acpes

XyPriss Security is an advanced JavaScript security library designed for enterprise applications. It provides military-grade encryption, secure data structures, quantum-resistant cryptography, and comprehensive security utilities for modern web applicatio

  • v1.0.4
  • 14.96
  • 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.3
  • 14.84
  • 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.2
  • 14.65
  • Published

any-size

Get the size of a value.

  • v1.2.0
  • 14.26
  • Published

@stdlib/utils-append

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

  • v0.2.3
  • 14.24
  • 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.3
  • 13.62
  • Published

@stdlib/utils-any-by

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

  • v0.2.3
  • 13.62
  • Published

@stdlib/utils-until-each

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

  • v0.2.3
  • 13.39
  • Published

drop-left

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

  • v1.0.2
  • 13.31
  • Published

@stdlib/utils-none

Test whether all elements in a collection are falsy.

  • v0.2.3
  • 13.27
  • 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.3
  • 12.73
  • 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.3
  • 12.73
  • 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.3
  • 12.57
  • Published

@stdlib/utils-reduce

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

  • v0.2.2
  • 12.06
  • Published

@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.3
  • 12.05
  • Published

drop-right

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

  • v1.0.2
  • 11.99
  • Published

@stdlib/utils-any

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

  • v0.2.3
  • 11.78
  • Published

@stdlib/utils-none-by

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

  • v0.2.3
  • 11.78
  • Published

@stdlib/utils-shift

Remove and return the first element of a collection.

  • v0.2.3
  • 11.60
  • Published

arraylikeobj

Create an array-like object.

  • v1.1.1
  • 11.11
  • Published

slice-like

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

  • v1.0.0
  • 11.11
  • Published

oq-is-arrayish

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

  • v1.0.1
  • 10.63
  • Published

@stdlib/utils-prepend

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

  • v0.2.3
  • 9.79
  • 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.2
  • 9.57
  • 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.3
  • 9.11
  • 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
  • 8.39
  • Published

array-like

An inheritable Class that behaves like an Array

  • v0.1.0
  • 7.77
  • Published

@plaindb/log

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

  • v0.0.2
  • 7.15
  • 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.2
  • 6.65
  • Published

js-collection-operations

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

  • v1.0.5
  • 5.76
  • 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.3
  • 5.72
  • Published