rambda
Lightweight and faster alternative to Ramda with included TS definitions
Found 10871 results for utility
Lightweight and faster alternative to Ramda with included TS definitions
unist utility to get a position from an estree node
mdast extension to parse and serialize MDX (or MDX.js)
hast utility to transform to estree (JavaScript AST) JSX
hast utility to get the plain-text value of a node
Common utility functions for oas-kit
unist utility to find a node after another node
estree (and esast) utility to serialize to JavaScript
hast utility to parse from HTML
mdast extension to parse and serialize frontmatter (YAML, TOML, etc)
hast utility to get the plain-text value of a node according to the `innerText` algorithm
Type assertions aka less-broken `typeof`
unist utility to remove nodes from a tree
A cross platform Promise.allSettled polyfill
function binding utility
Prototype inheritance utility
hast utility to get the rank (or depth, level) of headings
Starts server, waits for URL, then runs test command; when the tests end, shuts down server
hast utility to check if a node has a property
Get the last or last n elements in an array.
Simplified HTTP request client.
Simple help and sanity checks for Node CLI bin scripts
Function argument validation for humans
unist utility to find nodes after another node
estree (and esast) utility to parse from JavaScript
Get all but the last element or last n elements of an array.
mdast utility to remove empty paragraphs from a tree
unist utility to modify direct children of a parent
esast utility to transform from estree
mdast extension to parse and serialize math
nlcst utility to transform a tree to a string
hast utility to sanitize nodes
Utilities for watching file trees.
Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers
React utility to merge refs.
mdast extension to parse and serialize generic directives (`:cite[smith04]`)
unist utility to visit direct children of a parent
hast utility to create a tree from the DOM
Small, performant & immutable iteration utilities for Arrays and Objects
hast utility that turns HTML into a syntax tree (while being small in browsers)
Utility data structure used in discord.js
Similar to String#trim() but removes only newlines
mdast utility to make a tree compact
unist utility to create a new tree with nodes that pass a filter
vfile utility to create a report for a file
vfile utility to sort messages by line/column
vfile utility to count messages per category: failures, warnings, etc
hast utility for `querySelector`, `querySelectorAll`, and `matches`
A utility library for JavaScript and Typescript.
hast utility to check if a node is an embedded element
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.
vfile utility to read and write to the file system
hast utility to check if a link element is “Body OK”
unist utility to inspect nodes
Require Node module and immediately remove it from module cache to force loading again next time
Return a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.
Ethereum RPC and Provider errors.
hast utility to check if a node is phrasing content
Detect native Symbol support.
Test if a value is a string.
Detect native Symbol.toStringTag support.
Test if an object has a specified property.
Define (or modify) an object property.
Insert supplied variable values into a format string.
Escape a regular expression string or pattern.
Test if a value is a boolean.
Test if a value is a function.
Ethereum RPC and Provider errors
Replace search occurrences with a replacement string.
Return the current working directory.
Test if a value is a Float64Array.
Detect native Float32Array support.
Detect native Uint32Array support.
Test if a value is a Uint32Array.
Get a property from an object using dot (object path) notation.
Determine the specification defined classification of an object.
hast utility to get the plain-text value of a node
Test if a value is object-like.
Detect native Buffer support.
Determine a value's type.
Test if a value is an array.
Determine the name of a value's constructor.
Generate string from a token array by interpolating values.
Convert between POSIX and Windows paths.
Detect native Float64Array support.
Define a non-enumerable read-only property.
Test if a value is a Buffer object.
Split a double-precision floating-point number into a higher order word and a lower order word.
Check if an environment is big endian.
Test if a value is a Uint8Array.
Detect native Uint16Array support.
Test if a value is a Uint16Array.
Tokenize a string into an array of string parts and format identifier objects.
Read data from stdin.
Add a callback to the next tick queue.
Test if a double-precision floating-point numeric value is infinite.
Return an integer corresponding to the unbiased exponent of a double-precision floating-point number.
Function which does nothing.
Return the prototype of a provided object.
Test if a value is an object.
Return the global object.
Test if a value is a regular expression.
Test if a value is a plain object.
Test if a value is a Float32Array.
Test if a value is a number.
Platform float word order.
Check if an environment is little endian.
Convert a double-precision floating-point number to the nearest single-precision floating-point number.
Platform byte order.
Test if a double-precision floating-point numeric value is NaN.
Test if a value is a regular expression string.
Create a regular expression from a regular expression string.
Detect native Uint8Array support.
Command-line interface.
Convenience wrapper for Got to interact with the GitHub API
Return an unsigned 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.
Create a double-precision floating-point number from a higher order word and a lower order word.
mdast utility to generate a table of contents from a tree
Convert a string to lowercase.
(IEC) Utility to parse a string bytes to bytes and vice-versa
Tiny wrapper around ansi-colors to add colored symbols and a timestamp.
UI utilities
vfile utility to parse the YAML front matter in a file
A collection of useful utilities.
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.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Simple CLDR traverser
<!-- This file is AUTO-GENERATED, edit _README.template.md or tweak scripts/generateDocs.ts -->
Escape regular expression special characters
mdast utility to parse a comment marker
Merge two lists, trying to preserve the order of both
Flattens React children and fragments to an array with predictable and stable keys
A crawling file watcher.
Return a copy of the object only containing the whitelisted properties.
unist utility to select nodes with CSS-like selectors
Minimum utility toolbelt
Flatten a nested array.
Utility to make vitest tests fail when console.error() or console.warn() are used
Get unique values of an array. Really, like deeply unique.
Ultra tiny, opinionated, positioning engine.
A minimal dom utility toolbelt
Transform deprecated styling attributes on HAST table cells to inline styles
unist utility to create a new tree by mapping all nodes
mdast utility to transform to nlcst
mdast utility to get the style of a heading
hast utility to find and replace text in a tree
🔧 Fast, modern, and practical utility library for FP in TypeScript.
Various utility functions
Cross-browser type assertions (less broken typeof)
Escape regular expression special characters
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.
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Simple function that return the first non null or undefined argument
hast utility to merge class names together
Get the prototype chain of any value as an Array
Convert Errors & Objects into an easily-serialized vanilla Object.
Gets you the Cypress test command log as JSON on failure
Returns a shallow copy of an object without blacklisted properties
Convert react components to plain text without any HTML markup
Simplified, lightweight HTTP client library
less broken typeof
Easy way to mock process.env during BDD testing
here-document on node.js
unist utility to find a node
A library of Javascript utility functions with an emphasis on Functional Programming.
Format an error message for production.
es-escape-html rewrite for ESM
Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!
A collection of decorators using lodash at it's core.
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
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
Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
Convert Gitignore to Glob patterns
hast utility to check if a node is a conditional comment
TOAST UI Utility: CodeSnippet
Test if a finite double-precision floating-point number is an integer.
Returns `true` if the given string or array starts with prefix using strict equality for comparisons. Using fastest implementation.
Test if a finite numeric value is an odd number.
hast utility to transform to the DOM
Replace search occurrences with a replacement string.
A Javascript utility library for working with native objects.
Core module for the Sugar Javascript utility library.
Convert a string to lowercase.
React utility to flatten fragments.
React Native flashbar and top notification alert utility
Simple merge utility to extend objects without extra dependencies
vfile utility to find one or more files by searching the file system upwards
vandium common utility functions
Check if the package is being installed by another package
TypeScript common pattern shortcut definitions / utility gist library
nlcst utility to check whether a node is meant literally
Test if a value is a number having a nonnegative integer value.
Test if a value is NaN.
Test if a finite numeric value is an even number.
Utility to find webpack settings in react-scripts and other situations
Test if a double-precision floating-point numeric value is positive zero.
Simplified HTTP request client.
Check if a value is undefined or not.
Assert utility from yeoman
Test if a value is a number having an integer value.
puppeteer + dom-testing-library
Constant function.
Utils for normalizing and formatting repo data.
Set the more significant 32 bits of a double-precision floating-point number.
A modern tooling library for asynchronous operations using async/await, promises and async generators
Convert an unsigned 32-bit integer to a signed 32-bit integer.
Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI
Parses a regular expression string and returns a new regular expression.
Returns the first index at which a given element can be found.
Set the less significant 32 bits of a double-precision floating-point number.
Given an object returns list of all possible paths to its properties
Return an unsigned 32-bit integer corresponding to the less significant 32 bits of a double-precision floating-point number.
nlcst utility to search for patterns in a tree
Returns `true` if a value exists in the given string, array or object.
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'.
nlcst utility to normalize a word for easier comparison
Copy an error object.
qsu is a utility library that contains useful and frequently used functions. Start with your preferred language and the modern development environment.
Test if a double-precision floating-point numeric value is negative zero.
A collection of serverless framework utilities
Test if a value is an Int32Array.
Test if a value is a collection.
Create a new object filtered to have only properties for which the callback returns true.
Match substrings on the left or right of a given index, ignoring whitespace
Test if a value is an Int8Array.
Test if a value is an arguments object.
Test if a value is a Uint8ClampedArray.
Test if a value is an Int16Array.
Validate, sanitize and document JSON schemas
hast utility to transform to nlcst
Query for the status of any game server in Node.JS
Detect native Uint8ClampedArray support.
Detect native Int32Array support.
Detect native Int16Array support.
Minify email templates
unist utility to find nodes before another node
A VitePress auto sidebar plugin that automatically creates a simple configuration.
Test if an object's own property is enumerable.
Return the first index at which a given element can be found.
Detect native Int8Array support.
Return an array of an object's own enumerable property names.
A Typescript-First utility library inspired by Lodash. Optimized for modern browsers.
Alias for eval global.
walk directory for esm and cjs modules
Essential utilities for TypeScript projects
Detect native generator function support.
Test if a value is an Error object.
Define a non-enumerable read-only accessor.
Collection of utilities for FusionCharts