JSPM

Found 199 results for arr

arr-flatten

Recursively flatten an array or arrays.

  • v1.1.0
  • 99.90
  • Published

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
  • 98.52
  • Published

array-ify

Turn anything into an array

  • v1.0.0
  • 98.05
  • Published

compare-func

Get a compare function for array to sort

  • v2.0.0
  • 95.20
  • 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
  • 90.55
  • Published

arr-filter

Faster alternative to javascript's native filter method.

  • v1.1.2
  • 85.73
  • Published

sort-object

Sort the keys in an object.

  • v3.0.3
  • 83.73
  • Published

sort-asc

Sort array elements in ascending order.

  • v0.2.0
  • 83.72
  • 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
  • 83.62
  • Published

arr-map

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

  • v2.0.2
  • 83.57
  • Published

@egjs/list-differ

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

  • v1.0.1
  • 81.27
  • Published

@arr/every

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

  • v1.0.1
  • 81.09
  • Published

@egjs/children-differ

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

  • v1.0.1
  • 76.80
  • Published

array-hyper-unique

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

  • v2.1.6
  • 73.19
  • Published

array-to-error

Create an error from an array of error messages

  • v1.1.1
  • 69.68
  • Published

@stdlib/utils-index-of

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

  • v0.2.2
  • 68.42
  • Published

arr-swap

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

  • v1.0.1
  • 66.63
  • Published

utils-indexof

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

  • v1.0.0
  • 66.31
  • Published

indexed-filter

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

  • v1.0.3
  • 65.74
  • Published

array-intersection

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

  • v0.1.2
  • 62.17
  • Published

sort-object-keys2

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

  • v3.0.7
  • 52.35
  • Published

dot-wild

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

  • v3.0.1
  • 52.31
  • 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
  • 50.20
  • Published

exclude-arr

Exclude elements from arrays.

  • v1.0.12
  • 50.07
  • Published

array-includes-all

Check if an array includes all the elements of another array

  • v2.0.0
  • 42.74
  • Published

@egjs/vue-children-differ

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

  • v1.0.1
  • 40.69
  • Published

arr-unique

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

  • v1.0.2
  • 40.20
  • Published

@egjs/react-children-differ

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

  • v1.0.1
  • 38.36
  • Published

arr-includes

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

  • v3.0.0
  • 37.59
  • 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
  • 36.81
  • Published

array-rest

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

  • v0.1.1
  • 33.87
  • Published

@arr/find

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

  • v1.0.1
  • 29.90
  • Published

@arr/filter

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

  • v1.0.2
  • 29.43
  • Published

@arr/reduce

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

  • v1.0.3
  • 29.38
  • Published

@arr/map

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

  • v1.0.1
  • 29.20
  • Published

@arr/foreach

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

  • v1.0.1
  • 28.82
  • Published

sma

Calculate the simple moving average of an array.

  • v0.1.1
  • 28.31
  • Published

array-filter-unique

JavaScript array.filter() compatible unique filter

  • v3.1.0
  • 28.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
  • 27.95
  • Published

@arr/some

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

  • v1.0.1
  • 27.76
  • Published

@adriantombu/array-shuffle

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

  • v2.0.11
  • 27.51
  • Published

suni

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

  • v1.1.0
  • 26.23
  • Published

random-extra

Seedable random number generator supporting many common distributions.

  • v5.0.2
  • 25.22
  • Published

@arr/reverse

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

  • v1.0.1
  • 24.97
  • 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
  • 23.90
  • Published

@arr/filter.mutate

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

  • v1.0.2
  • 23.65
  • Published

unique-array

Removed duplicate elements from the array

  • v1.0.1
  • 23.09
  • Published

@arr/unique

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

  • v1.0.1
  • 22.59
  • Published

@arr/flatten

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

  • v1.0.1
  • 22.46
  • Published

array-move-item

Move an array item to a different position within array bounds

  • v1.0.0
  • 22.20
  • Published

shuffle-arr

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

  • v1.0.1
  • 21.45
  • Published

merge-array

Merge arrays in to the first array

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

@arr/findindex

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

  • v1.0.1
  • 18.46
  • Published

gay-functions

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

  • v1.1.2
  • 17.70
  • Published

@sovgut/gatekeeper

Validation system using schemes in Swagger design

  • v2.3.2
  • 17.64
  • Published

thx

Get a random way to show your gratitude in different languages

  • v1.2.0
  • 17.18
  • Published

@egjs/ngx-children-differ

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

  • v1.0.1
  • 17.02
  • Published

arr-obj

Convert arrays into objects by using unique fields.

  • v1.0.13
  • 16.75
  • 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
  • 16.58
  • Published

is-arr

Check if a value is an array `Polyfill`

  • v1.0.5
  • 16.47
  • Published

array-has

Array#includes with support for regex

  • v1.0.0
  • 16.36
  • Published

@arr/includes

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

  • v1.0.1
  • 16.23
  • Published

arraify

convert a value to array

  • v1.2.1
  • 15.88
  • Published

dot-prop-wild

Get value from object or array using dot path and wildcard

  • v0.3.0
  • 15.59
  • Published

@arr/reduceright

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

  • v1.0.3
  • 15.28
  • Published

raydiff

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

  • v1.0.0
  • 14.93
  • Published

randomise-array

Randomise arrays and generate a new array with any given length

  • v1.0.4
  • 14.69
  • Published

map-array

Map object keys and values into an array

  • v1.2.1
  • 14.47
  • 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
    • 14.39
    • Published

    sort-package-json2

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

    • v0.0.3
    • 14.17
    • Published

    num-in-delta

    check actual number is expected number ± delta

    • v1.0.10
    • 14.12
    • Published

    jsonlee-utils

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

    • v1.0.6
    • 14.02
    • Published

    arutils

    Prototype utility of Array!

    • v1.1.0
    • 13.88
    • Published

    github-clone-labels

    Cloning labels from source repository to destination repository. Period.

    • v1.0.2
    • 13.83
    • Published

    double-sort

    Sort an array on two object properties

    • v2.0.0
    • 13.75
    • Published

    test-kris

    kris npm test

    • v1.0.4
    • 12.81
    • Published

    one-sport

    use for one-sport company

      • v1.1.32
      • 12.59
      • Published

      delete-arr-duplicates

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

        • v1.0.7
        • 12.39
        • Published

        simple-moving-avg

        Calculate the simple moving average for an array.

        • v0.1.0
        • 12.11
        • Published

        @arr/lastindexof

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

        • v0.1.0
        • 12.04
        • Published

        flatten-arguments

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

        • v1.0.0
        • 11.90
        • Published

        multiwhich

        Find the paths of multiple executables in the PATH

        • v1.0.0
        • 11.86
        • Published

        arr-del

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

        • v1.3.6
        • 11.83
        • Published

        @arr/indexof

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

        • v0.1.0
        • 11.78
        • Published

        arrayv2

        New type JavaScript array.

        • v0.1.4-a
        • 11.46
        • Published

        @arr/foreach.spec

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

        • v0.1.0
        • 11.46
        • Published

        rc_array

        A wrapper around rc to allow arrays in environment configs.

        • v1.0.0
        • 11.38
        • Published

        is-obj-empty

        Check if an object is empty

        • v2.0.0
        • 11.25
        • Published

        react-children-differ

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

        • v0.0.1
        • 11.11
        • Published

        children-differ

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

        • v0.0.1
        • 11.02
        • Published

        dot-wild-tiny

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

        • v1.0.0
        • 10.84
        • Published

        array-min

        Get the smallest value in an array of numbers

        • v1.1.0
        • 10.58
        • Published

        map-array-g

        Map object keys and values into an array

        • v1.0.0
        • 10.48
        • Published

        arrays-difference

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

        • v1.0.0
        • 9.98
        • Published

        uniq-array

        Returns an array by removing the duplicates

        • v1.0.1
        • 9.97
        • Published

        list-differ

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

        • v0.0.1
        • 9.70
        • Published

        ng-children-differ

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

        • v0.0.1
        • 9.48
        • Published

        sort-arr

        A tiny, fast and simplified array sort

        • v0.0.2
        • 9.48
        • Published

        array-replace

        Replace array values with String.prototype.replace

        • v1.0.1
        • 9.32
        • Published

        async-func

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

        • v1.2.6
        • 9.32
        • Published

        array-no-repeat

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

        • v1.0.0
        • 9.22
        • Published

        array-max-length

        Returns a new array with the given maximum length

        • v2.0.0
        • 8.89
        • Published

        dot-finder

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

        • v0.0.1
        • 8.86
        • Published

        wuyujie

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

          • v1.0.6
          • 8.71
          • Published

          map-arr

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

          • v1.0.0
          • 8.62
          • Published

          @arr/map.spec

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

          • v0.1.0
          • 8.56
          • Published

          circ-iter

          Simple circular Array and String iterator.

          • v2.0.0
          • 8.19
          • Published

          unq-arr

          Simple package to remove duplicates elements in arrays

          • v1.0.0
          • 7.89
          • Published

          judge_arr

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

            • v1.0.4
            • 7.89
            • Published

            puzzle-array

            Responds to the shuffled array.

              • v1.0.6
              • 7.89
              • Published

              num-arr

              Split an integer into an array of digits.

              • v1.0.1
              • 7.38
              • Published

              web__1

              'this is a dog'

                • v1.0.0
                • 7.18
                • Published

                posable-array-uniq

                Create an array or array-like without duplicates

                • v1.0.2
                • 6.60
                • Published

                czzj-taro

                车主之家

                  • v1.0.6
                  • 6.36
                  • Published

                  array-occurrence

                  Get the number of occurrences of an item in an array

                  • v1.0.0
                  • 5.41
                  • Published

                  one-sport-api

                  use for one-sport company

                    • v1.0.1
                    • 5.36
                    • Published

                    instant-sort

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

                    • v1.1.5
                    • 5.30
                    • 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
                    • 5.21
                    • Published

                    randomize-obj

                    Randomize an Object or Array

                    • v1.0.0
                    • 4.30
                    • Published

                    iol-link

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

                      • v1.0.0
                      • 4.09
                      • Published

                      arr-uni

                      Get the union of arrays of objects.

                      • v1.0.0
                      • 4.08
                      • Published

                      remove-test

                      remove arr dup

                        • v2.0.0
                        • 3.94
                        • Published

                        arrify-yh

                        Convert a value to an array

                        • v0.0.1
                        • 2.51
                        • Published

                        markdown-sd

                        A npm pacakge of markdown

                          • v1.0.3
                          • 2.40
                          • Published

                          arr-common

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

                          • v1.0.1
                          • 2.40
                          • Published

                          roziqov

                          search in array

                            • v1.2.1
                            • 2.39
                            • Published

                            chefeng-obj

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

                              • v1.0.0
                              • 2.37
                              • Published

                              one-sport-wh

                              use for one-sport company

                                • v1.0.3
                                • 2.32
                                • Published

                                arrayheavy

                                delete repeat content for arr

                                  • v1.2.0
                                  • 2.31
                                  • Published

                                  arr-sq

                                  数组

                                    • v1.0.1
                                    • 0.00
                                    • Published

                                    dot-accessor

                                    using dot path to access nested properties

                                    • v0.0.1
                                    • 0.00
                                    • Published

                                    vue-children-differ

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

                                    • v0.0.1
                                    • 0.00
                                    • Published