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