html-standard 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,19 @@
1
- # html-spec
1
+ # html-standard
2
+
3
+ `html-standard` is a **work-in-progress** JavaScript/TypeScript library that provides structured data from the [HTML Living Standard](https://html.spec.whatwg.org/).
4
+
5
+ ## Installation
6
+
7
+ ```console
8
+ npm install html-standard
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ import { getElementSpec } from "html-standard";
15
+
16
+ const divSpec = getElementSpec("div");
17
+
18
+ divSpec.attributes.has("id"); // true
19
+ ```