JSPM

Found 202 results for arr

arr-flatten

Recursively flatten an array or arrays.

  • v1.1.0
  • 99.66
  • 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.15
  • Published

array-ify

Turn anything into an array

  • v1.0.0
  • 97.71
  • Published

compare-func

Get a compare function for array to sort

  • v2.0.0
  • 96.35
  • 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.99
  • Published

arr-filter

Faster alternative to javascript's native filter method.

  • v1.1.2
  • 86.21
  • Published

sort-object

Sort the keys in an object.

  • v3.0.3
  • 84.78
  • Published

sort-asc

Sort array elements in ascending order.

  • v0.2.0
  • 84.77
  • 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.06
  • Published

arr-map

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

  • v2.0.2
  • 83.91
  • Published

@arr/every

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

  • v1.0.1
  • 82.65
  • Published

@egjs/list-differ

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

  • v1.0.1
  • 80.55
  • 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.72
  • Published

array-to-error

Create an error from an array of error messages

  • v1.1.1
  • 70.72
  • Published

arr-swap

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

  • v1.0.1
  • 67.99
  • Published

utils-indexof

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

  • v1.0.0
  • 67.43
  • Published

indexed-filter

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

  • v1.0.3
  • 66.88
  • Published

@stdlib/utils-index-of

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

  • v0.2.2
  • 66.07
  • Published

array-intersection

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

  • v0.1.2
  • 62.29
  • Published

dot-wild

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

  • v3.0.1
  • 51.77
  • Published

sort-object-keys2

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

  • v3.0.7
  • 51.11
  • 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.68
  • Published

exclude-arr

Exclude elements from arrays.

  • v1.0.12
  • 48.40
  • Published

array-includes-all

Check if an array includes all the elements of another array

  • v2.0.0
  • 44.26
  • Published

@egjs/vue-children-differ

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

  • v1.0.1
  • 41.08
  • Published

arr-unique

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

  • v1.0.2
  • 40.70
  • 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.67
  • Published

@egjs/react-children-differ

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

  • v1.0.1
  • 38.23
  • Published

arr-includes

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

  • v3.0.0
  • 37.55
  • Published

array-rest

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

  • v0.1.1
  • 34.64
  • Published

@arr/filter

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

  • v1.0.2
  • 31.44
  • 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.13
  • Published

sma

Calculate the simple moving average of an array.

  • v0.1.1
  • 30.73
  • Published

array-filter-unique

JavaScript array.filter() compatible unique filter

  • v3.1.0
  • 29.06
  • Published

@arr/map

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

  • v1.0.1
  • 28.60
  • Published

@arr/foreach

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

  • v1.0.1
  • 28.46
  • Published

suni

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

  • v1.1.0
  • 28.10
  • Published

@arr/reduce

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

  • v1.0.3
  • 27.98
  • Published

@arr/reverse

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

  • v1.0.1
  • 27.11
  • Published

arr-lib

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

    • v1.2.1
    • 26.97
    • 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.87
    • Published

    @arr/find

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

    • v1.0.1
    • 25.78
    • Published

    @arr/filter.mutate

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

    • v1.0.2
    • 24.90
    • Published

    @arr/some

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

    • v1.0.1
    • 24.64
    • Published

    unique-array

    Removed duplicate elements from the array

    • v1.0.1
    • 24.51
    • Published

    @arr/flatten

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

    • v1.0.1
    • 23.97
    • Published

    random-extra

    Seedable random number generator supporting many common distributions.

    • v5.0.2
    • 23.12
    • Published

    rc_array

    A wrapper around rc to allow arrays in environment configs.

    • v1.0.0
    • 20.85
    • Published

    @arr/unique

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

    • v1.0.1
    • 20.34
    • Published

    thx

    Get a random way to show your gratitude in different languages

    • v1.2.0
    • 20.34
    • Published

    @arr/findindex

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

    • v1.0.1
    • 19.57
    • Published

    @adriantombu/array-shuffle

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

    • v2.0.11
    • 19.54
    • Published

    @egjs/ngx-children-differ

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

    • v1.0.1
    • 19.45
    • 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.15
    • 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.53
    • Published

    array-move-item

    Move an array item to a different position within array bounds

    • v1.0.0
    • 18.27
    • Published

    gay-functions

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

    • v1.1.2
    • 17.91
    • Published

    shuffle-arr

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

    • v1.0.1
    • 17.74
    • Published

    dot-prop-wild

    Get value from object or array using dot path and wildcard

    • v0.3.0
    • 16.87
    • Published

    num-in-delta

    check actual number is expected number ± delta

    • v1.0.10
    • 15.91
    • Published

    double-sort

    Sort an array on two object properties

    • v2.0.0
    • 15.42
    • Published

    simple-moving-avg

    Calculate the simple moving average for an array.

    • v0.1.0
    • 15.32
    • Published

    github-clone-labels

    Cloning labels from source repository to destination repository. Period.

    • v1.0.2
    • 14.58
    • Published

    arr-del

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

    • v1.3.6
    • 14.56
    • Published

    raydiff

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

    • v1.0.0
    • 14.04
    • Published

    circ-iter

    Simple circular Array and String iterator.

    • v2.0.0
    • 13.99
    • 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.91
      • Published

      sort-package-json2

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

      • v0.0.3
      • 13.72
      • Published

      arrify-yh

      Convert a value to an array

      • v0.0.1
      • 13.66
      • Published

      arutils

      Prototype utility of Array!

      • v1.1.0
      • 13.64
      • Published

      is-obj-empty

      Check if an object is empty

      • v2.0.0
      • 13.44
      • Published

      sort-arr

      A tiny, fast and simplified array sort

      • v0.0.2
      • 13.40
      • Published

      uniq-array

      Returns an array by removing the duplicates

      • v1.0.1
      • 13.15
      • Published

      @arr/foreach.spec

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

      • v0.1.0
      • 12.73
      • Published

      one-sport-wh

      use for one-sport company

        • v1.0.3
        • 12.63
        • Published

        dot-wild-tiny

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

        • v1.0.0
        • 12.41
        • Published

        array-has

        Array#includes with support for regex

        • v1.0.0
        • 12.23
        • Published

        arraify

        convert a value to array

        • v1.2.1
        • 11.95
        • Published

        merge-array

        Merge arrays in to the first array

        • v1.0.0
        • 11.62
        • Published

        dot-finder

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

        • v0.0.1
        • 11.58
        • Published

        randomise-array

        Randomise arrays and generate a new array with any given length

        • v1.0.4
        • 11.58
        • Published

        one-sport

        use for one-sport company

          • v1.1.32
          • 11.58
          • Published

          arr-obj

          Convert arrays into objects by using unique fields.

          • v1.0.13
          • 11.44
          • 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.88
          • Published

          @arr/reduceright

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

          • v1.0.3
          • 10.86
          • Published

          array-no-repeat

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

          • v1.0.0
          • 10.76
          • Published

          map-array

          Map object keys and values into an array

          • v1.2.1
          • 10.76
          • Published

          @arr/includes

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

          • v1.0.1
          • 10.76
          • Published

          jsonlee-utils

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

          • v1.0.6
          • 10.47
          • Published

          flatten-arguments

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

          • v1.0.0
          • 10.46
          • 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.17
            • Published

            children-differ

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

            • v0.0.1
            • 10.14
            • Published

            instant-sort

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

            • v1.1.5
            • 9.89
            • Published

            test-kris

            kris npm test

            • v1.0.4
            • 9.68
            • Published

            @sovgut/gatekeeper

            Validation system using schemes in Swagger design

            • v2.3.2
            • 9.58
            • Published

            puzzle-array

            Responds to the shuffled array.

              • v1.0.6
              • 9.14
              • Published

              markdown-sd

              A npm pacakge of markdown

                • v1.0.3
                • 8.78
                • Published

                czzj-taro

                车主之家

                  • v1.0.6
                  • 8.72
                  • Published

                  unq-arr

                  Simple package to remove duplicates elements in arrays

                  • v1.0.0
                  • 8.54
                  • Published

                  arrays-difference

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

                  • v1.0.0
                  • 8.41
                  • Published

                  is-arr

                  Check if a value is an array `Polyfill`

                  • v1.0.5
                  • 8.28
                  • Published

                  arr-uni

                  Get the union of arrays of objects.

                  • v1.0.0
                  • 8.25
                  • Published

                  num-arr

                  Split an integer into an array of digits.

                  • v1.0.1
                  • 8.25
                  • Published

                  multiwhich

                  Find the paths of multiple executables in the PATH

                  • v1.0.0
                  • 8.25
                  • Published

                  @arr/indexof

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

                  • v0.1.0
                  • 8.10
                  • Published

                  array-occurrence

                  Get the number of occurrences of an item in an array

                  • v1.0.0
                  • 8.09
                  • Published

                  map-arr

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

                  • v1.0.0
                  • 7.97
                  • Published

                  @arr/map.spec

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

                  • v0.1.0
                  • 7.87
                  • Published

                  one-sport-api

                  use for one-sport company

                    • v1.0.1
                    • 7.32
                    • Published

                    arr-sq

                    数组

                      • v1.0.1
                      • 7.31
                      • Published

                      @arr/lastindexof

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

                      • v0.1.0
                      • 7.27
                      • Published

                      array-replace

                      Replace array values with String.prototype.replace

                      • v1.0.1
                      • 7.27
                      • Published

                      react-children-differ

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

                      • v0.0.1
                      • 6.67
                      • Published

                      array-min

                      Get the smallest value in an array of numbers

                      • v1.1.0
                      • 6.41
                      • Published

                      array-max-length

                      Returns a new array with the given maximum length

                      • v2.0.0
                      • 6.41
                      • Published

                      async-func

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

                      • v1.2.6
                      • 6.37
                      • Published

                      delete-arr-duplicates

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

                        • v1.0.7
                        • 6.37
                        • Published

                        web__1

                        'this is a dog'

                          • v1.0.0
                          • 6.31
                          • Published

                          remove-test

                          remove arr dup

                            • v2.0.0
                            • 6.24
                            • Published

                            arrayheavy

                            delete repeat content for arr

                              • v1.2.0
                              • 6.24
                              • Published

                              posable-array-uniq

                              Create an array or array-like without duplicates

                              • v1.0.2
                              • 5.47
                              • Published

                              chefeng-obj

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

                                • v1.0.0
                                • 5.35
                                • Published

                                dot-accessor

                                using dot path to access nested properties

                                • v0.0.1
                                • 5.27
                                • Published

                                arrayv2

                                New type JavaScript array.

                                • v0.1.4-a
                                • 5.20
                                • 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.20
                                • 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.12
                                • Published

                                map-array-g

                                Map object keys and values into an array

                                • v1.0.0
                                • 4.05
                                • Published

                                iol-link

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

                                  • v1.0.0
                                  • 4.05
                                  • Published

                                  list-differ

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

                                  • v0.0.1
                                  • 3.93
                                  • Published

                                  roziqov

                                  search in array

                                    • v1.2.1
                                    • 2.41
                                    • Published

                                    wuyujie

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

                                      • v1.0.6
                                      • 2.35
                                      • Published

                                      vue-children-differ

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

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