JSPM

Found 10713 results for utility

type-fest

A collection of essential TypeScript types

  • v4.41.0
  • 64.90
  • Published

globby

User-friendly glob matching

  • v14.1.0
  • 61.46
  • Published

extend-shallow

Extend an object with the properties of additional objects. node.js/javascript util.

  • v3.0.2
  • 61.29
  • Published

async

Higher-order functions and common patterns for asynchronous code

  • v3.2.6
  • 61.00
  • Published

prelude-ls

prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.

  • v1.2.1
  • 60.88
  • Published

bytes

Utility to parse a string bytes to bytes and vice-versa

  • v3.1.2
  • 60.63
  • Published

follow-redirects

HTTP and HTTPS modules that follow redirects.

  • v1.15.9
  • 60.40
  • Published

escape-html

Escape string for use in HTML

  • v1.0.3
  • 59.68
  • Published

fb-watchman

Bindings for the Watchman file watching service

  • v2.0.2
  • 58.87
  • Published

meow

CLI app helper

  • v13.2.0
  • 58.09
  • Published

has-values

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

  • v2.0.1
  • 57.98
  • Published

normalize-range

Utility for normalizing a numeric range, with a wrapping function useful for polar coordinates

  • v0.1.2
  • 57.47
  • Published

filelist

Lazy-evaluating list of files, based on globs or regex patterns

  • v1.0.4
  • 57.27
  • Published

unist-util-is

unist utility to check if a node passes a test

  • v6.0.0
  • 57.00
  • Published

unist-util-visit-parents

unist utility to recursively walk over nodes, with ancestral information

  • v6.0.1
  • 56.99
  • Published

arr-union

Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.

  • v3.1.0
  • 56.50
  • Published

mdast-util-to-string

mdast utility to get the plain text content of a node

  • v4.0.0
  • 56.44
  • Published

vfile-message

vfile utility to create a virtual message

  • v4.0.3
  • 56.40
  • Published

classnames

A simple utility for conditionally joining classNames together

  • v2.5.1
  • 56.22
  • Published

process-warning

A small utility for creating warnings and emitting them.

  • v5.0.0
  • 55.80
  • Published

micromark-util-types

micromark utility with a couple of typescript types

  • v2.0.2
  • 55.44
  • Published

hastscript

hast utility to create trees

  • v9.0.1
  • 54.41
  • Published

mdast-util-phrasing

mdast utility to check if a node is phrasing content

  • v4.1.0
  • 54.24
  • Published

escape-goat

Escape a string for use in HTML or the inverse

  • v4.0.0
  • 54.00
  • Published

hast-util-whitespace

hast utility to check if a node is inter-element whitespace

  • v3.0.0
  • 53.87
  • Published

vfile-location

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

  • v5.0.3
  • 53.56
  • Published

@cypress/request

Cypress's fork of a simplified HTTP request client.

  • v3.0.9
  • 53.45
  • Published

mdast-util-gfm

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

  • v3.1.0
  • 53.32
  • Published

mdast-util-mdxjs-esm

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

  • v2.0.1
  • 52.91
  • Published

mdast-util-mdx-jsx

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

  • v3.2.0
  • 52.75
  • Published

hast-util-to-jsx-runtime

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

  • v2.3.6
  • 52.22
  • Published

cli-progress

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

  • v3.12.0
  • 52.21
  • Published

hast-util-raw

hast utility to reparse a tree

  • v9.1.0
  • 51.98
  • Published

meros

A fast 642B utility that makes reading multipart responses simple

  • v1.3.1
  • 51.80
  • Published

app-root-path

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

  • v3.1.0
  • 51.59
  • Published

utility-types

Utility Types Collection for TypeScript

  • v3.11.0
  • 51.43
  • Published

hast-util-is-element

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

  • v3.0.0
  • 51.43
  • Published

only

return whitelisted properties of an object

  • v0.0.2
  • 51.26
  • Published

koalas

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

  • v1.0.2
  • 51.21
  • Published

unist-builder

unist utility to create a new trees with a nice syntax

  • v4.0.0
  • 50.79
  • Published

@fastify/error

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

  • v4.2.0
  • 50.60
  • Published

mdast-util-mdx

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

  • v3.0.0
  • 50.16
  • Published

estree-util-visit

esast (and estree) utility to visit nodes

  • v2.0.0
  • 49.99
  • Published

oas-kit-common

Common utility functions for oas-kit

  • v1.0.8
  • 49.88
  • Published

rambda

Lightweight and faster alternative to Ramda with included TS definitions

  • v10.3.2
  • 49.88
  • Published

unist-util-remove

unist utility to remove nodes from a tree

  • v4.0.0
  • 49.66
  • Published

hast-util-to-string

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

  • v3.0.1
  • 49.62
  • Published

hast-util-to-estree

hast utility to transform to estree (JavaScript AST) JSX

  • v3.1.3
  • 49.61
  • Published

estree-util-to-js

estree (and esast) utility to serialize to JavaScript

  • v2.0.0
  • 49.39
  • Published

mdast-util-frontmatter

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

  • v2.0.1
  • 49.21
  • 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.95
  • Published

component-type

Type assertions aka less-broken `typeof`

  • v2.0.0
  • 48.89
  • Published

trim-off-newlines

Similar to String#trim() but removes only newlines

  • v1.0.3
  • 48.67
  • Published

watch

Utilities for watching file trees.

  • v1.0.2
  • 48.45
  • Published

postman-request

Simplified HTTP request client.

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

array-last

Get the last or last n elements in an array.

  • v1.3.0
  • 48.34
  • Published

start-server-and-test

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

  • v2.0.12
  • 48.31
  • Published

array-initial

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

  • v1.1.0
  • 48.01
  • Published

simple-bin-help

Simple help and sanity checks for Node CLI bin scripts

  • v1.8.0
  • 47.67
  • Published

ow

Function argument validation for humans

  • v2.0.0
  • 47.48
  • Published

esast-util-from-js

estree (and esast) utility to parse from JavaScript

  • v2.0.1
  • 47.31
  • 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
  • 47.28
  • Published

fast-loops

Small, performant & immutable iteration utilities for Arrays and Objects

  • v1.1.4
  • 47.01
  • Published

mdast-util-math

mdast extension to parse and serialize math

  • v3.0.0
  • 46.98
  • Published

mdast-util-directive

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

  • v3.1.0
  • 46.84
  • Published

nlcst-to-string

nlcst utility to transform a tree to a string

  • v4.0.0
  • 46.83
  • Published

vfile-reporter

vfile utility to create a report for a file

  • v8.1.1
  • 46.33
  • Published

vfile-statistics

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

  • v3.0.0
  • 46.21
  • Published

vfile-sort

vfile utility to sort messages by line/column

  • v4.0.0
  • 46.05
  • Published

hast-util-select

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

  • v6.0.4
  • 45.71
  • Published

unist-util-filter

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

  • v5.0.1
  • 45.56
  • Published

remeda

A utility library for JavaScript and Typescript.

  • v2.27.0
  • 45.48
  • Published

globalize

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

  • v1.7.0
  • 45.31
  • Published

eth-rpc-errors

Ethereum RPC and Provider errors.

  • v4.0.3
  • 45.20
  • Published

hast-util-embedded

hast utility to check if a node is an embedded element

  • v3.0.0
  • 45.16
  • Published

to-vfile

vfile utility to read and write to the file system

  • v8.0.0
  • 45.15
  • Published

gh-got

Convenience wrapper for Got to interact with the GitHub API

  • v10.0.0
  • 45.00
  • Published

hast-util-phrasing

hast utility to check if a node is phrasing content

  • v3.0.1
  • 44.83
  • 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

mdast-util-toc

mdast utility to generate a table of contents from a tree

  • v7.1.0
  • 44.36
  • Published

get-object

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

  • v0.2.0
  • 44.03
  • Published

bytes-iec

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

  • v3.1.1
  • 43.88
  • Published

utility

A collection of useful utilities.

  • v2.5.0
  • 43.43
  • Published

vfile-matter

vfile utility to parse the YAML front matter in a file

  • v5.0.1
  • 43.18
  • Published

cldrjs

Simple CLDR traverser

  • v0.5.5
  • 43.13
  • Published

log-utils

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

  • v1.0.0
  • 43.10
  • Published

typechecker

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

  • v9.3.0
  • 43.08
  • Published

fireworm

A crawling file watcher.

  • v0.7.2
  • 42.82
  • Published

combine-lists

Merge two lists, trying to preserve the order of both

  • v1.0.1
  • 42.51
  • Published

unist-util-select

unist utility to select nodes with CSS-like selectors

  • v5.1.0
  • 42.51
  • 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.38
  • Published

@sanity/asset-utils

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

  • v2.2.1
  • 42.09
  • Published

min-dash

Minimum utility toolbelt

  • v4.2.3
  • 41.95
  • Published

codsen-utils

Various utility functions

  • v1.6.8
  • 41.66
  • Published

pick-util

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

  • v1.1.5
  • 41.50
  • Published

unist-util-map

unist utility to create a new tree by mapping all nodes

  • v4.0.0
  • 41.41
  • Published

flat-util

Flatten a nested array.

  • v1.1.11
  • 41.36
  • Published

array-hyper-unique

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

  • v2.1.6
  • 41.14
  • Published

vitest-fail-on-console

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

  • v0.8.0
  • 40.97
  • Published

escape-regexp

Escape regular expression special characters

    • v0.0.1
    • 40.87
    • Published

    mocked-env

    Easy way to mock process.env during BDD testing

    • v1.3.5
    • 40.75
    • Published

    nanopop

    Ultra tiny, opinionated, positioning engine.

    • v2.4.2
    • 40.71
    • Published

    min-dom

    A minimal dom utility toolbelt

    • v5.1.1
    • 40.66
    • Published

    @mobily/ts-belt

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

    • v3.13.1
    • 40.61
    • Published

    coalescy

    Simple function that return the first non null or undefined argument

    • v1.0.0
    • 40.50
    • 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.50
    • Published

    type-component

    Cross-browser type assertions (less broken typeof)

      • v0.0.1
      • 40.24
      • Published

      serializerr

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

      • v1.0.3
      • 40.23
      • Published

      protochain

      Get the prototype chain of any value as an Array

      • v1.0.5
      • 40.23
      • Published

      omit-empty

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

      • v1.0.0
      • 40.18
      • Published

      yeoman-assert

      Assert utility from yeoman

      • v3.1.1
      • 39.82
      • Published

      cint

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

      • v9.1.0
      • 39.66
      • Published

      @sanity/timed-out

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

      • v4.0.2
      • 39.65
      • Published

      jkroso-type

      less broken typeof

      • v1.1.1
      • 39.59
      • Published

      unirest

      Simplified, lightweight HTTP client library

      • v0.6.0
      • 39.36
      • Published

      find-webpack

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

      • v2.2.1
      • 39.33
      • Published

      blacklist

      Returns a shallow copy of an object without blacklisted properties

      • v1.1.4
      • 39.19
      • Published

      cypress-failed-log

      Gets you the Cypress test command log as JSON on failure

      • v2.10.0
      • 39.12
      • Published

      ends-with

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

      • v1.0.1
      • 39.06
      • Published

      react-to-text

      Convert react components to plain text without any HTML markup

      • v2.0.1
      • 38.78
      • 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
      • 38.67
      • Published

      path-starts-with

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

      • v2.0.1
      • 38.61
      • Published