{"name":"es-html-parser","version":"0.3.0","license":"MIT","_id":"es-html-parser@0.3.0","maintainers":[{"name":"yeonjuan-joah","email":"yeonjuan93@gmail.com"}],"dist":{"shasum":"a5b7b72fd094944112d8b5530005726100f325a4","tarball":"http://registry-npm.ywwl.com/es-html-parser/download/es-html-parser-0.3.0.tgz","fileCount":179,"integrity":"sha512-86KsmbP/zqoG7LIoXiCXv7KFDVbF9N9SCpavmRzeKtCODmF+LyLEBt3UPSlcntNQEwGGe0xn4ZED186rLmwKSw==","signatures":[{"sig":"MEUCIQDwFU07YjcqvWRA1qWEVPE8e2GgIxpmsafOkac1GIK+8QIgMzcmRVRq0kcoMBubDOQ2knDu3NVvhxoXMTUr2MILzAs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146106,"size":26049,"noattachment":false,"key":"/es-html-parser/-/es-html-parser-0.3.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"345417997146d4bbd9a3fc8c71ca789da3837baf","scripts":{"test":"jest --coverage","build":"rimraf dist && tsc -b tsconfig.build.json","format":"prettier --write .","check:ts":"tsc --noEmit","check:lint":"eslint src","prepublish":"yarn check:lint && yarn check:ts && yarn check:format && yarn build","check:format":"prettier . --check"},"_npmUser":{"name":"yeonjuan-joah","email":"yeonjuan93@gmail.com"},"_npmVersion":"10.1.0","description":"<p align=\"left\"> <img src=\"https://github.com/yeonjuan/es-html-parser/actions/workflows/main.yml/badge.svg?branch=main\" alt=\"CI Badge\" /> <a href=\"https://codecov.io/gh/yeonjuan/es-html-parser\" > <img src=\"https://codecov.io/gh/yeonjuan/es-html-parser/bra","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","devDependencies":{"jest":"^29.6.1","eslint":"^8.23.0","rimraf":"^3.0.2","ts-jest":"^29.1.1","prettier":"^2.7.1","typescript":"^5.6.3","@types/jest":"^28.1.7","jest-file-snapshot":"0.7.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/es-html-parser_0.3.0_1753803988748_0.3480504217228144","host":"s3://npm-registry-packages-npm-production"},"readme":"# ES HTML Parser\n\n<p align=\"left\">\n<img src=\"https://github.com/yeonjuan/es-html-parser/actions/workflows/main.yml/badge.svg?branch=main\" alt=\"CI Badge\" />\n<a href=\"https://codecov.io/gh/yeonjuan/es-html-parser\" >\n<img src=\"https://codecov.io/gh/yeonjuan/es-html-parser/branch/main/graph/badge.svg?token=LNYPD2GOJR\"/>\n</a>\n<a href=\"https://www.npmjs.com/package/es-html-parser\">\n<img src=\"https://img.shields.io/npm/v/es-html-parser\"/>\n</a>\n<a href=\"https://www.npmjs.com/package/es-html-parser\">\n<img src=\"https://img.shields.io/npm/dw/es-html-parser\"/>\n</a>\n</p>\n\nES HTML Parser is a HTML parser that generates an abstract syntax tree similar to the ESTree specification.\n\nThis project began as a fork of [hyntax](https://github.com/mykolaharmash/hyntax) and is developed to follow [ESTree](https://github.com/estree/estree)-like ast specification.\n\nSee [online demo](https://yeonjuan.github.io/es-html-parser/).\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [API Reference](#api-reference)\n- [AST Format](#ast-format)\n- [License](#license)\n\n## Install\n\n```\nnpm install es-html-parser\n```\n\n## Usage\n\n```js\nimport { parse } from \"es-html-parser\";\n\nconst input = `\n<html>\n  <body>\n    <button type=\"button\"> press here </button>\n  </body>\n</html>\n`;\n\nconst { ast, tokens } = parse(input);\n```\n\n## API Reference\n\n- [Functions](#functions)\n- [Types](#types)\n- [Constants](#constants)\n\n### Functions\n\n#### parse\n\n```ts\nparse(html: string, options?: Options): ParseResult;\n```\n\n**Arguments**\n\n- `html`: HTML string to parse.\n- `options (optional)`\n  - `tokenAdapter`: The adapter option for changing tokens information.\n  - `rawContentTags` (string[]) : Specifies tag names whose child contents should be treated as raw text, meaning the parser will not interpret characters like < and > as HTML syntax inside these tags.\n\n**Returns**\n\n- `ParseResult`: Result of parsing\n\n### Types\n\n#### ParseResult\n\n```ts\ninterface ParseResult {\n  ast: DocumentNode;\n  tokens: AnyToken[];\n}\n```\n\n- `ast`: The root node of the ast.\n- `tokens`: An array of resulting tokens.\n\n#### AnyNode\n\nThe `AnyNode` is an union type of all nodes.\n\n```ts\ntype AnyNode =\n  | DocumentNode\n  | TextNode\n  | TagNode\n  | OpenTagStartNode\n  | OpenTagEndNode\n  | CloseTagNode\n  | AttributeNode\n  | AttributeKeyNode\n  | AttributeValueNode\n  | AttributeValueWrapperStartNode\n  | AttributeValueWrapperEndNode\n  | ScriptTagNode\n  | OpenScriptTagStartNode\n  | CloseScriptTagNode\n  | OpenScriptTagEndNode\n  | ScriptTagContentNode\n  | StyleTagNode\n  | OpenStyleTagStartNode\n  | OpenStyleTagEndNode\n  | StyleTagContentNode\n  | CloseStyleTagNode\n  | CommentNode\n  | CommentOpenNode\n  | CommentCloseNode\n  | CommentContentNode\n  | DoctypeNode\n  | DoctypeOpenNode\n  | DoctypeCloseNode\n  | DoctypeAttributeNode\n  | DoctypeAttributeValueNode\n  | DoctypeAttributeWrapperStartNode\n  | DoctypeAttributeWrapperEndNode;\n```\n\n#### AnyToken\n\nThe `AnyToken` is an union type all tokens.\n\n```ts\ntype AnyToken =\n  | Token<TokenTypes.Text>\n  | Token<TokenTypes.OpenTagStart>\n  | Token<TokenTypes.OpenTagEnd>\n  | Token<TokenTypes.CloseTag>\n  | Token<TokenTypes.AttributeKey>\n  | Token<TokenTypes.AttributeAssignment>\n  | Token<TokenTypes.AttributeValueWrapperStart>\n  | Token<TokenTypes.AttributeValue>\n  | Token<TokenTypes.AttributeValueWrapperEnd>\n  | Token<TokenTypes.DoctypeOpen>\n  | Token<TokenTypes.DoctypeAttributeValue>\n  | Token<TokenTypes.DoctypeAttributeWrapperStart>\n  | Token<TokenTypes.DoctypeAttributeWrapperEnd>\n  | Token<TokenTypes.DoctypeClose>\n  | Token<TokenTypes.CommentOpen>\n  | Token<TokenTypes.CommentContent>\n  | Token<TokenTypes.CommentClose>\n  | Token<TokenTypes.OpenScriptTagStart>\n  | Token<TokenTypes.OpenScriptTagEnd>\n  | Token<TokenTypes.ScriptTagContent>\n  | Token<TokenTypes.CloseScriptTag>\n  | Token<TokenTypes.OpenStyleTagStart>\n  | Token<TokenTypes.OpenStyleTagEnd>\n  | Token<TokenTypes.StyleTagContent>\n  | Token<TokenTypes.CloseStyleTag>;\n```\n\n### Constants\n\n#### TokenTypes\n\n```ts\nenum TokenTypes {\n  Text = \"Text\",\n  OpenTagStart = \"OpenTagStart\",\n  OpenTagEnd = \"OpenTagEnd\",\n  CloseTag = \"CloseTag\",\n  AttributeKey = \"AttributeKey\",\n  AttributeAssignment = \"AttributeAssignment\",\n  AttributeValueWrapperStart = \"AttributeValueWrapperStart\",\n  AttributeValue = \"AttributeValue\",\n  AttributeValueWrapperEnd = \"AttributeValueWrapperEnd\",\n  DoctypeOpen = \"DoctypeOpen\",\n  DoctypeAttributeValue = \"DoctypeAttributeValue\",\n  DoctypeAttributeWrapperStart = \"DoctypeAttributeWrapperStart\",\n  DoctypeAttributeWrapperEnd = \"DoctypeAttributeWrapperEnd\",\n  DoctypeClose = \"DoctypeClose\",\n  CommentOpen = \"CommentOpen\",\n  CommentContent = \"CommentContent\",\n  CommentClose = \"CommentClose\",\n  OpenScriptTagStart = \"OpenScriptTagStart\",\n  OpenScriptTagEnd = \"OpenScriptTagEnd\",\n  ScriptTagContent = \"ScriptTagContent\",\n  CloseScriptTag = \"CloseScriptTag\",\n  OpenStyleTagStart = \"OpenStyleTagStart\",\n  OpenStyleTagEnd = \"OpenStyleTagEnd\",\n  StyleTagContent = \"StyleTagContent\",\n  CloseStyleTag = \"CloseStyleTag\",\n}\n```\n\n#### NodeTypes\n\n```ts\nenum NodeTypes {\n  Document = \"Document\",\n  Tag = \"Tag\",\n  Text = \"Text\",\n  Doctype = \"Doctype\",\n  Comment = \"Comment\",\n  CommentOpen = \"CommentOpen\",\n  CommentClose = \"CommentClose\",\n  CommentContent = \"CommentContent\",\n  Attribute = \"Attribute\",\n  AttributeKey = \"AttributeKey\",\n  AttributeValue = \"AttributeValue\",\n  AttributeValueWrapperStart = \"AttributeValueWrapperStart\",\n  AttributeValueWrapperEnd = \"AttributeValueWrapperEnd\",\n  CloseTag = \"CloseTag\",\n  OpenTagEnd = \"OpenTagEnd\",\n  OpenTagStart = \"OpenTagStart\",\n  DoctypeOpen = \"DoctypeOpen\",\n  DoctypeAttribute = \"DoctypeAttribute\",\n  DoctypeClose = \"DoctypeClose\",\n  ScriptTag = \"ScriptTag\",\n  OpenScriptTagStart = \"OpenScriptTagStart\",\n  OpenScriptTagEnd = \"OpenScriptTagEnd\",\n  ScriptTagContent = \"ScriptTagContent\",\n  StyleTag = \"StyleTag\",\n  OpenStyleTagStart = \"OpenStyleTagStart\",\n  OpenStyleTagEnd = \"OpenStyleTagEnd\",\n  StyleTagContent = \"StyleTagContent\",\n  CloseStyleTag = \"CloseStyleTag\",\n  CloseScriptTag = \"CloseScriptTag\",\n  DoctypeAttributeValue = \"DoctypeAttributeValue\",\n  DoctypeAttributeWrapperStart = \"DoctypeAttributeWrapperStart\",\n  DoctypeAttributeWrapperEnd = \"DoctypeAttributeWrapperEnd\",\n}\n```\n\n## AST Format\n\n- [Common](#common)\n\n  - [BaseNode](#basenode)\n  - [SourceLocation](#sourcelocation)\n  - [Position](#position)\n  - [Token](#token)\n\n- [DocumentNode](#documentnode)\n- [TextNode](#textnode)\n- [TagNode](#tagnode)\n  - [OpenTagStartNode](#opentagstartnode)\n  - [OpenTagEndNode](#opentagendnode)\n  - [CloseTagNode](#closetagnode)\n- [AttributeNode](#attributenode)\n  - [AttributeKeyNode](#attributekeynode)\n  - [AttributeValueWrapperStartNode](#attributevaluewrapperstartnode)\n  - [AttributeValueWrapperEndNode](#attributevaluewrapperendnode)\n  - [AttributeValueNode](#attributevaluenode)\n- [ScriptTagNode](#scripttagnode)\n  - [OpenScriptTagStartNode](#openscripttagstartnode)\n  - [OpenScriptTagEndNode](#openscripttagendnode)\n  - [CloseScriptTagNode](#closescripttagnode)\n  - [ScriptTagContentNode](#scripttagcontentnode)\n- [StyleTagNode](#styletagnode)\n  - [OpenStyleTagStartNode](#openstyletagstartnode)\n  - [OpenStyleTagEndNode](#openstyletagendnode)\n  - [CloseStyleTagNode](#closestyletagnode)\n  - [StyleTagContentNode](#styletagcontentnode)\n- [CommentNode](#commentnode)\n  - [CommentOpenNode](#commentopennode)\n  - [CommentCloseNode](#commentclosenode)\n  - [CommentContentNode](#commentcontentnode)\n- [DoctypeNode](#doctypenode)\n  - [DoctypeOpenNode](#doctypeopennode)\n  - [DoctypeCloseNode](#doctypeclosenode)\n- [DoctypeAttributeNode](#doctypeattributenode)\n  - [DoctypeAttributeValueNode](#doctypeattributevaluenode)\n  - [DoctypeAttributeWrapperStartNode](#doctypeattributewrapperstartnode)\n  - [DoctypeAttributeWrapperEndNode](#doctypeattributewrapperendnode)\n\n### Common\n\n#### BaseNode\n\nEvery AST node and token implements the `BaseNode` interface.\n\n```ts\ninterface BaseNode {\n  type: string;\n  loc: SourceLocation;\n  range: [number, number];\n}\n```\n\nThe `type` field is representing the AST type. Its value is one of the `NodeTypes` or `TokenTypes`.\nThe `loc` and `range` fields represent the source location of the node.\n\n#### SourceLocation\n\n```ts\ninterface SourceLocation {\n  start: Position;\n  end: Position;\n}\n```\n\nThe `start` field represents the start location of the node.\n\nThe `end` field represents the end location of the node.\n\n#### Position\n\n```ts\ninterface Position {\n  line: number; // >= 1\n  column: number; // >= 0\n}\n```\n\nThe `line` field is a number representing the line number where the node positioned. (1-based index).\n\nThe `column` field is a number representing the offset in the line. (0-based index).\n\n#### Token\n\nAll tokens implement the `Token` interface.\n\n```ts\ninterface Token<T extends TokenTypes> extends BaseNode {\n  type: T;\n  value: string;\n}\n```\n\n### DocumentNode\n\n`DocumentNode` represents a whole parsed document. It's a root node of the AST.\n\n```ts\ninterface DocumentNode extends BaseNode {\n  type: \"Document\";\n  children: Array<TextNode | TagNode | ScriptNode | StyleNode | CommentNode>;\n}\n```\n\n### TextNode\n\n`TextNode` represents any plain text in HTML.\n\n```ts\ninterface TextNode extends BaseNode {\n  type: \"Text\";\n  value: string;\n}\n```\n\n### TagNode\n\n`TagNode` represents all kinds of tag nodes in HTML except for doctype, script, style, and comment. (e.g. `<div></div>`, `<span></span>` ...)\n\n```ts\ninterface TagNode extends BaseNode {\n  type: \"Tag\";\n  selfClosing: boolean;\n  name: string;\n  openStart: OpenTagStartNode;\n  openEnd: OpenTagEndNode;\n  close?: CloseTagNode;\n  children: Array<TextNode | TagNode | ScriptNode | StyleNode | CommentNode>;\n  attributes: Array<AttributeNode>;\n}\n```\n\n#### OpenTagStartNode\n\n`OpenTagStartNode` represents the opening part of the [Start tags](https://www.w3.org/TR/2011/WD-html5-20110405/syntax.html#start-tags). (e.g. `<div`)\n\n```ts\ninterface OpenTagStartNode extends BaseNode {\n  type: \"OpenTagStart\";\n  value: string;\n}\n```\n\n#### OpenTagEndNode\n\n`OpenTagEndNode` represents the closing part of the [Start tags](https://www.w3.org/TR/2011/WD-html5-20110405/syntax.html#start-tags). (e.g. `>`, `/>`)\n\n```ts\ninterface OpenTagEndNode extends BaseNode {\n  type: \"OpenTagEnd\";\n  value: string;\n}\n```\n\n#### CloseTagNode\n\n`ClosingTagNode` represents the [End tags](https://www.w3.org/TR/2011/WD-html5-20110405/syntax.html#end-tags). (e.g. `</div>`)\n\n```ts\ninterface CloseTagNode extends BaseNode {\n  type: \"CloseTag\";\n  value: string;\n}\n```\n\n### AttributeNode\n\n`AttributeNode` represents an attribute. (e.g. `id=\"foo\"`)\n\n```ts\ninterface AttributeNode extends BaseNode {\n  type: \"Attribute\";\n  key: AttributeKeyNode;\n  value?: AttributeValueNode;\n  startWrapper?: AttributeValueWrapperStartNode;\n  endWrapper?: AttributeValueWrapperEndNode;\n}\n```\n\n#### AttributeKeyNode\n\n`AttributeKeyNode` represents a key part of an attribute. (e.g. `id`)\n\n```ts\ninterface AttributeKeyNode extends BaseNode {\n  type: \"AttributeKey\";\n  value: string;\n}\n```\n\n#### AttributeValueWrapperStartNode\n\n`AttributeValueWrapperStartNode` represents the left side character that wraps the value of the attribute. (e.g. `\"`, `'`)\n\n```ts\ninterface AttributeValueWrapperStartNode extends BaseNode {\n  type: \"AttributeValueWrapperStart\";\n  value: string;\n}\n```\n\n#### AttributeValueWrapperEndNode\n\n`AttributeValueWrapperEndNode` represents the right side character that wraps the value of the attribute. (e.g. `\"`, `'`)\n\n```ts\ninterface AttributeValueWrapperEndNode extends BaseNode {\n  type: \"AttributeValueWrapperEnd\";\n  value: string;\n}\n```\n\n#### AttributeValueNode\n\n`AttributeValueNode` represents the value part of the attribute. It does not include wrapper characters. (e.g. `foo`)\n\n```ts\ninterface AttributeValueNode extends BaseNode {\n  type: \"AttributeValue\";\n  value: string;\n}\n```\n\n### ScriptTagNode\n\nThe `ScriptTagNode` represents a script tags in the HTML. (e.g.` <script> console.log('hello'); </script>`).\n\n```ts\ninterface ScriptTagNode extends BaseNode {\n  type: \"ScriptTag\";\n  attributes: Array<AttributeNode>;\n  openStart: OpenScriptTagStartNode;\n  openEnd: OpenScriptTagEndNode;\n  close: CloseScriptTagNode;\n  value?: ScriptTagContentNode;\n}\n```\n\n#### OpenScriptTagStartNode\n\n`OpenScriptTagStartNode` represents an opening part of a start script tag. (e.g. `<script`)\n\n```ts\ninterface OpenScriptTagStartNode extends BaseNode {\n  type: \"OpenScriptTagStart\";\n  value: string;\n}\n```\n\n#### OpenScriptTagEndNode\n\n`OpenScriptTagEndNode` represents a closing part of a start script tag. (e.g. `>`)\n\n```ts\ninterface OpenScriptTagEndNode extends BaseNode {\n  type: \"OpenScriptTagEnd\";\n  value: string;\n}\n```\n\n#### CloseScriptTagNode\n\n`CloseScriptTagNode` represents a close script tag. (e.g. `</script>`)\n\n```ts\ninterface CloseScriptTagNode extends BaseNode {\n  type: \"CloseScriptTag\";\n  value: string;\n}\n```\n\n#### ScriptTagContentNode\n\n`ScriptTagContentNode` represents a script content in script tag. (e.g. `console.log('hello');`)\n\n```ts\ninterface ScriptTagContentNode extends BaseNode {\n  type: \"ScriptTagContent\";\n  value: string;\n}\n```\n\n### StyleTagNode\n\n`StyleTagNode` represents style tags. (e.g. `<style> .foo {} </style>`)\n\n```ts\ninterface StyleTagNode extends BaseNode {\n  type: \"StyleTag\";\n  attributes: Array<AttributeNode>;\n  openStart: OpenStyleTagStartNode;\n  openEnd: OpenStyleTagEndNode;\n  close: CloseStyleTagNode;\n  value?: StyleTagContentNode;\n}\n```\n\n#### OpenStyleTagStartNode\n\n`OpenStyleTagStartNode` represents an opening part of a start style tag. (e.g. `<style`)\n\n```ts\ninterface OpenStyleTagStartNode extends BaseNode {\n  type: \"OpenStyleTagStart\";\n  value: string;\n}\n```\n\n#### OpenStyleTagEndNode\n\n`OpenStyleTagEndNode` represents a closing part of a start style tag. (e.g. `>`)\n\n```ts\ninterface OpenStyleTagEndNode extends BaseNode {\n  type: \"OpenStyleTagEnd\";\n  value: string;\n}\n```\n\n#### CloseStyleTagNode\n\n`CloseStyleTagNode` represents a close style tag. (e.g. `</style>`)\n\n```ts\ninterface CloseStyleTagNode extends BaseNode {\n  type: \"CloseStyleTag\";\n  value: string;\n}\n```\n\n#### StyleTagContentNode\n\n`StyleTagContentNode` represents a style content in style tag.\n\n```ts\ninterface StyleTagContentNode extends BaseNode {\n  type: \"StyleTagContent\";\n  value: string;\n}\n```\n\n### CommentNode\n\n`CommentNode` represents comment in HTML. (e.g. `<!-- content --> `)\n\n```ts\ninterface CommentNode extends BaseNode {\n  type: \"Comment\";\n  open: CommentOpenNode;\n  close: CommentCloseNode;\n  value: CommentContentNode;\n}\n```\n\n#### CommentOpenNode\n\n`CommentOpenNode` represents comment start character sequence. (e.g. `<!--`)\n\n```ts\ninterface CommentOpenNode extends BaseNode {\n  type: \"CommentOpen\";\n  value: string;\n}\n```\n\n#### CommentCloseNode\n\n`CommentCloseNode` represents comment end character sequence. (e.g. `-->`)\n\n```ts\ninterface CommentCloseNode extends BaseNode {\n  type: \"CommentClose\";\n  value: string;\n}\n```\n\n#### CommentContentNode\n\nThe `CommentContentNode` represents text in the comment.\n\n```ts\ninterface CommentContentNode extends BaseNode {\n  type: \"CommentContent\";\n  value: string;\n}\n```\n\n### DoctypeNode\n\n`DoctypeNode` represents the [DOCTYPE](https://www.w3.org/TR/2011/WD-html5-20110525/syntax.html#the-doctype) in html.\n\n```ts\ninterface DoctypeNode extends BaseNode {\n  type: \"Doctype\";\n  attributes: Array<DoctypeAttributeNode>;\n  open: DoctypeOpenNode;\n  close: DoctypeCloseNode;\n}\n```\n\n#### DoctypeOpenNode\n\n`DoctypeOpenNode` represents character sequence of doctype start . (`<!DOCTYPE`)\n\n```ts\ninterface DoctypeOpenNode extends BaseNode {\n  type: \"DoctypeOpen\";\n  value: string;\n}\n```\n\n#### DoctypeCloseNode\n\n`DoctypeCloseNode` represents the doctype end character sequence (e.g. `>`)\n\n```ts\ninterface DoctypeCloseNode extends BaseNode {\n  type: \"DoctypeClose\";\n  value: string;\n}\n```\n\n### DoctypeAttributeNode\n\n`DoctypeAttributeNode` represents an attribute of doctype node. (e.g. `html`, `\"-//W3C//DTD HTML 4.01 Transitional//EN\"`)\n\n```ts\ninterface DoctypeAttributeNode extends BaseNode {\n  type: \"DoctypeAttribute\";\n  key: DoctypeAttributeKey;\n}\n```\n\n#### DoctypeAttributeValueNode\n\n`DoctypeAttributeValueNode` represents a value of doctype node's attribute. (e.g. `html`, `-//W3C//DTD HTML 4.01 Transitional//EN`)\n. It does not include wrapper characters (`'`, `\"`)\n\n```ts\ninterface DoctypeAttributeValueNode extends BaseNode {\n  type: \"DoctypeAttributeValue\";\n  value: string;\n}\n```\n\n#### DoctypeAttributeWrapperStartNode\n\n`DoctypeAttributeWrapperStartNode` represents a left side character that wraps the value of the attribute. (e.g. `\"`, `'`)\n\n```ts\ninterface DoctypeAttributeWrapperStartNode extends BaseNode {\n  type: \"DoctypeAttributeWrapperStart\";\n  value: string;\n}\n```\n\n#### DoctypeAttributeWrapperEndNode\n\n`DoctypeAttributeWrapperEndNode` represents a right side character that wraps the value of the attribute. (e.g. `\"`, `'`)\n\n```ts\ninterface DoctypeAttributeWrapperEndNode extends BaseNode {\n  type: \"DoctypeAttributeWrapperEnd\";\n  value: string;\n}\n```\n\n## License\n\n[MIT](./LICENSE.md)\n","publish_time":1753803988980,"_cnpm_publish_time":1753803988980,"dist-tags":{"alpha":"0.1.0-alpha.1","latest":"0.3.2"}}