JSPM

Found 202 results for arr

arr-flatten

Recursively flatten an array or arrays.

  • v1.1.0
  • 99.76
  • 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
  • 99.30
  • Published

array-ify

Turn anything into an array

  • v1.0.0
  • 97.82
  • Published

compare-func

Get a compare function for array to sort

  • v2.0.0
  • 95.30
  • 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.68
  • Published

arr-filter

Faster alternative to javascript's native filter method.

  • v1.1.2
  • 86.64
  • Published

sort-object

Sort the keys in an object.

  • v3.0.3
  • 84.29
  • Published

sort-asc

Sort array elements in ascending order.

  • v0.2.0
  • 84.28
  • 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
  • 84.00
  • Published

arr-map

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

  • v2.0.2
  • 83.67
  • Published

@arr/every

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

  • v1.0.1
  • 82.99
  • Published

@egjs/list-differ

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

  • v1.0.1
  • 80.37
  • Published

@egjs/children-differ

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

  • v1.0.1
  • 76.91
  • Published

array-hyper-unique

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

  • v2.1.6
  • 72.01
  • Published

array-to-error

Create an error from an array of error messages

  • v1.1.1
  • 70.57
  • Published

arr-swap

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

  • v1.0.1
  • 68.26
  • Published

utils-indexof

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

  • v1.0.0
  • 66.88
  • Published

indexed-filter

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

  • v1.0.3
  • 66.40
  • Published

@stdlib/utils-index-of

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

  • v0.2.2
  • 66.02
  • Published

array-intersection

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

  • v0.1.2
  • 62.60
  • Published

dot-wild

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

  • v3.0.1
  • 51.19
  • 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.85
  • Published

sort-object-keys2

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

  • v3.0.7
  • 50.63
  • Published

exclude-arr

Exclude elements from arrays.

  • v1.0.12
  • 47.90
  • Published

array-includes-all

Check if an array includes all the elements of another array

  • v2.0.0
  • 43.74
  • Published

arr-unique

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

  • v1.0.2
  • 40.99
  • Published

@egjs/vue-children-differ

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

  • v1.0.1
  • 40.90
  • 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
  • 39.45
  • Published

@egjs/react-children-differ

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

  • v1.0.1
  • 38.28
  • Published

arr-includes

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

  • v3.0.0
  • 37.49
  • Published

array-rest

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

  • v0.1.1
  • 34.76
  • Published

@arr/filter

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

  • v1.0.2
  • 31.49
  • 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
  • 31.35
  • Published

array-filter-unique

JavaScript array.filter() compatible unique filter

  • v3.1.0
  • 31.28
  • Published

sma

Calculate the simple moving average of an array.

  • v0.1.1
  • 30.50
  • Published

@arr/foreach

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

  • v1.0.1
  • 28.93
  • Published

@arr/map

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

  • v1.0.1
  • 28.58
  • Published

@arr/reduce

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

  • v1.0.3
  • 28.39
  • Published

@arr/reverse

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

  • v1.0.1
  • 27.30
  • Published

suni

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

  • v1.1.0
  • 27.00
  • Published

arr-lib

A lightweight library package for array operations (JS & TS)

    • v1.2.1
    • 27.00
    • Published

    @arr/find

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

    • v1.0.1
    • 26.48
    • Published

    stringx-js

    A comprehensive JavaScript library for string, number, and array manipulation inspired by Laravel. Includes 95+ string methods, 25+ number formatters, and 60 array utilities with fluent chaining, dot notation, and TypeScript support.

    • v1.1.3
    • 25.78
    • Published

    @arr/some

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

    • v1.0.1
    • 25.29
    • Published

    @arr/filter.mutate

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

    • v1.0.2
    • 25.08
    • Published

    unique-array

    Removed duplicate elements from the array

    • v1.0.1
    • 24.32
    • Published

    @arr/flatten

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

    • v1.0.1
    • 24.14
    • Published

    random-extra

    Seedable random number generator supporting many common distributions.

    • v5.0.2
    • 23.19
    • Published

    shuffle-arr

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

    • v1.0.1
    • 21.30
    • Published

    rc_array

    A wrapper around rc to allow arrays in environment configs.

    • v1.0.0
    • 21.00
    • Published

    @arr/unique

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

    • v1.0.1
    • 20.37
    • Published

    thx

    Get a random way to show your gratitude in different languages

    • v1.2.0
    • 20.18
    • Published

    @arr/findindex

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

    • v1.0.1
    • 19.71
    • Published

    @adriantombu/array-shuffle

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

    • v2.0.11
    • 19.56
    • 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
    • 19.28
    • Published

    @egjs/ngx-children-differ

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

    • v1.0.1
    • 19.28
    • 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.38
    • Published

    array-move-item

    Move an array item to a different position within array bounds

    • v1.0.0
    • 18.30
    • Published

    gay-functions

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

    • v1.1.2
    • 17.96
    • Published

    dot-prop-wild

    Get value from object or array using dot path and wildcard

    • v0.3.0
    • 16.92
    • Published

    num-in-delta

    check actual number is expected number ± delta

    • v1.0.10
    • 15.79
    • Published

    double-sort

    Sort an array on two object properties

    • v2.0.0
    • 15.53
    • Published

    simple-moving-avg

    Calculate the simple moving average for an array.

    • v0.1.0
    • 15.25
    • Published

    arr-del

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

    • v1.3.6
    • 14.58
    • Published

    dot-wild-tiny

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

    • v1.0.0
    • 14.36
    • Published

    circ-iter

    Simple circular Array and String iterator.

    • v2.0.0
    • 14.04
    • Published

    github-clone-labels

    Cloning labels from source repository to destination repository. Period.

    • v1.0.2
    • 13.98
    • Published

    is-obj-empty

    Check if an object is empty

    • v2.0.0
    • 13.98
    • 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
      • 13.86
      • Published

      sort-package-json2

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

      • v0.0.3
      • 13.77
      • Published

      raydiff

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

      • v1.0.0
      • 13.69
      • Published

      arrify-yh

      Convert a value to an array

      • v0.0.1
      • 13.68
      • Published

      sort-arr

      A tiny, fast and simplified array sort

      • v0.0.2
      • 13.29
      • Published

      uniq-array

      Returns an array by removing the duplicates

      • v1.0.1
      • 13.25
      • Published

      merge-array

      Merge arrays in to the first array

      • v1.0.0
      • 12.72
      • Published

      arutils

      Prototype utility of Array!

      • v1.1.0
      • 12.70
      • Published

      @arr/foreach.spec

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

      • v0.1.0
      • 12.64
      • Published

      arraify

      convert a value to array

      • v1.2.1
      • 12.52
      • Published

      one-sport-wh

      use for one-sport company

        • v1.0.3
        • 12.52
        • Published

        array-has

        Array#includes with support for regex

        • v1.0.0
        • 12.24
        • Published

        czzj-taro

        车主之家

          • v1.0.6
          • 12.02
          • Published

          dot-finder

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

          • v0.0.1
          • 11.49
          • Published

          array-no-repeat

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

          • v1.0.0
          • 11.48
          • Published

          arr-obj

          Convert arrays into objects by using unique fields.

          • v1.0.13
          • 11.46
          • Published

          @arr/reduceright

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

          • v1.0.3
          • 11.25
          • Published

          @arr/includes

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

          • v1.0.1
          • 11.08
          • Published

          randomise-array

          Randomise arrays and generate a new array with any given length

          • v1.0.4
          • 11.08
          • 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.89
          • Published

          one-sport

          use for one-sport company

            • v1.1.32
            • 10.66
            • Published

            jsonlee-utils

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

            • v1.0.6
            • 10.54
            • Published

            flatten-arguments

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

            • v1.0.0
            • 10.49
            • Published

            judge_arr

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

              • v1.0.4
              • 10.19
              • Published

              children-differ

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

              • v0.0.1
              • 10.07
              • Published

              map-array

              Map object keys and values into an array

              • v1.2.1
              • 9.71
              • Published

              posable-array-uniq

              Create an array or array-like without duplicates

              • v1.0.2
              • 9.57
              • Published

              @sovgut/gatekeeper

              Validation system using schemes in Swagger design

              • v2.3.2
              • 9.50
              • Published

              @arr/lastindexof

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

              • v0.1.0
              • 9.30
              • Published

              instant-sort

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

              • v1.1.5
              • 9.30
              • Published

              map-arr

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

              • v1.0.0
              • 9.17
              • Published

              unq-arr

              Simple package to remove duplicates elements in arrays

              • v1.0.0
              • 9.15
              • Published

              puzzle-array

              Responds to the shuffled array.

                • v1.0.6
                • 9.15
                • Published

                @arr/map.spec

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

                • v0.1.0
                • 9.15
                • Published

                test-kris

                kris npm test

                • v1.0.4
                • 9.15
                • Published

                is-arr

                Check if a value is an array `Polyfill`

                • v1.0.5
                • 8.94
                • Published

                markdown-sd

                A npm pacakge of markdown

                  • v1.0.3
                  • 8.81
                  • Published

                  async-func

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

                  • v1.2.6
                  • 8.69
                  • Published

                  arr-uni

                  Get the union of arrays of objects.

                  • v1.0.0
                  • 8.19
                  • Published

                  num-arr

                  Split an integer into an array of digits.

                  • v1.0.1
                  • 8.19
                  • Published

                  multiwhich

                  Find the paths of multiple executables in the PATH

                  • v1.0.0
                  • 8.19
                  • Published

                  @arr/indexof

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

                  • v0.1.0
                  • 8.16
                  • Published

                  array-occurrence

                  Get the number of occurrences of an item in an array

                  • v1.0.0
                  • 8.12
                  • Published

                  array-replace

                  Replace array values with String.prototype.replace

                  • v1.0.1
                  • 8.01
                  • Published

                  arrays-difference

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

                  • v1.0.0
                  • 7.61
                  • Published

                  one-sport-api

                  use for one-sport company

                    • v1.0.1
                    • 7.37
                    • Published

                    arr-sq

                    数组

                      • v1.0.1
                      • 7.33
                      • Published

                      react-children-differ

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

                      • v0.0.1
                      • 6.68
                      • Published

                      array-min

                      Get the smallest value in an array of numbers

                      • v1.1.0
                      • 6.43
                      • Published

                      array-max-length

                      Returns a new array with the given maximum length

                      • v2.0.0
                      • 6.43
                      • Published

                      delete-arr-duplicates

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

                        • v1.0.7
                        • 6.35
                        • Published

                        web__1

                        'this is a dog'

                          • v1.0.0
                          • 6.26
                          • Published

                          arrayheavy

                          delete repeat content for arr

                            • v1.2.0
                            • 6.25
                            • Published

                            remove-test

                            remove arr dup

                              • v2.0.0
                              • 6.25
                              • Published

                              chefeng-obj

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

                                • v1.0.0
                                • 5.39
                                • Published

                                dot-accessor

                                using dot path to access nested properties

                                • v0.0.1
                                • 5.22
                                • 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

                                arrayv2

                                New type JavaScript array.

                                • v0.1.4-a
                                • 5.21
                                • Published

                                randomize-obj

                                Randomize an Object or Array

                                • v1.0.0
                                • 4.21
                                • Published

                                ng-children-differ

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

                                • v0.0.1
                                • 4.09
                                • Published

                                map-array-g

                                Map object keys and values into an array

                                • v1.0.0
                                • 4.08
                                • Published

                                iol-link

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

                                  • v1.0.0
                                  • 4.06
                                  • Published

                                  list-differ

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

                                  • v0.0.1
                                  • 3.94
                                  • Published

                                  roziqov

                                  search in array

                                    • v1.2.1
                                    • 2.39
                                    • Published

                                    wuyujie

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

                                      • v1.0.6
                                      • 2.34
                                      • Published

                                      vue-children-differ

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

                                      • v0.0.1
                                      • 2.31
                                      • Published

                                      arr-common

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

                                      • v1.0.1
                                      • 0.00
                                      • Published

                                      arr-sdk

                                      Unified TypeScript SDK for Sonarr, Radarr, and Prowlarr

                                      • v0.1.0
                                      • 0.00
                                      • Published