npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "hast" 的结果(共 65 个)
node-haste

node-haste is a dependency management system for static resources for node.js. It provides the ability to statically resolve JavaScript module dependencies both for node module resolution and Facebook's haste module system.

BSD-3-Clause
jest-haste-map

`jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects

MIT
hast-util-to-estree

hast utility to transform to estree (JavaScript AST) JSX

MIT
hast-to-hyperscript

Deprecated: use [`hast-util-to-jsx-runtime`][hast-util-to-jsx-runtime] instead, which is much better :)

hast-util-raw

hast utility to reparse a tree

MIT
hast-util-to-jsx-runtime

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

MIT
hast-util-select

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

MIT
hast

Renamed to rehype

MIT
hast-util-to-string

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

MIT
hast-util-to-parse5

hast utility to transform to a `parse5` AST

MIT
hast-util-is-body-ok-link

hast utility to check if a link element is “Body OK”

MIT
hast-util-minify-whitespace

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

MIT
hast-util-format

Format whitespace in HTML

MIT
BSD-3-Clause
BSD-3-Clause
hast-util-from-parse5

hast utility to transform from a `parse5` AST

MIT
hast-util-parse-selector

hast utility to create an element from a simple CSS selector

MIT
hast-util-embedded

hast utility to check if a node is an embedded element

MIT
hast-util-heading-rank

hast utility to get the rank (or depth, level) of headings

MIT
hast-util-from-html-isomorphic

hast utility that turns HTML into a syntax tree (while being small in browsers)

MIT
@starptech/prettyhtml-rehype-webparser

Parses HTML via [**Webparser**](https://github.com/Prettyhtml/prettyhtml/tree/master/packages/webparser) to a [**HAST**](https://github.com/syntax-tree/hast) syntax tree. Used in the [**rehype** processor](https://github.com/rehypejs/rehype/blob/master/pa

ISC
hast-util-to-text

hast utility to get the plain-text value of a node according to the `innerText` algorithm

MIT
@starptech/hast-util-from-webparser

Produce [HAST](https://github.com/syntax-tree/hast) compatible AST from [Webparser](https://github.com/Prettyhtml/prettyhtml/tree/master/packages/webparser)

MIT