JSPM

Found 199 results for arr

arr-diff

Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.

  • v4.0.0
  • 96.86
  • Published

arr-flatten

Recursively flatten an array or arrays.

  • v1.1.0
  • 96.53
  • Published

array-ify

Turn anything into an array

  • v1.0.0
  • 94.47
  • Published

compare-func

Get a compare function for array to sort

  • v2.0.0
  • 93.89
  • Published

make-iterator

Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.

  • v2.0.0
  • 89.73
  • Published

arr-filter

Faster alternative to javascript's native filter method.

  • v1.1.2
  • 84.03
  • Published

array-sort

Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used.

  • v1.0.0
  • 82.44
  • Published

sort-object

Sort the keys in an object.

  • v3.0.3
  • 82.42
  • Published

sort-asc

Sort array elements in ascending order.

  • v0.2.0
  • 82.41
  • Published

arr-map

Faster, node.js focused alternative to JavaScript's native array map.

  • v2.0.2
  • 82.22
  • Published

@egjs/list-differ

A module that checks the diff when values are added, removed, or changed in an array.

  • v1.0.1
  • 78.88
  • Published

@arr/every

A tiny, faster alternative to native Array.prototype.every

  • v1.0.1
  • 77.79
  • Published

@egjs/children-differ

A module that checks diff when child elements are added, removed, or changed

  • v1.0.1
  • 74.30
  • Published

array-hyper-unique

Get unique values of an array. Really, like deeply unique.

  • v2.1.6
  • 72.07
  • Published

array-to-error

Create an error from an array of error messages

  • v1.1.1
  • 68.22
  • Published

utils-indexof

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

  • v1.0.0
  • 66.57
  • Published

@stdlib/utils-index-of

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

  • v0.2.2
  • 66.08
  • Published

indexed-filter

Array#filter() with also detecting indexes of filtered values

  • v1.0.3
  • 65.55
  • Published

arr-swap

Swap two items in an array. Does not modify the Array prototype.

  • v1.0.1
  • 65.22
  • Published

array-intersection

Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.

  • v0.1.2
  • 60.67
  • Published

dot-wild

Use powerful dot notation (dot path + wildcard) to manipulate properties of JSON

  • v3.0.1
  • 52.70
  • Published

sort-object-keys2

Sort an object's keys, including an optional key list

  • v3.0.7
  • 51.01
  • Published

filter-object

Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.

  • v3.0.0
  • 49.14
  • Published

exclude-arr

Exclude elements from arrays.

  • v1.0.12
  • 46.25
  • Published

@egjs/vue-children-differ

A Vue directive that checks diff when child elements are added, removed, or changed

  • v1.0.1
  • 44.33
  • Published

arr-unique

Get unique values of an array. Really, like deeply unique.

  • v1.0.2
  • 42.37
  • Published

array-includes-all

Check if an array includes all the elements of another array

  • v2.0.0
  • 39.51
  • Published

arr-includes

Return positive value if (any of the) passed value(s) exists in array, or optionally an index

  • v3.0.0
  • 38.68
  • Published

array-rest

Gets all but the first element, or n elements in the given array.

  • v0.1.1
  • 36.23
  • Published

@egjs/react-children-differ

A React module that checks diff when child elements are added, removed, or changed

  • v1.0.1
  • 35.71
  • Published

array-sorter

Sort an array of objects by one or more properties in any order. Multiple properties and custom comparison functions can be used.

  • v1.0.3
  • 35.10
  • Published

arr-sort

Sort an object array by one or more properties even nested properties. Besides, you can determine the direction even supply a comparison function in each property sorting.

  • v1.2.5
  • 29.91
  • Published

@arr/find

A tiny, faster alternative to native Array.prototype.find

  • v1.0.1
  • 29.08
  • Published

@arr/reduce

A tiny, faster alternative to native Array.prototype.reduce

  • v1.0.3
  • 28.51
  • Published

@arr/map

A tiny, faster alternative to native Array.prototype.map

  • v1.0.1
  • 28.00
  • Published

sma

Calculate the simple moving average of an array.

  • v0.1.1
  • 27.95
  • Published

@arr/foreach

A tiny, faster alternative to native Array.prototype.forEach

  • v1.0.1
  • 27.90
  • Published

@arr/reverse

A tiny, faster alternative to native Array.prototype.reverse

  • v1.0.1
  • 26.99
  • Published

array-filter-unique

JavaScript array.filter() compatible unique filter

  • v3.1.0
  • 26.48
  • Published

@arr/filter

A tiny, faster alternative to native Array.prototype.filter

  • v1.0.2
  • 26.35
  • Published

@arr/some

A tiny, faster alternative to native Array.prototype.some

  • v1.0.1
  • 26.14
  • Published

random-extra

Seedable random number generator supporting many common distributions.

  • v5.0.2
  • 25.70
  • Published

suni

Arr, Hash, Is, Obj, Random, Str, Wrandom.

  • v1.1.0
  • 24.63
  • Published

@arr/filter.mutate

Fastest Array.filter alternative --- mutates original array!

  • v1.0.2
  • 23.74
  • Published

unique-array

Removed duplicate elements from the array

  • v1.0.1
  • 22.65
  • Published

array-move-item

Move an array item to a different position within array bounds

  • v1.0.0
  • 21.66
  • Published

arr-del

Delete array elements in one time by array consists of their indexes

  • v1.3.6
  • 21.05
  • Published

@arr/unique

A tiny (111B) & fast utility to retrieve all unique values from an Array

  • v1.0.1
  • 20.85
  • Published

lazy-arrayify

We are lazy, also [lazy-cache][]d and [browserify][]-ready - just arrayify, falsey values returns empty array. In bonus with `.isArray` method.

  • v1.0.3
  • 20.37
  • Published

@arr/flatten

A tiny (139B) & fast utility to recursively flatten an array of arrays!

  • v1.0.1
  • 18.33
  • Published

@arr/findindex

A tiny, faster alternative to native Array.prototype.findIndex

  • v1.0.1
  • 18.09
  • Published

@egjs/ngx-children-differ

An Angular directive that checks diff when child elements are added, removed, or changed

  • v1.0.1
  • 17.37
  • Published

@adriantombu/array-shuffle

A package that... well... shuffles the values of an array. Yup. That's all.

  • v2.0.11
  • 16.66
  • Published

dot-wild-tiny

Use powerful dot notation (dot path + wildcard) to access properties of JSON

  • v1.0.0
  • 16.57
  • Published

dot-prop-wild

Get value from object or array using dot path and wildcard

  • v0.3.0
  • 15.63
  • Published

num-in-delta

check actual number is expected number ± delta

  • v1.0.10
  • 15.44
  • Published

shuffle-arr

Randomize the order of the elements in array or array-like object.

  • v1.0.1
  • 15.43
  • Published

@arr/includes

A tiny, faster alternative to native Array.prototype.includes

  • v1.0.1
  • 15.33
  • Published

rc_array

A wrapper around rc to allow arrays in environment configs.

  • v1.0.0
  • 14.91
  • Published

array-has

Array#includes with support for regex

  • v1.0.0
  • 14.41
  • Published

double-sort

Sort an array on two object properties

  • v2.0.0
  • 14.24
  • Published

merge-array

Merge arrays in to the first array

  • v1.0.0
  • 13.85
  • Published

arutils

Prototype utility of Array!

  • v1.1.0
  • 12.91
  • Published

@arr/reduceright

A tiny, faster alternative to native Array.prototype.reduceRight

  • v1.0.3
  • 12.27
  • Published

lazy-utils

Most used utils, almost everywhere - [lazy-cache][]d. Including simple arrayify, [isobject][], [isarray][], [is-buffer][], [is-extendable][] and [extend-shallow][].

  • v1.1.0
  • 11.96
  • Published

thx

Get a random way to show your gratitude in different languages

  • v1.2.0
  • 11.96
  • Published

@arr/foreach.spec

A tiny, faster alternative to native Array.prototype.forEach

  • v0.1.0
  • 11.96
  • Published

uniq-array

Returns an array by removing the duplicates

  • v1.0.1
  • 11.92
  • Published

gay-functions

daily-util-functions-for-FE-code-farmer

  • v1.1.2
  • 11.49
  • Published

randomise-array

Randomise arrays and generate a new array with any given length

  • v1.0.4
  • 11.02
  • Published

simple-moving-avg

Calculate the simple moving average for an array.

  • v0.1.0
  • 10.78
  • Published

jtopo-editor-test

A npm pacakge of es6, it's a function of determinating a variable is an array or not.

    • v1.1.9
    • 10.27
    • Published

    @arr/indexof

    A tiny, faster alternative to native Array.prototype.indexOf

    • v0.1.0
    • 10.27
    • Published

    @arr/map.spec

    A tiny, faster alternative to native Array.prototype.map

    • v0.1.0
    • 10.03
    • Published

    unq-arr

    Simple package to remove duplicates elements in arrays

    • v1.0.0
    • 10.03
    • Published

    array-max-length

    Returns a new array with the given maximum length

    • v2.0.0
    • 9.72
    • Published

    flatten-arguments

    Fastest, simplest and smallest. Pass `arguments` object or list of arguments and get flattened array.

    • v1.0.0
    • 9.72
    • Published

    raydiff

    Filters array by removing matching elements contained in one or more additional arrays.

    • v1.0.0
    • 9.68
    • Published

    arr-obj

    Convert arrays into objects by using unique fields.

    • v1.0.13
    • 9.54
    • Published

    async-func

    Wait for an array/obj of async functions and return values when done.

    • v1.2.6
    • 9.23
    • Published

    array-no-repeat

    Create an array of unique values, in order, from the input arrays

    • v1.0.0
    • 9.11
    • Published

    github-clone-labels

    Cloning labels from source repository to destination repository. Period.

    • v1.0.2
    • 9.05
    • Published

    arr-filter-function

    Fast filter array to have only function values. But also allow you to give iterator function which will be called on each element of the array that is function - much like array.map functionallity. Useful when you want to filter, but also want to map in s

    • v1.0.0
    • 9.04
    • Published

    map-array

    Map object keys and values into an array

    • v1.2.1
    • 8.52
    • Published

    arraify

    convert a value to array

    • v1.2.1
    • 8.52
    • Published

    multiwhich

    Find the paths of multiple executables in the PATH

    • v1.0.0
    • 8.23
    • Published

    delete-arr-duplicates

    ``` const deleteArrDuplicates = require('delete-arr-duplicates') ```

      • v1.0.7
      • 7.95
      • Published

      test-kris

      kris npm test

      • v1.0.4
      • 7.76
      • Published

      arrays-difference

      Returns an array containing those elements which are present in first array and not in others

      • v1.0.0
      • 7.53
      • Published

      array-replace

      Replace array values with String.prototype.replace

      • v1.0.1
      • 7.18
      • Published

      jsonlee-utils

      [English Document](https://github.com/JsonLee12138/frontend-factory/blob/main/packages/utils/README.en.md)

      • v1.0.6
      • 7.18
      • Published

      sort-package-json2

      Sort an Object or package.json based on the well-known package.json keys

      • v0.0.3
      • 7.15
      • Published

      array-occurrence

      Get the number of occurrences of an item in an array

      • v1.0.0
      • 7.15
      • Published

      arr-filter-fn

      Filter and flattenify array to have only function values. Much like `arr-filter-function` package, but with flatten.

      • v1.0.0
      • 7.01
      • Published

      num-arr

      Split an integer into an array of digits.

      • v1.0.1
      • 6.52
      • Published

      instant-sort

      The fastest sorting algorithm ever with the speed of O(1)

      • v1.1.5
      • 6.30
      • Published

      array-min

      Get the smallest value in an array of numbers

      • v1.1.0
      • 6.27
      • Published

      circ-iter

      Simple circular Array and String iterator.

      • v2.0.0
      • 6.27
      • Published

      map-arr

      A tiny, faster alternative to native Array.prototype.map

      • v1.0.0
      • 6.22
      • Published

      ng-children-differ

      An Angular directive that checks diff when child elements are added, removed, or changed

      • v0.0.1
      • 5.44
      • Published

      dot-finder

      dot-finder is using powerful dot notation to get values in JSON object

      • v0.0.1
      • 5.44
      • Published

      arr-uni

      Get the union of arrays of objects.

      • v1.0.0
      • 5.44
      • Published

      @arr/lastindexof

      A tiny, faster alternative to native Array.prototype.lastIndexOf

      • v0.1.0
      • 5.25
      • Published

      arr-common

      获取两个数组中相同的元素

      • v1.0.1
      • 5.23
      • Published

      remove-test

      remove arr dup

        • v2.0.0
        • 5.13
        • Published

        is-obj-empty

        Check if an object is empty

        • v2.0.0
        • 4.17
        • Published

        is-arr

        Check if a value is an array `Polyfill`

        • v1.0.5
        • 4.17
        • Published

        roziqov

        search in array

          • v1.2.1
          • 4.11
          • Published

          sort-arr

          A tiny, fast and simplified array sort

          • v0.0.2
          • 4.11
          • Published

          one-sport-api

          use for one-sport company

            • v1.0.1
            • 3.97
            • Published

            web__1

            'this is a dog'

              • v1.0.0
              • 3.92
              • Published

              one-sport

              use for one-sport company

                • v1.1.32
                • 3.92
                • Published

                puzzle-array

                Responds to the shuffled array.

                  • v1.0.6
                  • 3.88
                  • Published

                  arrayheavy

                  delete repeat content for arr

                    • v1.2.0
                    • 3.88
                    • Published

                    posable-array-uniq

                    Create an array or array-like without duplicates

                    • v1.0.2
                    • 2.44
                    • Published

                    randomize-obj

                    Randomize an Object or Array

                    • v1.0.0
                    • 2.44
                    • Published

                    children-differ

                    A module that checks diff when elements are added, removed, or changed in children

                    • v0.0.1
                    • 2.41
                    • Published

                    @sovgut/gatekeeper

                    Validation system using schemes in Swagger design

                    • v2.3.2
                    • 2.41
                    • Published

                    czzj-taro

                    车主之家

                      • v1.0.6
                      • 2.32
                      • Published

                      wuyujie

                      A npm pacakge of es6, it's a function of determinating a variable is an array or not.

                        • v1.0.6
                        • 2.32
                        • Published

                        chefeng-obj

                        提供了并发请求、扁平化指定元素的数组

                          • v1.0.0
                          • 2.32
                          • Published

                          dot-accessor

                          using dot path to access nested properties

                          • v0.0.1
                          • 2.30
                          • Published

                          vue-children-differ

                          A Vue directive that checks diff when child elements are added, removed, or changed

                          • v0.0.1
                          • 2.30
                          • Published

                          arrayv2

                          New type JavaScript array.

                          • v0.1.4-a
                          • 2.27
                          • Published

                          markdown-sd

                          A npm pacakge of markdown

                            • v1.0.3
                            • 0.00
                            • Published

                            iol-link

                            iol项目组各个平台跳转地址

                              • v1.0.0
                              • 0.00
                              • Published

                              arr-sq

                              数组

                                • v1.0.1
                                • 0.00
                                • Published

                                map-array-g

                                Map object keys and values into an array

                                • v1.0.0
                                • 0.00
                                • Published

                                judge_arr

                                A npm pacakge of es6, it's a function of determinating a variable is an array or not.

                                  • v1.0.4
                                  • 0.00
                                  • Published

                                  list-differ

                                  A module that checks the diff when values are added, removed, or changed in an array.

                                  • v0.0.1
                                  • 0.00
                                  • Published

                                  one-sport-wh

                                  use for one-sport company

                                    • v1.0.3
                                    • 0.00
                                    • Published

                                    arrify-yh

                                    Convert a value to an array

                                    • v0.0.1
                                    • 0.00
                                    • Published

                                    react-children-differ

                                    A React module that checks diff when child elements are added, removed, or changed

                                    • v0.0.1
                                    • 0.00
                                    • Published