JSPM

Found 227 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.16
  • Published

arr-flatten

Recursively flatten an array or arrays.

  • v1.1.0
  • 95.89
  • Published

array-ify

Turn anything into an array

  • v1.0.0
  • 93.03
  • Published

compare-func

Get a compare function for array to sort

  • v2.0.0
  • 90.81
  • 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
  • 87.40
  • Published

arr-filter

Faster alternative to javascript's native filter method.

  • v1.1.2
  • 81.34
  • 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
  • 81.34
  • Published

arr-map

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

  • v2.0.2
  • 81.19
  • Published

sort-object

Sort the keys in an object.

  • v3.0.3
  • 79.55
  • Published

sort-asc

Sort array elements in ascending order.

  • v0.2.0
  • 79.54
  • Published

@arr/every

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

  • v1.0.1
  • 75.75
  • Published

@egjs/list-differ

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

  • v1.0.1
  • 75.46
  • Published

@egjs/children-differ

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

  • v1.0.1
  • 71.79
  • Published

array-hyper-unique

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

  • v2.1.6
  • 68.54
  • Published

array-to-error

Create an error from an array of error messages

  • v1.1.1
  • 68.52
  • Published

utils-indexof

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

  • v1.0.0
  • 65.45
  • Published

indexed-filter

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

  • v1.0.3
  • 65.13
  • Published

@stdlib/utils-index-of

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

  • v0.2.2
  • 64.78
  • Published

arr-swap

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

  • v1.0.1
  • 64.48
  • Published

array-intersection

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

  • v0.1.2
  • 59.34
  • Published

dot-wild

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

  • v3.0.1
  • 52.01
  • Published

exclude-arr

Exclude elements from arrays.

  • v1.0.12
  • 51.79
  • Published

sort-object-keys2

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

  • v3.0.7
  • 48.95
  • Published

@egjs/vue-children-differ

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

  • v1.0.1
  • 42.61
  • Published

arr-unique

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

  • v1.0.2
  • 40.09
  • 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
  • 39.60
  • Published

@egjs/react-children-differ

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

  • v1.0.1
  • 37.23
  • Published

array-rest

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

  • v0.1.1
  • 34.85
  • Published

array-includes-all

Check if an array includes all the elements of another array

  • v2.0.0
  • 33.28
  • 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
  • 33.10
  • Published

sma

Calculate the simple moving average of an array.

  • v0.1.1
  • 31.17
  • Published

arr-includes

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

  • v3.0.0
  • 27.79
  • Published

@arr/find

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

  • v1.0.1
  • 27.44
  • Published

random-extra

Seedable random number generator supporting many common distributions.

  • v5.0.2
  • 27.39
  • Published

suni

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

  • v1.1.0
  • 27.08
  • Published

@arr/filter

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

  • v1.0.2
  • 26.75
  • Published

@arr/flatten

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

  • v1.0.1
  • 26.04
  • Published

array-filter-unique

JavaScript array.filter() compatible unique filter

  • v3.1.0
  • 25.95
  • Published

@arr/foreach

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

  • v1.0.1
  • 25.82
  • Published

@arr/reduce

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

  • v1.0.3
  • 25.72
  • Published

@arr/map

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

  • v1.0.1
  • 25.41
  • Published

@arr/some

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

  • v1.0.1
  • 25.14
  • 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
  • 25.08
  • Published

one-sport

use for one-sport company

    • v1.1.32
    • 24.74
    • Published

    @arr/filter.mutate

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

    • v1.0.2
    • 24.23
    • Published

    @arr/findindex

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

    • v1.0.1
    • 24.19
    • Published

    @sovgut/gatekeeper

    Validation system using schemes in Swagger design

    • v2.3.2
    • 23.94
    • Published

    @arr/includes

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

    • v1.0.1
    • 22.88
    • Published

    unique-array

    Removed duplicate elements from the array

    • v1.0.1
    • 21.97
    • 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
      • 21.50
      • 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.71
      • Published

      @egjs/ngx-children-differ

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

      • v1.0.1
      • 20.05
      • Published

      instant-sort

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

      • v1.1.5
      • 19.97
      • Published

      @arr/unique

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

      • v1.0.1
      • 19.33
      • Published

      array-move-item

      Move an array item to a different position within array bounds

      • v1.0.0
      • 18.98
      • Published

      merge-array

      Merge arrays in to the first array

      • v1.0.0
      • 18.96
      • Published

      rc_array

      A wrapper around rc to allow arrays in environment configs.

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

      thx

      Get a random way to show your gratitude in different languages

      • v1.2.0
      • 18.63
      • Published

      arr-obj

      Convert arrays into objects by using unique fields.

      • v1.0.13
      • 17.76
      • Published

      is-arr

      Check if a value is an array `Polyfill`

      • v1.0.5
      • 16.86
      • Published

      @adriantombu/array-shuffle

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

      • v2.0.11
      • 16.81
      • Published

      gay-functions

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

      • v1.1.2
      • 16.80
      • Published

      arraify

      convert a value to array

      • v1.2.1
      • 16.78
      • Published

      dot-prop-wild

      Get value from object or array using dot path and wildcard

      • v0.3.0
      • 16.65
      • Published

      simple-moving-avg

      Calculate the simple moving average for an array.

      • v0.1.0
      • 16.51
      • Published

      github-clone-labels

      Cloning labels from source repository to destination repository. Period.

      • v1.0.2
      • 16.33
      • Published

      @bemoje/arr-sorted-add

      For a sorted array, add an element. Whichever comparator function was used to sort the array, can be passed. Also supports comparator-builder options. For reference, see: https://github.com/bemoje/bemoje-arr-sort-comparator

      • v1.0.4
      • 15.85
      • Published

      @arr/reduceright

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

      • v1.0.3
      • 15.74
      • Published

      jsonlee-utils

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

      • v1.0.6
      • 15.51
      • Published

      dot-wild-tiny

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

      • v1.0.0
      • 15.21
      • Published

      map-array

      Map object keys and values into an array

      • v1.2.1
      • 15.11
      • Published

      async-func

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

      • v1.2.6
      • 15.02
      • Published

      @bemoje/arr-partition-index

      Linear-time Partitioning. Runtime: O(n). Chooses a pivot and re-arrages the array so that everything on the left is <= pivot and everything on the right is > pivot

      • v1.0.1
      • 14.94
      • Published

      @arr/foreach.spec

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

      • v0.1.0
      • 14.94
      • Published

      sort-package-json2

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

      • v0.0.3
      • 14.92
      • Published

      @bemoje/arr-sort

      Sort an array considerably faster than the native Array.prototype.sort as a drop-in replacement. Fork of of the famous timsort module, but this module allows for passing comparator-builder options instead of a comparator function. In short, advanced compa

      • v1.0.2
      • 14.85
      • Published

      array-has

      Array#includes with support for regex

      • v1.0.0
      • 14.83
      • Published

      arutils

      Prototype utility of Array!

      • v1.1.0
      • 14.82
      • Published

      randomise-array

      Randomise arrays and generate a new array with any given length

      • v1.0.4
      • 14.74
      • Published

      @bemoje/arr-bubble-sort

      Sort array by bubbling up bigger values to the right side. Runtime: O(n^2)

      • v1.1.1
      • 14.66
      • Published

      num-in-delta

      check actual number is expected number ± delta

      • v1.0.10
      • 14.47
      • Published

      arr-del

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

      • v1.3.6
      • 14.45
      • Published

      @bemoje/arr-index-of-first-where

      Return the index of the first element of an array where the callback returns true. Returns -1 if none do.

      • v1.0.1
      • 14.08
      • Published

      unq-arr

      Simple package to remove duplicates elements in arrays

      • v1.0.0
      • 14.03
      • Published

      @arr/reverse

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

      • v1.0.1
      • 13.90
      • Published

      shuffle-arr

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

      • v1.0.1
      • 13.85
      • Published

      @bemoje/arr-swap

      Swap array elements in place. Runtime: O(1)

      • v1.0.2
      • 13.81
      • Published

      @bemoje/arr-every

      Returns true if the predicate is satisfied for every element of the passed array; otherwise false.

      • v1.2.1
      • 13.70
      • Published

      uniq-array

      Returns an array by removing the duplicates

      • v1.0.1
      • 13.16
      • Published

      delete-arr-duplicates

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

        • v1.0.7
        • 12.93
        • Published

        @bemoje/arr-insertion-sort-numeric

        Sorting by insertion - Look for bigger numbers on the left side. Runtime: O(n^2). It starts from the 2nd element, and it tries to find any element (to the left) that could be bigger than the current index. It will move all the elements that are bigger and

        • v1.0.1
        • 12.80
        • Published

        one-sport-wh

        use for one-sport company

          • v1.0.3
          • 12.69
          • Published

          @bemoje/arr-quick-sort-numeric

          Efficient in-place recursive sorting algorithm of numeric values. Avg. Runtime: O(n log n) | Worst: O(n^2)

          • v1.0.1
          • 12.50
          • Published

          markdown-sd

          A npm pacakge of markdown

            • v1.0.3
            • 12.10
            • Published

            puzzle-array

            Responds to the shuffled array.

              • v1.0.6
              • 11.89
              • Published

              raydiff

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

              • v1.0.0
              • 11.87
              • Published

              arrays-difference

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

              • v1.0.0
              • 11.83
              • Published

              sort-arr

              A tiny, fast and simplified array sort

              • v0.0.2
              • 11.74
              • Published

              wuyujie

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

                • v1.0.6
                • 11.68
                • Published

                judge_arr

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

                  • v1.0.4
                  • 11.55
                  • Published

                  list-differ

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

                  • v0.0.1
                  • 11.55
                  • Published

                  array-min

                  Get the smallest value in an array of numbers

                  • v1.1.0
                  • 11.39
                  • Published

                  circ-iter

                  Simple circular Array and String iterator.

                  • v2.0.0
                  • 11.39
                  • Published

                  multiwhich

                  Find the paths of multiple executables in the PATH

                  • v1.0.0
                  • 11.33
                  • Published

                  arrayheavy

                  delete repeat content for arr

                    • v1.2.0
                    • 11.19
                    • Published

                    @bemoje/arr-first-where

                    Return the first element of an array where the callback returns true.

                    • v1.0.2
                    • 11.11
                    • Published

                    @bemoje/arr-get-all

                    Retrieve all elements in provided indexes array.

                    • v1.0.1
                    • 11.03
                    • Published

                    array-max-length

                    Returns a new array with the given maximum length

                    • v2.0.0
                    • 11.00
                    • Published

                    flatten-arguments

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

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

                    czzj-taro

                    车主之家

                      • v1.0.6
                      • 10.93
                      • Published

                      double-sort

                      Sort an array on two object properties

                      • v2.0.0
                      • 10.89
                      • Published

                      one-sport-api

                      use for one-sport company

                        • v1.0.1
                        • 10.89
                        • Published

                        @arr/indexof

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

                        • v0.1.0
                        • 10.89
                        • Published

                        arrayv2

                        New type JavaScript array.

                        • v0.1.4-a
                        • 10.81
                        • Published

                        test-kris

                        kris npm test

                        • v1.0.4
                        • 10.81
                        • Published

                        is-obj-empty

                        Check if an object is empty

                        • v2.0.0
                        • 10.55
                        • Published

                        @bemoje/arr-last-where

                        Return the last element of an array where the callback returns true.

                        • v1.0.2
                        • 10.52
                        • Published

                        @arr/lastindexof

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

                        • v0.1.0
                        • 10.51
                        • Published

                        @bemoje/arr-del

                        Remove an element in place from an array, if present.

                        • v2.0.1
                        • 10.44
                        • Published

                        array-no-repeat

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

                        • v1.0.0
                        • 10.32
                        • Published

                        arrify-yh

                        Convert a value to an array

                        • v0.0.1
                        • 10.01
                        • Published

                        roziqov

                        search in array

                          • v1.2.1
                          • 9.93
                          • Published

                          dot-finder

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

                          • v0.0.1
                          • 9.93
                          • Published

                          num-arr

                          Split an integer into an array of digits.

                          • v1.0.1
                          • 9.93
                          • Published

                          arr-common

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

                          • v1.0.1
                          • 9.64
                          • Published

                          posable-array-uniq

                          Create an array or array-like without duplicates

                          • v1.0.2
                          • 9.48
                          • Published

                          @arr/map.spec

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

                          • v0.1.0
                          • 9.47
                          • Published

                          @bemoje/arr-has

                          Returns true if the element exists in the array

                          • v1.0.1
                          • 9.45
                          • Published

                          array-replace

                          Replace array values with String.prototype.replace

                          • v1.0.1
                          • 9.04
                          • 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
                          • 8.94
                          • Published

                          map-arr

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

                          • v1.0.0
                          • 8.87
                          • Published

                          react-children-differ

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

                          • v0.0.1
                          • 8.83
                          • Published

                          iol-link

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

                            • v1.0.0
                            • 8.50
                            • Published

                            arr-sq

                            数组

                              • v1.0.1
                              • 8.50
                              • Published

                              map-array-g

                              Map object keys and values into an array

                              • v1.0.0
                              • 8.41
                              • Published

                              remove-test

                              remove arr dup

                                • v2.0.0
                                • 8.35
                                • Published

                                randomize-obj

                                Randomize an Object or Array

                                • v1.0.0
                                • 8.14
                                • Published

                                children-differ

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

                                • v0.0.1
                                • 8.07
                                • Published

                                @bemoje/arr-any

                                Check whether a condition is true for any element of an array. The condition check is in the form of a callback.

                                • v1.0.1
                                • 7.84
                                • Published

                                array-occurrence

                                Get the number of occurrences of an item in an array

                                • v1.0.0
                                • 7.84
                                • Published

                                @bemoje/arr-shuffle

                                Shuffle items in an array in-place. Runtime: O(n)

                                • v1.0.1
                                • 7.76
                                • Published

                                ng-children-differ

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

                                • v0.0.1
                                • 7.30
                                • Published

                                arr-uni

                                Get the union of arrays of objects.

                                • v1.0.0
                                • 7.30
                                • Published

                                vue-children-differ

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

                                • v0.0.1
                                • 6.91
                                • Published

                                web__1

                                'this is a dog'

                                  • v1.0.0
                                  • 6.91
                                  • Published

                                  dot-accessor

                                  using dot path to access nested properties

                                  • v0.0.1
                                  • 6.06
                                  • Published

                                  chefeng-obj

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

                                    • v1.0.0
                                    • 5.13
                                    • Published