JSPM

Found 10886 results for utility

gh-got

Convenience wrapper for Got to interact with the GitHub API

  • v10.0.0
  • 43.43
  • Published

mdast-util-toc

mdast utility to generate a table of contents from a tree

  • v7.1.0
  • 43.37
  • Published

bytes-iec

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

  • v3.1.1
  • 43.22
  • Published

vfile-matter

vfile utility to parse the YAML front matter in a file

  • v5.0.1
  • 42.80
  • Published

log-utils

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

  • v1.0.0
  • 42.80
  • Published

utility

A collection of useful utilities.

  • v2.5.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.45
  • Published

typechecker

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

  • v9.3.0
  • 42.30
  • Published

cldrjs

Simple CLDR traverser

  • v0.5.5
  • 42.28
  • Published

@sanity/asset-utils

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

  • v2.3.0
  • 42.08
  • Published

min-dash

Minimum utility toolbelt

  • v4.2.3
  • 41.45
  • Published

fireworm

A crawling file watcher.

  • v0.7.2
  • 41.44
  • Published

unist-util-select

unist utility to select nodes with CSS-like selectors

  • v5.1.0
  • 41.44
  • Published

combine-lists

Merge two lists, trying to preserve the order of both

  • v1.0.1
  • 41.43
  • Published

pick-util

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

  • v1.1.5
  • 41.32
  • Published

flat-util

Flatten a nested array.

  • v1.1.11
  • 41.21
  • Published

vitest-fail-on-console

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

  • v0.10.0
  • 41.19
  • Published

array-hyper-unique

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

  • v2.1.6
  • 40.94
  • Published

min-dom

A minimal dom utility toolbelt

  • v5.1.1
  • 40.92
  • Published

nanopop

Ultra tiny, opinionated, positioning engine.

  • v2.4.2
  • 40.90
  • Published

unist-util-map

unist utility to create a new tree by mapping all nodes

  • v4.0.0
  • 40.61
  • Published

@mobily/ts-belt

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

  • v3.13.1
  • 40.38
  • Published

type-component

Cross-browser type assertions (less broken typeof)

    • v0.0.1
    • 40.29
    • 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.98
    • Published

    codsen-utils

    Various utility functions

    • v1.6.8
    • 39.79
    • Published

    escape-regexp

    Escape regular expression special characters

      • v0.0.1
      • 39.77
      • Published

      coalescy

      Simple function that return the first non null or undefined argument

      • v1.0.0
      • 39.61
      • Published

      omit-empty

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

      • v1.0.0
      • 39.60
      • Published

      react-to-text

      Convert react components to plain text without any HTML markup

      • v2.0.1
      • 38.98
      • Published

      serializerr

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

      • v1.0.3
      • 38.97
      • Published

      blacklist

      Returns a shallow copy of an object without blacklisted properties

      • v1.1.4
      • 38.95
      • Published

      protochain

      Get the prototype chain of any value as an Array

      • v1.0.5
      • 38.95
      • Published

      cypress-failed-log

      Gets you the Cypress test command log as JSON on failure

      • v2.10.0
      • 38.93
      • Published

      jkroso-type

      less broken typeof

      • v1.1.1
      • 38.91
      • Published

      mocked-env

      Easy way to mock process.env during BDD testing

      • v1.3.5
      • 38.77
      • Published

      unirest

      Simplified, lightweight HTTP client library

      • v0.6.0
      • 38.64
      • Published

      here

      here-document on node.js

      • v0.0.2
      • 38.46
      • 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.20
      • Published

      lodash-decorators

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

      • v6.0.1
      • 38.20
      • Published

      es-escape-html

      es-escape-html rewrite for ESM

      • v0.1.1
      • 38.04
      • Published

      @sanity/timed-out

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

      • v4.0.2
      • 37.92
      • Published

      ends-with

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

      • v1.0.1
      • 37.81
      • Published

      cint

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

      • v9.1.0
      • 37.76
      • 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.75
      • 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.72
      • 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.57
      • Published

      hast-util-to-dom

      hast utility to transform to the DOM

      • v4.0.1
      • 37.46
      • Published

      ngraph.merge

      Simple merge utility to extend objects without extra dependencies

      • v1.0.0
      • 37.29
      • Published

      sugar

      A Javascript utility library for working with native objects.

      • v2.0.6
      • 37.21
      • Published

      sugar-core

      Core module for the Sugar Javascript utility library.

      • v2.0.6
      • 37.14
      • Published

      vandium-utils

      vandium common utility functions

      • v2.0.0
      • 36.97
      • Published

      vfile-find-up

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

      • v7.1.0
      • 36.84
      • Published

      tsdef

      TypeScript common pattern shortcut definitions / utility gist library

      • v0.0.14
      • 36.80
      • Published

      sl-request

      Simplified HTTP request client.

      • v1.0.6
      • 36.80
      • Published

      am-i-a-dependency

      Check if the package is being installed by another package

      • v1.1.2
      • 36.71
      • Published

      nlcst-is-literal

      nlcst utility to check whether a node is meant literally

      • v3.0.0
      • 36.57
      • Published

      find-webpack

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

      • v2.2.1
      • 36.35
      • Published

      is-undefined

      Check if a value is undefined or not.

      • v1.0.12
      • 36.30
      • Published

      yeoman-assert

      Assert utility from yeoman

      • v3.1.1
      • 36.09
      • Published

      modern-async

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

      • v2.0.4
      • 36.05
      • Published

      react-native-ios-utilities

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

      • v5.1.8
      • 36.05
      • Published

      repo-utils

      Utils for normalizing and formatting repo data.

      • v0.4.1
      • 35.98
      • Published

      @bahmutov/all-paths

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

      • v1.0.2
      • 35.97
      • Published

      any

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

      • v1.0.0
      • 35.87
      • Published

      utils-regex-from-string

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

      • v1.0.0
      • 35.83
      • Published

      utils-indexof

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

      • v1.0.0
      • 35.83
      • 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
      • 35.80
      • 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.77
      • Published

      nlcst-normalize

      nlcst utility to normalize a word for easier comparison

      • v4.0.0
      • 35.70
      • Published

      nlcst-search

      nlcst utility to search for patterns in a tree

      • v4.0.0
      • 35.69
      • Published

      object.filter

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

      • v0.3.0
      • 35.65
      • Published

      vitepress-sidebar

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

      • v1.33.0
      • 35.64
      • Published

      gamedig

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

      • v5.3.1
      • 35.61
      • Published

      string-match-left-right

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

      • v9.0.23
      • 35.43
      • Published

      @stdlib/utils-index-of

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

      • v0.2.2
      • 35.35
      • Published

      html-crush

      Minify email templates

      • v6.0.23
      • 35.29
      • Published

      moderndash

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

      • v4.0.0
      • 35.22
      • Published

      @stdlib/utils-keys

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

      • v0.2.2
      • 35.21
      • Published

      @asleepace/try

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

        • v0.2.1
        • 35.19
        • Published

        mo-walk

        walk directory for esm and cjs modules

        • v1.2.0
        • 35.07
        • Published

        ts-extras

        Essential utilities for TypeScript projects

        • v0.15.0
        • 34.88
        • Published

        pb-util

        Utilities for working with common protobuf types

        • v1.0.3
        • 34.83
        • Published

        @stdlib/string

        String manipulation functions.

        • v0.3.3
        • 34.66
        • Published

        react-haiku

        React Hook & Utility Library

        • v2.4.1
        • 34.61
        • Published

        @stdlib/assert

        Standard assertion utilities.

        • v0.3.3
        • 34.55
        • Published

        typy

        Minimal JavaScript type checking library

        • v3.3.0
        • 34.51
        • Published

        @stdlib/number-float32-base-to-word

        Return an unsigned 32-bit integer corresponding to the IEEE 754 binary representation of a single-precision floating-point number.

        • v0.2.2
        • 34.44
        • Published

        has-only

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

        • v1.1.1
        • 34.39
        • Published

        @stdlib/cli

        Command-line interface.

        • v0.3.3
        • 34.36
        • Published

        @stdlib/os

        OS utilities.

        • v0.3.3
        • 34.36
        • Published

        async-es

        Higher-order functions and common patterns for asynchronous code

        • v3.2.6
        • 34.34
        • Published

        rr

        Component to iterate an array round robin.

        • v0.1.0
        • 34.29
        • Published

        @skyra/gifenc

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

        • v1.0.1
        • 34.23
        • Published

        schematics-utilities

        🛠️ Useful exported utilities for working with Schematics

        • v2.0.3
        • 34.17
        • Published

        xbytes

        Parse bytes to human readable sizes (4747) → ('4.75 KB') and vice versa.

        • v1.9.1
        • 34.12
        • Published

        array-intersection

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

        • v0.1.2
        • 34.06
        • Published

        npmrc-replace-env

        A utility for generating .npmrc files based on configuration template and environment variables.

        • v1.1.4
        • 34.03
        • Published

        @blakek/curry

        🍛 Simple curry functions

        • v2.0.2
        • 34.03
        • Published

        @arcjet/ip

        Arcjet utilities for finding the originating IP of a request

        • v1.0.0-beta.10
        • 33.90
        • Published

        tstl

        TypeScript-STL (Standard Template Library, migrated from C++)

        • v3.0.0
        • 33.86
        • Published

        @stdlib/assert-instance-of

        Test whether a value has in its prototype chain a specified constructor as a prototype property.

        • v0.2.2
        • 33.80
        • Published

        intersperse

        Add an object to an array between each element

        • v1.0.0
        • 33.76
        • Published

        object_values

        polyfill for es8 Object.values

        • v0.1.2
        • 33.73
        • Published

        maybe-callback

        Maybe call a callback if it's a function

        • v2.1.0
        • 33.67
        • Published

        @arcjet/runtime

        Arcjet runtime detection

        • v1.0.0-beta.10
        • 33.61
        • Published

        @arcjet/transport

        Transport mechanisms for the Arcjet protocol

        • v1.0.0-beta.10
        • 33.60
        • Published

        @arcjet/logger

        Arcjet lightweight logger which mirrors the Pino structured logger interface

        • v1.0.0-beta.10
        • 33.60
        • Published

        @arcjet/protocol

        The TypeScript & JavaScript interface into the Arcjet protocol

        • v1.0.0-beta.10
        • 33.58
        • Published

        handy

        Common utility functions

        • v0.0.13
        • 33.58
        • Published

        @arcjet/env

        Arcjet environment detection

        • v1.0.0-beta.10
        • 33.53
        • Published

        vfile-find-down

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

        • v7.1.0
        • 33.49
        • Published

        xastscript

        xast utility to create trees

        • v4.0.0
        • 33.46
        • Published

        openapi-enforcer

        Library for validating, parsing, and formatting data against open api schemas.

        • v1.23.0
        • 33.45
        • Published

        typed-graphqlify

        Build Typed GraphQL Queries in TypeScript. A better TypeScript + GraphQL experience.

        • v3.1.6
        • 33.40
        • Published

        @arcjet/duration

        Arcjet utilities for parsing duration strings

        • v1.0.0-beta.10
        • 33.39
        • Published

        @arcjet/headers

        Arcjet extension of the Headers class

        • v1.0.0-beta.10
        • 33.38
        • Published

        @arcjet/sprintf

        Arcjet platform-independent replacement for util.format

        • v1.0.0-beta.10
        • 33.37
        • Published

        to-function

        Convert property access strings into functions

        • v2.0.6
        • 33.35
        • Published

        chromatism

        A simple set of utility functions for colours.

        • v3.0.0
        • 33.21
        • Published

        @felte/common

        Common utilities for Felte packages

        • v1.1.9
        • 33.17
        • Published

        rambdax

        Extended version of Rambda - a lightweight, faster alternative to Ramda

        • v11.3.1
        • 33.16
        • Published

        hast-util-excerpt

        hast utility to excerpt the tree to a comment

        • v2.0.0
        • 33.07
        • Published

        ts-typetools

        A collection of TypeScript type, type expressions, guard functions, and type-smart identity functions.

        • v1.1.0
        • 33.06
        • Published

        diary

        Fast effective logging library for both Node, the Browser, and Workers!

        • v0.4.5
        • 33.04
        • Published

        react-use-cookie

        A React hook for managing cookies with no dependencies.

        • v1.6.1
        • 32.97
        • Published

        hast-util-truncate

        hast utility to truncate the tree to a certain number of characters

        • v2.0.0
        • 32.88
        • Published

        json-sort-cli

        Command line app to deep sort JSON files, retains package.json special key order

        • v4.0.10
        • 32.87
        • Published

        mdast-normalize-headings

        mdast utility to make sure there is no more than a single top-level heading in the document

        • v4.0.0
        • 32.87
        • Published

        null-prototype-object

        Fastest way for creating null-prototype objects in JavaScript

        • v1.2.2
        • 32.86
        • Published

        electron-util

        Useful utilities for Electron apps and modules

        • v0.18.1
        • 32.67
        • Published

        waterline-criteria

        Utility library for working with Waterline criterias. Especially useful when building Sails adapters for key/value databases.

        • v2.0.0
        • 32.66
        • Published

        ast-monkey-util

        Utility library of AST helper functions

        • v3.0.10
        • 32.60
        • Published

        playwright-i18next-fixture

        <div align="center"> <br> <header> <img src="https://github.com/cubanducko/playwright-i18next-fixture/blob/main/assets/logo.png?raw=true" height="64" /> </header> <br> <h1>playwright-i18next-fixture</h1> <p> 📝 Use your `i18next` translati

        • v1.0.0
        • 32.57
        • Published

        unist-util-source

        unist utility to get the source of a value

        • v5.0.0
        • 32.55
        • Published

        end-with

        Determines whether a string ends with the characters of another string.

        • v1.0.2
        • 32.53
        • Published

        cog

        Cherry pickable JS functions

        • v1.1.0
        • 32.49
        • Published

        @swan-io/boxed

        Utility types for functional TypeScript

        • v3.2.0
        • 32.49
        • Published

        sugar-date

        Date module for the Sugar Javascript utility library.

        • v2.0.6
        • 32.48
        • Published

        merge-yaml

        Very thin wrapper to merge multiple yaml files

        • v1.1.0
        • 32.41
        • Published

        dom-utils

        A small, modular DOM utilities library

        • v0.9.0
        • 32.40
        • Published