JSPM

Found 10905 results for utility hooks

unist-util-filter

unist utility to create a new tree with nodes that pass a filter

  • v5.0.1
  • 45.94
  • Published

vfile-sort

vfile utility to sort messages by line/column

  • v4.0.0
  • 45.76
  • Published

remeda

A utility library for JavaScript and Typescript.

  • v2.30.0
  • 45.74
  • Published

hast-util-embedded

hast utility to check if a node is an embedded element

  • v3.0.0
  • 45.55
  • Published

globalize

A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.

  • v1.7.0
  • 45.53
  • Published

vfile-reporter

vfile utility to create a report for a file

  • v8.1.1
  • 45.52
  • Published

vfile-statistics

vfile utility to count messages per category: failures, warnings, etc

  • v3.0.0
  • 45.46
  • Published

hast-util-select

hast utility for `querySelector`, `querySelectorAll`, and `matches`

  • v6.0.4
  • 45.43
  • Published

trim-off-newlines

Similar to String#trim() but removes only newlines

  • v1.0.3
  • 45.07
  • Published

eth-rpc-errors

Ethereum RPC and Provider errors.

  • v4.0.3
  • 44.99
  • Published

to-vfile

vfile utility to read and write to the file system

  • v8.0.0
  • 44.90
  • Published

hast-util-phrasing

hast utility to check if a node is phrasing content

  • v3.0.1
  • 44.90
  • Published

require-and-forget

Require Node module and immediately remove it from module cache to force loading again next time

  • v1.0.1
  • 44.87
  • Published

get-object

Get a property from an object using dot (object path) notation.

  • v0.2.0
  • 44.38
  • Published

react-100-form

Simple form utility made using react hooks

  • v0.2.4
  • 44.38
  • Published

react-use-anywhere

Use React hooks anywhere in your codebase - in services, utilities, and business logic. Router-agnostic, hook-agnostic, and works with any React hooks (auth, navigation, state, custom hooks, etc.).

  • v1.1.2
  • 44.25
  • Published

gh-got

Convenience wrapper for Got to interact with the GitHub API

  • v10.0.0
  • 43.97
  • Published

mdast-util-toc

mdast utility to generate a table of contents from a tree

  • v7.1.0
  • 43.70
  • Published

bytes-iec

(IEC) Utility to parse a string bytes to bytes and vice-versa

  • v3.1.1
  • 43.57
  • Published

vfile-matter

vfile utility to parse the YAML front matter in a file

  • v5.0.1
  • 43.33
  • Published

log-utils

Tiny wrapper around ansi-colors to add colored symbols and a timestamp.

  • v1.0.0
  • 43.09
  • Published

utility

A collection of useful utilities.

  • v2.5.0
  • 42.93
  • Published

@tunnckocore/p-all

Map or loop through promises, promise-returning or async functions, serially or in parallel, based on Promise.all! Has a hooks system: start, beforeEach, afterEach, finish.

  • v0.2.0
  • 42.76
  • Published

@budibase/handlebars-helpers

More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.

  • v0.14.2
  • 42.75
  • Published

typechecker

Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)

  • v9.3.0
  • 42.53
  • Published

cldrjs

Simple CLDR traverser

  • v0.5.5
  • 42.51
  • Published

@sanity/asset-utils

<!-- This file is AUTO-GENERATED, edit _README.template.md or tweak scripts/generateDocs.ts -->

  • v2.3.0
  • 42.39
  • Published

react-use-cookie

A React hook for managing cookies with no dependencies.

  • v1.6.1
  • 42.11
  • Published

min-dash

Minimum utility toolbelt

  • v4.2.3
  • 41.85
  • Published

unist-util-select

unist utility to select nodes with CSS-like selectors

  • v5.1.0
  • 41.80
  • Published

fireworm

A crawling file watcher.

  • v0.7.2
  • 41.76
  • Published

pick-util

Return a copy of the object only containing the whitelisted properties.

  • v1.1.5
  • 41.70
  • Published

combine-lists

Merge two lists, trying to preserve the order of both

  • v1.0.1
  • 41.68
  • Published

vitest-fail-on-console

Utility to make vitest tests fail when console.error() or console.warn() are used

  • v0.10.0
  • 41.66
  • Published

nanopop

Ultra tiny, opinionated, positioning engine.

  • v2.4.2
  • 41.44
  • Published

flat-util

Flatten a nested array.

  • v1.1.11
  • 41.38
  • Published

array-hyper-unique

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

  • v2.1.6
  • 41.36
  • Published

inspreact

A lightweight React utility library by inspectph

  • v1.2.2
  • 41.25
  • Published

@raid/hooks

React hooks to complement @raid

  • v7.0.0
  • 41.18
  • Published

min-dom

A minimal dom utility toolbelt

  • v5.1.1
  • 41.12
  • Published

unist-util-map

unist utility to create a new tree by mapping all nodes

  • v4.0.0
  • 40.87
  • Published

mat653653

A unique JavaScript library for Discord bots with modern features and extensibility.

    • v0.2.9
    • 40.75
    • Published

    @mobily/ts-belt

    🔧 Fast, modern, and practical utility library for FP in TypeScript.

    • v3.13.1
    • 40.71
    • Published

    @firanorg/mollitia-molestias-accusamus

    [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

    • v10.13.142
    • 40.67
    • Published

    super-hooks

    A bank of utility hooks for UI react development

      • v1.0.6
      • 40.63
      • Published

      type-component

      Cross-browser type assertions (less broken typeof)

        • v0.0.1
        • 40.32
        • Published

        coalescy

        Simple function that return the first non null or undefined argument

        • v1.0.0
        • 40.21
        • Published

        handlebars-helpers

        More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.

        • v0.10.0
        • 40.11
        • Published

        codsen-utils

        Various utility functions

        • v1.6.8
        • 40.01
        • Published

        omit-empty

        Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.

        • v1.0.0
        • 39.70
        • Published

        escape-regexp

        Escape regular expression special characters

          • v0.0.1
          • 39.57
          • Published

          protochain

          Get the prototype chain of any value as an Array

          • v1.0.5
          • 39.39
          • Published

          cypress-failed-log

          Gets you the Cypress test command log as JSON on failure

          • v2.10.0
          • 39.31
          • Published

          blacklist

          Returns a shallow copy of an object without blacklisted properties

          • v1.1.4
          • 39.30
          • Published

          here

          here-document on node.js

          • v0.0.2
          • 39.29
          • Published

          react-advanced-hooks

          A collection of custom React hooks designed to handle advanced use cases, from managing asynchronous operations and state persistence to handling media queries and WebSocket connections. Each hook is designed for simplicity, efficiency, and ease of integr

            • v1.0.2
            • 39.26
            • Published

            serializerr

            Convert Errors & Objects into an easily-serialized vanilla Object.

            • v1.0.3
            • 39.19
            • Published

            react-to-text

            Convert react components to plain text without any HTML markup

            • v2.0.1
            • 39.18
            • Published

            sort-es

            Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!

            • v1.7.16
            • 39.17
            • Published

            jkroso-type

            less broken typeof

            • v1.1.1
            • 39.17
            • Published

            mocked-env

            Easy way to mock process.env during BDD testing

            • v1.3.5
            • 39.12
            • Published

            unirest

            Simplified, lightweight HTTP client library

            • v0.6.0
            • 38.84
            • Published

            @dramaorg/delectus-culpa-reprehenderit

            [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

            • v3.5.94
            • 38.70
            • Published

            lodash-decorators

            A collection of decorators using lodash at it's core.

            • v6.0.1
            • 38.45
            • Published

            es-escape-html

            es-escape-html rewrite for ESM

            • v0.1.1
            • 38.43
            • Published

            reduce-object

            Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu

            • v0.1.3
            • 38.02
            • Published

            ends-with

            Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.

            • v1.0.1
            • 38.02
            • Published

            @sanity/timed-out

            Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged

            • v4.0.2
            • 37.97
            • Published

            hast-util-to-dom

            hast utility to transform to the DOM

            • v4.0.1
            • 37.96
            • Published

            @hutechtechnical/nobis-dignissimos-maiores-omnis

            - [`useDebounce`](./docs/useDebounce.md) &mdash; 用来处理防抖值的 Hook。 - [`useDebouncedCallback`](./docs/useDebouncedCallback.md) &mdash; 用来处理防抖函数的 Hook。 - [`useImmer`](./docs/useImmer.md) &mdash; 用来处理不可变状态的 Hook。 - [`useShallow`](./docs/useShallow.md) &mdash; 用

            • v1.0.0
            • 37.95
            • Published

            path-starts-with

            Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.

            • v2.0.1
            • 37.93
            • Published

            starts-with

            Returns `true` if the given string or array starts with prefix using strict equality for comparisons. Using fastest implementation.

            • v1.0.2
            • 37.88
            • Published

            cint

            A library of Javascript utility functions with an emphasis on Functional Programming.

            • v9.1.0
            • 37.84
            • Published

            ahks

            Utility hooks, functions and constants

            • v0.4.1
            • 37.72
            • Published

            ngraph.merge

            Simple merge utility to extend objects without extra dependencies

            • v1.0.0
            • 37.62
            • Published

            @etecture/rex

            Exotic components, hooks and functions that you wouldn't find in the usual react component library.

            • v0.9.0
            • 37.46
            • Published

            sugar-core

            Core module for the Sugar Javascript utility library.

            • v2.0.6
            • 37.39
            • Published

            sugar

            A Javascript utility library for working with native objects.

            • v2.0.6
            • 37.38
            • Published

            vandium-utils

            vandium common utility functions

            • v2.0.0
            • 37.37
            • Published

            sl-request

            Simplified HTTP request client.

            • v1.0.6
            • 37.37
            • Published

            tsdef

            TypeScript common pattern shortcut definitions / utility gist library

            • v0.0.14
            • 37.18
            • Published

            vfile-find-up

            vfile utility to find one or more files by searching the file system upwards

            • v7.1.0
            • 37.15
            • Published

            am-i-a-dependency

            Check if the package is being installed by another package

            • v1.1.2
            • 37.11
            • Published

            is-undefined

            Check if a value is undefined or not.

            • v1.0.12
            • 36.78
            • Published

            nlcst-is-literal

            nlcst utility to check whether a node is meant literally

            • v3.0.0
            • 36.75
            • Published

            find-webpack

            Utility to find webpack settings in react-scripts and other situations

            • v2.2.1
            • 36.66
            • Published

            react-native-ios-utilities

            Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI

            • v5.1.8
            • 36.43
            • Published

            modern-async

            A modern tooling library for asynchronous operations using async/await, promises and async generators

            • v2.0.4
            • 36.31
            • Published

            any

            Returns `true` if a value exists in the given string, array or object.

            • v1.0.0
            • 36.29
            • Published

            yeoman-assert

            Assert utility from yeoman

            • v3.1.1
            • 36.21
            • Published

            repo-utils

            Utils for normalizing and formatting repo data.

            • v0.4.1
            • 36.20
            • Published

            @bahmutov/all-paths

            Given an object returns list of all possible paths to its properties

            • v1.0.2
            • 36.20
            • Published

            utils-regex-from-string

            Parses a regular expression string and returns a new regular expression.

            • v1.0.0
            • 36.09
            • Published

            utils-indexof

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

            • v1.0.0
            • 36.05
            • Published

            qsu

            qsu is a utility library that contains useful and frequently used functions. Start with your preferred language and the modern development environment.

            • v1.10.1
            • 36.00
            • Published

            object.filter

            Create a new object filtered to have only properties for which the callback returns true.

            • v0.3.0
            • 35.92
            • Published

            gamedig

            Query for the status of any game server in Node.JS

            • v5.3.1
            • 35.90
            • Published

            file_size_url

            A lightweight Node.js library to fetch the file size from a remote URL without downloading the file. Zero dependencies. Returns a Promise with the file size formatted as 'B', 'KB', 'MB', 'GB', or 'TB'.

            • v1.0.6
            • 35.87
            • Published

            nlcst-search

            nlcst utility to search for patterns in a tree

            • v4.0.0
            • 35.86
            • Published

            nlcst-normalize

            nlcst utility to normalize a word for easier comparison

            • v4.0.0
            • 35.84
            • Published

            @stdlib/utils-index-of

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

            • v0.2.2
            • 35.84
            • Published

            vitepress-sidebar

            A VitePress auto sidebar plugin that automatically creates a simple configuration.

            • v1.33.0
            • 35.71
            • Published

            @stdlib/utils-keys

            Return an array of an object's own enumerable property names.

            • v0.2.2
            • 35.62
            • Published

            nodecg-utility-obs

            A NodeCG utility that exposes a set of Replicants, Messages, and other hooks for interacting with OBS via obs-websocket

              • v6.1.7
              • 35.60
              • Published

              string-match-left-right

              Match substrings on the left or right of a given index, ignoring whitespace

              • v9.0.23
              • 35.60
              • Published

              html-crush

              Minify email templates

              • v6.0.23
              • 35.54
              • Published

              @asleepace/try

              TypeScript utilities for exception handling and errors-as-values.

                • v0.2.1
                • 35.52
                • Published

                mo-walk

                walk directory for esm and cjs modules

                • v1.2.0
                • 35.50
                • Published

                moderndash

                A Typescript-First utility library inspired by Lodash. Optimized for modern browsers.

                • v4.0.0
                • 35.47
                • Published

                @stdlib/string

                String manipulation functions.

                • v0.3.3
                • 35.13
                • Published

                ts-extras

                Essential utilities for TypeScript projects

                • v0.15.0
                • 35.13
                • Published

                responsive-style-kit

                A React utility for responsive scaling of styled-components with viewport-based size hooks.

                • v1.0.7
                • 35.11
                • Published

                pb-util

                Utilities for working with common protobuf types

                • v1.0.3
                • 35.09
                • Published

                @stdlib/assert

                Standard assertion utilities.

                • v0.3.3
                • 35.06
                • Published

                @stdlib/cli

                Command-line interface.

                • v0.3.3
                • 34.83
                • Published

                @dodobrat/dodo-ui

                Simple React Component Library + Utility hooks and functions

                • v0.0.4
                • 34.76
                • Published

                has-only

                Tells if the current Mocha execution is running only some tests that use .only

                • v1.1.1
                • 34.76
                • Published

                @psionic/emit-react

                A collection of React hooks for integration with the @psionic/emit library.

                  • v0.0.3
                  • 34.69
                  • Published

                  typy

                  Minimal JavaScript type checking library

                  • v3.3.0
                  • 34.69
                  • Published

                  @skyra/gifenc

                  A very fast server-side animated GIF generation for Node.js

                  • v1.0.1
                  • 34.64
                  • Published

                  @stdlib/os

                  OS utilities.

                  • v0.3.3
                  • 34.58
                  • Published

                  @blakek/curry

                  🍛 Simple curry functions

                  • v2.0.2
                  • 34.56
                  • Published