Spaces:
Paused
Paused
Download node_modules/cheerio/lib/parse.d.ts from no1b4me/hytranslator: direct link, hf CLI and curl.
- Browser
- Download file 888 Bytes
-
https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/cheerio/lib/parse.d.ts
- Command line
-
hf download hf://spaces/no1b4me/hytranslator/node_modules/cheerio/lib/parse.d.ts
-
curl -L -o parse.d.ts https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/cheerio/lib/parse.d.ts
888 Bytes
| /// <reference types="node" /> | |
| import { AnyNode, Document, ParentNode } from 'domhandler'; | |
| import type { InternalOptions } from './options.js'; | |
| /** | |
| * Get the parse function with options. | |
| * | |
| * @param parser - The parser function. | |
| * @returns The parse function with options. | |
| */ | |
| export declare function getParse(parser: (content: string, options: InternalOptions, isDocument: boolean, context: ParentNode | null) => Document): (content: string | Document | AnyNode | AnyNode[] | Buffer, options: InternalOptions, isDocument: boolean, context: ParentNode | null) => Document; | |
| /** | |
| * Update the dom structure, for one changed layer. | |
| * | |
| * @param newChilds - The new children. | |
| * @param parent - The new parent. | |
| * @returns The parent node. | |
| */ | |
| export declare function update(newChilds: AnyNode[] | AnyNode, parent: ParentNode | null): ParentNode | null; | |
| //# sourceMappingURL=parse.d.ts.map |