JSPM

Found 178 results for typed-array

dstructs-cast-arrays

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

  • v1.0.3
  • 49.83
  • Published

compute-array-dtype

Returns an array data type corresponding to an array constructor name.

  • v1.0.1
  • 49.72
  • Published

@stdlib/array-filled-by

Create a filled array according to a provided callback function.

  • v0.2.1
  • 40.99
  • Published

@stdlib/utils-count-by

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

  • v0.2.2
  • 39.22
  • Published

@stdlib/array-zeros

Create a zero-filled array having a specified length.

  • v0.2.2
  • 38.33
  • Published

@stdlib/array-empty

Create an uninitialized array having a specified length.

  • v0.3.0
  • 34.71
  • Published

@stdlib/array-one-to

Generate a linearly spaced numeric array whose elements increment by 1 starting from one.

  • v0.2.2
  • 31.05
  • Published

@stdlib/array-full

Create a filled array having a specified length.

  • v0.2.1
  • 27.10
  • Published

@stdlib/array-ones

Create an array filled with ones and having a specified length.

  • v0.2.1
  • 25.76
  • Published

@stdlib/utils-group

Group values as arrays associated with distinct keys.

  • v0.2.2
  • 21.43
  • Published

@stdlib/array-zero-to

Generate a linearly spaced numeric array whose elements increment by 1 starting from zero.

  • v0.2.2
  • 20.85
  • Published

@stdlib/array-nans

Create an array filled with NaNs and having a specified length.

  • v0.2.1
  • 19.15
  • Published

@stdlib/utils-inmap

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

  • v0.2.2
  • 16.75
  • Published

typed-numbers

Super simple type-safe fixed-length integers for TypeScript/JavaScript

  • v1.0.5
  • 16.42
  • 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.2
  • 13.38
  • Published

@stdlib/array-empty-like

Create an uninitialized array having the same length and data type as a provided array.

  • v0.3.0
  • 12.18
  • 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.08
  • 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.06
  • Published

compute-nans

Creates a NaN-filled matrix or array.

  • v1.0.0
  • 10.96
  • Published

@stdlib/utils-do-while-each

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

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

@stdlib/utils-prepend

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

  • v0.2.2
  • 9.05
  • Published

compute-ones

Creates a ones-filled matrix or array.

  • v1.0.1
  • 8.89
  • Published

@observ33r/object-generator

High-performance, customizable dummy object generator for testing and benchmarking.

  • v1.0.3
  • 8.89
  • Published

compute-cast-arrays

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

  • v1.0.1
  • 8.87
  • Published

logiq

Awesome logical and bitwise operators with support for TypedArrays

  • v0.1.3
  • 8.28
  • 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.19
  • 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.12
  • 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.12
  • 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.57
  • Published

@stdlib/array-ones-like

Create an array filled with ones and having the same length and data type as a provided array.

  • v0.2.1
  • 7.57
  • Published

compute-filled

Creates a filled matrix or array.

  • v1.0.1
  • 7.54
  • Published

@stdlib/array-zeros-like

Create a zero-filled array having the same length and data type as a provided array.

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

@stdlib/array-zero-to-like

Generate a linearly spaced numeric array whose elements increment by 1 starting from zero and having the same length and data type as a provided input array.

  • v0.2.2
  • 6.61
  • Published

binary-view

Return a pretty binary print of a typed array

  • v0.2.0
  • 6.56
  • Published

@stdlib/utils-push

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

  • v0.2.2
  • 6.56
  • Published

compute-zeros

Creates a zero-filled matrix or array.

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

typeable-array

A common TypeScript interface for Array and Typed arrays.

  • v1.0.0
  • 5.42
  • Published

compute-inf

Creates an infinity-filled matrix or array.

  • v1.0.0
  • 4.17
  • Published

eval-serialize

Serializes an input value for dynamic code evaluation.

  • v1.0.0
  • 4.10
  • Published

@stdlib/utils-append

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

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

@stdlib/utils-unshift

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

  • v0.2.2
  • 4.03
  • Published

@stdlib/utils-while-each

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

  • v0.2.2
  • 2.45
  • Published

@stdlib/utils-shift

Remove and return the first element of a collection.

  • v0.2.2
  • 2.38
  • Published

@stdlib/array-full-like

Create a filled array having the same length and data type as a provided array.

  • v0.2.1
  • 2.38
  • 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.38
  • Published

@stdlib/array-nans-like

Create an array filled with NaNs and having the same length and data type as a provided array.

  • v0.2.1
  • 0.00
  • Published

@stdlib/utils-pop

Remove and return the last element of a collection.

  • v0.2.2
  • 0.00
  • Published

nv-uintyped-mat

nv-uintyped-array ================= - nv-uintyped-array creat a mat-view of Uint-TypedArray - fixed col-number and row-number (when init) - the buffer can be SharedArrayBuffer

    • v1.0.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/array-one-to-like

    Generate a linearly spaced numeric array whose elements increment by 1 starting from one and having the same length and data type as a provided input array.

    • 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