hastscript
hast utility to create trees
Found 10895 results for utility hooks
hast utility to create trees
hast utility to create an element from a simple CSS selector
mdast utility to find and replace text in a tree
mdast extension to parse and serialize GFM autolink literals
mdast extension to parse and serialize GFM strikethrough
Escape a string for use in HTML or the inverse
mdast extension to parse and serialize GFM tables
mdast extension to parse and serialize GFM task list items
mdast extension to parse and serialize GFM (GitHub Flavored Markdown)
Cypress's fork of a simplified HTTP request client.
mdast utility to find definition nodes in a tree
mdast extension to parse and serialize MDX or MDX.js JSX
mdast extension to parse and serialize GFM footnotes
vfile utility to convert between positional (line and column-based) and offset (range-based) locations
mdast extension to parse and serialize MDX.js ESM (import/exports)
mdast extension to parse and serialize MDX (or MDX.js) expressions
Correctly declare progressive enhancements for CSS Custom Properties.
unist utility to remove positions from a tree
hast utility to transform to preact, react, solid, svelte, vue, etc
hast utility to reparse a tree
hast utility to transform from a `parse5` AST
easy to use progress-bar for command-line/terminal applications
A fast 642B utility that makes reading multipart responses simple
hast utility to transform to a `parse5` AST
hast utility to check if a node is a (certain) element
Utilities for watching file trees.
Determine an app's root path from anywhere inside the app
unist utility to check if a node is generated
Utility Types Collection for TypeScript
hast utility to serialize to HTML
Coalesce for JavaScript. Returns the first value that is not undefined or null.
esast (and estree) utility to visit nodes
return whitelisted properties of an object
A small utility, used by Fastify itself, for generating consistent error objects across your codebase and plugins.
unist utility to create a new trees with a nice syntax
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)
mdast extension to parse and serialize frontmatter (YAML, TOML, etc)
Uniform solutions for React hooks.
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
hast utility to get the plain-text value of a node according to the `innerText` algorithm
unist utility to remove nodes from a tree
Type assertions aka less-broken `typeof`
A cross platform Promise.allSettled polyfill
Starts server, waits for URL, then runs test command; when the tests end, shuts down server
hast utility to get the rank (or depth, level) of headings
Simplified HTTP request client.
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
Function argument validation for humans
estree (and esast) utility to parse from JavaScript
hast utility to sanitize nodes
Get all but the last element or last n elements of an array.
hast utility to create a tree from the DOM
unist utility to find nodes after another node
esast utility to transform from estree
unist utility to modify direct children of a parent
mdast extension to parse and serialize math
mdast utility to remove empty paragraphs from a tree
React utility to merge refs.
Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers
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
hast utility that turns HTML into a syntax tree (while being small in browsers)
Utilities for watching file trees.
Utility data structure used in discord.js
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 count messages per category: failures, warnings, etc
hast utility for `querySelector`, `querySelectorAll`, and `matches`
mdast utility to make a tree compact
vfile utility to sort messages by line/column
hast utility to check if a node is an embedded element
A utility library for JavaScript and Typescript.
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.
Similar to String#trim() but removes only newlines
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”
Ethereum RPC and Provider errors.
unist utility to inspect nodes
vfile utility to read and write to the file system
Determine a value's type.
Determine the specification defined classification of an object.
Ethereum RPC and Provider errors
Return a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.
Detect native Symbol support.
Detect native Float64Array support.
Test if a value is a Uint8Array.
Detect native Uint16Array support.
Test if a value is a Uint16Array.
Detect native Symbol.toStringTag support.
Test if an object has a specified property.
Define (or modify) an object property.
Test if a value is a string.
Function which does nothing.
Insert supplied variable values into a format string.
hast utility to get the plain-text value of a node
Escape a regular expression string or pattern.
Platform float word order.
Check if an environment is little endian.
Test if a value is a boolean.
Replace search occurrences with a replacement string.
Test if a value is a function.
Return the current working directory.
Detect native Float32Array support.
Test if a value is a Float64Array.
Test if a double-precision floating-point numeric value is NaN.
Convert between POSIX and Windows paths.
Test if a value is object-like.
Return the global object.
Generate string from a token array by interpolating values.
Detect native Uint32Array support.
Test if a value is a Uint32Array.
Test if a value is a regular expression.
Convert a double-precision floating-point number to the nearest single-precision floating-point number.
Test if a value is a Buffer object.
Test if a value is an array.
Determine the name of a value's constructor.
Test if a value is a plain object.
Get a property from an object using dot (object path) notation.
Detect native Uint8Array support.
Detect native Buffer support.
Define a non-enumerable read-only property.
Tokenize a string into an array of string parts and format identifier objects.
Return an integer corresponding to the unbiased exponent of a double-precision floating-point number.
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 double-precision floating-point numeric value is infinite.
Return the prototype of a provided object.
Test if a value is an object.
Add a callback to the next tick queue.
Return an unsigned 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.
Platform byte order.
Test if a value is a Float32Array.
Read data from stdin.
Test if a value is a number.
Create a regular expression from a regular expression string.
Command-line interface.
Convert a string to lowercase.
Test if a value is a regular expression string.
mdast utility to generate a table of contents from a tree
UI utilities
Create a double-precision floating-point number from a higher order word and a lower order word.
Convenience wrapper for Got to interact with the GitHub API
(IEC) Utility to parse a string bytes to bytes and vice-versa
vfile utility to parse the YAML front matter in a file
Tiny wrapper around ansi-colors to add colored symbols and a timestamp.
A collection of useful utilities.
Simple CLDR traverser
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
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.
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
Minimum utility toolbelt
Merge two lists, trying to preserve the order of both
A crawling file watcher.
Return a copy of the object only containing the whitelisted properties.
A minimal dom utility toolbelt
Flatten a nested array.
Utility to make vitest tests fail when console.error() or console.warn() are used
Transform deprecated styling attributes on HAST table cells to inline styles
Get unique values of an array. Really, like deeply unique.
Ultra tiny, opinionated, positioning engine.
unist utility to create a new tree by mapping all nodes
Cross-browser type assertions (less broken typeof)
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
mdast utility to get the style of a heading
🔧 Fast, modern, and practical utility library for FP in TypeScript.
mdast utility to transform to nlcst
hast utility to find and replace text in a tree
A unique JavaScript library for Discord bots with modern features and extensibility.
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.
less broken typeof
Returns a shallow copy of an object without blacklisted properties
Get the prototype chain of any value as an Array
here-document on node.js
Gets you the Cypress test command log as JSON on failure
Convert Gitignore to Glob patterns
Simplified, lightweight HTTP client library
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.
Easy way to mock process.env during BDD testing
Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!
[![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.
unist utility to find a node
- [`useDebounce`](./docs/useDebounce.md) — 用来处理防抖值的 Hook。 - [`useDebouncedCallback`](./docs/useDebouncedCallback.md) — 用来处理防抖函数的 Hook。 - [`useImmer`](./docs/useImmer.md) — 用来处理不可变状态的 Hook。 - [`useShallow`](./docs/useShallow.md) — 用
Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged
es-escape-html rewrite for ESM
TOAST UI Utility: CodeSnippet
Format an error message for production.
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
React utility to flatten fragments.
Test if a finite double-precision floating-point number is an integer.
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
hast utility to check if a node is a conditional comment
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
A library of Javascript utility functions with an emphasis on Functional Programming.
hast utility to transform to the DOM
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.
Replace search occurrences with a replacement string.
Simple merge utility to extend objects without extra dependencies
Exotic components, hooks and functions that you wouldn't find in the usual react component library.
Convert a string to lowercase.
A Javascript utility library for working with native objects.
Simplified HTTP request client.
React Native flashbar and top notification alert utility
Core module for the Sugar Javascript utility library.
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 ;) )
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
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
nlcst utility to check whether a node is meant literally
puppeteer + dom-testing-library
Test if a finite numeric value is an even number.
Check if the package is being installed by another package
Set the more significant 32 bits of a double-precision floating-point number.
Check if a value is undefined or not.
Test if a value is a number having a nonnegative integer value.
Utility to find webpack settings in react-scripts and other situations
Test if a double-precision floating-point numeric value is positive zero.
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
A collection of serverless framework utilities