JSPM

Found 10895 results for utility hooks

hastscript

hast utility to create trees

  • v9.0.1
  • 53.58
  • Published

escape-goat

Escape a string for use in HTML or the inverse

  • v4.0.0
  • 52.99
  • Published

mdast-util-gfm

mdast extension to parse and serialize GFM (GitHub Flavored Markdown)

  • v3.1.0
  • 52.89
  • Published

@cypress/request

Cypress's fork of a simplified HTTP request client.

  • v3.0.9
  • 52.73
  • Published

mdast-util-mdx-jsx

mdast extension to parse and serialize MDX or MDX.js JSX

  • v3.2.0
  • 52.68
  • Published

vfile-location

vfile utility to convert between positional (line and column-based) and offset (range-based) locations

  • v5.0.3
  • 52.47
  • Published

mdast-util-mdxjs-esm

mdast extension to parse and serialize MDX.js ESM (import/exports)

  • v2.0.1
  • 52.47
  • Published

hast-util-to-jsx-runtime

hast utility to transform to preact, react, solid, svelte, vue, etc

  • v2.3.6
  • 51.97
  • Published

hast-util-raw

hast utility to reparse a tree

  • v9.1.0
  • 51.83
  • Published

cli-progress

easy to use progress-bar for command-line/terminal applications

  • v3.12.0
  • 51.46
  • Published

meros

A fast 642B utility that makes reading multipart responses simple

  • v1.3.1
  • 51.36
  • Published

hast-util-is-element

hast utility to check if a node is a (certain) element

  • v3.0.0
  • 50.99
  • Published

app-root-path

Determine an app's root path from anywhere inside the app

  • v3.1.0
  • 50.95
  • Published

utility-types

Utility Types Collection for TypeScript

  • v3.11.0
  • 50.84
  • Published

koalas

Coalesce for JavaScript. Returns the first value that is not undefined or null.

  • v1.0.2
  • 50.24
  • Published

estree-util-visit

esast (and estree) utility to visit nodes

  • v2.0.0
  • 50.23
  • Published

only

return whitelisted properties of an object

  • v0.0.2
  • 50.18
  • Published

@fastify/error

A small utility, used by Fastify itself, for generating consistent error objects across your codebase and plugins.

  • v4.2.0
  • 50.07
  • Published

unist-builder

unist utility to create a new trees with a nice syntax

  • v4.0.0
  • 50.01
  • Published

rambda

Lightweight and faster alternative to Ramda with included TS definitions

  • v10.3.2
  • 49.59
  • Published

mdast-util-mdx

mdast extension to parse and serialize MDX (or MDX.js)

  • v3.0.0
  • 49.37
  • Published

mdast-util-frontmatter

mdast extension to parse and serialize frontmatter (YAML, TOML, etc)

  • v2.0.1
  • 49.30
  • Published

hast-util-to-estree

hast utility to transform to estree (JavaScript AST) JSX

  • v3.1.3
  • 49.18
  • Published

hast-util-to-string

hast utility to get the plain-text value of a node

  • v3.0.1
  • 49.10
  • Published

oas-kit-common

Common utility functions for oas-kit

  • v1.0.8
  • 49.06
  • Published

estree-util-to-js

estree (and esast) utility to serialize to JavaScript

  • v2.0.0
  • 48.86
  • Published

hast-util-to-text

hast utility to get the plain-text value of a node according to the `innerText` algorithm

  • v4.0.2
  • 48.81
  • Published

unist-util-remove

unist utility to remove nodes from a tree

  • v4.0.0
  • 48.32
  • Published

component-type

Type assertions aka less-broken `typeof`

  • v2.0.0
  • 48.28
  • Published

start-server-and-test

Starts server, waits for URL, then runs test command; when the tests end, shuts down server

  • v2.0.13
  • 48.22
  • Published

postman-request

Simplified HTTP request client.

  • v2.88.1-postman.43
  • 47.79
  • Published

array-last

Get the last or last n elements in an array.

  • v1.3.0
  • 47.39
  • Published

simple-bin-help

Simple help and sanity checks for Node CLI bin scripts

  • v1.8.0
  • 47.24
  • Published

nlcst-to-string

nlcst utility to transform a tree to a string

  • v4.0.0
  • 47.18
  • Published

ow

Function argument validation for humans

  • v2.0.0
  • 47.10
  • Published

esast-util-from-js

estree (and esast) utility to parse from JavaScript

  • v2.0.1
  • 47.02
  • Published

array-initial

Get all but the last element or last n elements of an array.

  • v1.1.0
  • 46.88
  • Published

mdast-util-math

mdast extension to parse and serialize math

  • v3.0.0
  • 46.73
  • Published

parse-numeric-range

Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers

  • v1.3.0
  • 46.54
  • Published

mdast-util-directive

mdast extension to parse and serialize generic directives (`:cite[smith04]`)

  • v3.1.0
  • 46.53
  • Published

fast-loops

Small, performant & immutable iteration utilities for Arrays and Objects

  • v1.1.4
  • 46.15
  • Published

watch

Utilities for watching file trees.

  • v1.0.2
  • 45.90
  • Published

unist-util-filter

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

  • v5.0.1
  • 45.35
  • Published

vfile-reporter

vfile utility to create a report for a file

  • v8.1.1
  • 45.24
  • Published

vfile-statistics

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

  • v3.0.0
  • 45.23
  • Published

hast-util-select

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

  • v6.0.4
  • 45.17
  • Published

vfile-sort

vfile utility to sort messages by line/column

  • v4.0.0
  • 45.00
  • Published

hast-util-embedded

hast utility to check if a node is an embedded element

  • v3.0.0
  • 44.95
  • Published

remeda

A utility library for JavaScript and Typescript.

  • v2.30.0
  • 44.94
  • Published

globalize

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

  • v1.7.0
  • 44.90
  • Published

trim-off-newlines

Similar to String#trim() but removes only newlines

  • v1.0.3
  • 44.89
  • Published

require-and-forget

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

  • v1.0.1
  • 44.76
  • Published

hast-util-phrasing

hast utility to check if a node is phrasing content

  • v3.0.1
  • 44.63
  • Published

eth-rpc-errors

Ethereum RPC and Provider errors.

  • v4.0.3
  • 44.35
  • Published

to-vfile

vfile utility to read and write to the file system

  • v8.0.0
  • 44.30
  • Published

get-object

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

  • v0.2.0
  • 43.66
  • Published

mdast-util-toc

mdast utility to generate a table of contents from a tree

  • v7.1.0
  • 43.27
  • Published

gh-got

Convenience wrapper for Got to interact with the GitHub API

  • v10.0.0
  • 43.08
  • Published

bytes-iec

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

  • v3.1.1
  • 43.01
  • Published

vfile-matter

vfile utility to parse the YAML front matter in a file

  • v5.0.1
  • 42.50
  • Published

log-utils

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

  • v1.0.0
  • 42.49
  • Published

utility

A collection of useful utilities.

  • v2.5.0
  • 42.44
  • Published

cldrjs

Simple CLDR traverser

  • v0.5.5
  • 42.27
  • Published

typechecker

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

  • v9.3.0
  • 42.27
  • 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.20
  • Published

react-use-cookie

A React hook for managing cookies with no dependencies.

  • v1.6.1
  • 41.81
  • Published

@sanity/asset-utils

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

  • v2.3.0
  • 41.79
  • Published

unist-util-select

unist utility to select nodes with CSS-like selectors

  • v5.1.0
  • 41.20
  • Published

min-dash

Minimum utility toolbelt

  • v4.2.3
  • 41.20
  • Published

combine-lists

Merge two lists, trying to preserve the order of both

  • v1.0.1
  • 41.08
  • Published

fireworm

A crawling file watcher.

  • v0.7.2
  • 41.06
  • Published

pick-util

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

  • v1.1.5
  • 41.05
  • Published

min-dom

A minimal dom utility toolbelt

  • v5.1.1
  • 41.04
  • Published

flat-util

Flatten a nested array.

  • v1.1.11
  • 40.91
  • Published

vitest-fail-on-console

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

  • v0.10.0
  • 40.89
  • Published

array-hyper-unique

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

  • v2.1.6
  • 40.85
  • Published

nanopop

Ultra tiny, opinionated, positioning engine.

  • v2.4.2
  • 40.75
  • Published

unist-util-map

unist utility to create a new tree by mapping all nodes

  • v4.0.0
  • 40.31
  • Published

type-component

Cross-browser type assertions (less broken typeof)

    • v0.0.1
    • 40.28
    • 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.27
    • Published

    @mobily/ts-belt

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

    • v3.13.1
    • 40.20
    • Published

    mat653653

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

      • v0.2.9
      • 39.96
      • 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
      • 39.80
      • Published

      escape-regexp

      Escape regular expression special characters

        • v0.0.1
        • 39.74
        • Published

        coalescy

        Simple function that return the first non null or undefined argument

        • v1.0.0
        • 39.60
        • Published

        codsen-utils

        Various utility functions

        • v1.6.8
        • 39.49
        • Published

        omit-empty

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

        • v1.0.0
        • 39.42
        • Published

        react-to-text

        Convert react components to plain text without any HTML markup

        • v2.0.1
        • 39.04
        • Published

        serializerr

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

        • v1.0.3
        • 38.79
        • Published

        jkroso-type

        less broken typeof

        • v1.1.1
        • 38.78
        • Published

        blacklist

        Returns a shallow copy of an object without blacklisted properties

        • v1.1.4
        • 38.74
        • Published

        protochain

        Get the prototype chain of any value as an Array

        • v1.0.5
        • 38.72
        • Published

        here

        here-document on node.js

        • v0.0.2
        • 38.67
        • Published

        cypress-failed-log

        Gets you the Cypress test command log as JSON on failure

        • v2.10.0
        • 38.64
        • Published

        unirest

        Simplified, lightweight HTTP client library

        • v0.6.0
        • 38.46
        • 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
        • 38.45
        • Published

        mocked-env

        Easy way to mock process.env during BDD testing

        • v1.3.5
        • 38.43
        • 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
        • 38.31
        • 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.30
        • Published

        lodash-decorators

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

        • v6.0.1
        • 38.10
        • 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.91
        • Published

        @sanity/timed-out

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

        • v4.0.2
        • 37.90
        • Published

        es-escape-html

        es-escape-html rewrite for ESM

        • v0.1.1
        • 37.89
        • 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.66
        • Published

        ends-with

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

        • v1.0.1
        • 37.48
        • 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
        • 37.43
        • Published

        cint

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

        • v9.1.0
        • 37.30
        • Published

        hast-util-to-dom

        hast utility to transform to the DOM

        • v4.0.1
        • 37.27
        • 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.18
        • Published

        ngraph.merge

        Simple merge utility to extend objects without extra dependencies

        • v1.0.0
        • 37.08
        • Published

        @etecture/rex

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

        • v0.9.0
        • 37.00
        • Published

        sugar

        A Javascript utility library for working with native objects.

        • v2.0.6
        • 36.94
        • Published

        sl-request

        Simplified HTTP request client.

        • v1.0.6
        • 36.88
        • Published

        sugar-core

        Core module for the Sugar Javascript utility library.

        • v2.0.6
        • 36.87
        • Published

        bresnow_utility-react-hooks

        Modular utility hooks that we often use grouped in one package. Written in TypeScript, documented, tested and maintained.Disclaimer: at least React 16 is needed (the one with hooks ;) )

        • v0.2.9
        • 36.82
        • Published

        vfile-find-up

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

        • v7.1.0
        • 36.69
        • Published

        vandium-utils

        vandium common utility functions

        • v2.0.0
        • 36.61
        • Published

        tsdef

        TypeScript common pattern shortcut definitions / utility gist library

        • v0.0.14
        • 36.53
        • 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
          • 36.53
          • Published

          nlcst-is-literal

          nlcst utility to check whether a node is meant literally

          • v3.0.0
          • 36.51
          • Published

          am-i-a-dependency

          Check if the package is being installed by another package

          • v1.1.2
          • 36.43
          • Published

          is-undefined

          Check if a value is undefined or not.

          • v1.0.12
          • 36.12
          • Published

          find-webpack

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

          • v2.2.1
          • 36.06
          • Published

          react-native-ios-utilities

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

          • v5.1.8
          • 35.97
          • Published