@mehm8128/rehype-toc 1.1.1 → 1.3.0

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +48 -47
package/README.md CHANGED
@@ -13,7 +13,7 @@ You can create the table of contents as follows.
13
13
  ## Installation
14
14
 
15
15
  ```bash
16
- pnpm install @mehm8128/rehype-toc
16
+ pnpm add @mehm8128/rehype-toc
17
17
  ```
18
18
 
19
19
  ## Usage
package/package.json CHANGED
@@ -1,48 +1,49 @@
1
1
  {
2
- "name": "@mehm8128/rehype-toc",
3
- "version": "1.1.1",
4
- "type": "module",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+ssh://git@github.com/mehm8128/rehype-toc.git"
8
- },
9
- "homepage": "https://github.com/mehm8128/rehype-toc",
10
- "license": "MIT",
11
- "description": "rehype plugin to generate a collapsible table of contents",
12
- "keywords": [
13
- "rehype",
14
- "toc",
15
- "table of contents"
16
- ],
17
- "author": "mehm8128 <mehm8128@mail.com>",
18
- "files": [
19
- "dist",
20
- "README.md",
21
- "LICENSE",
22
- "package.json"
23
- ],
24
- "main": "./dist/index.js",
25
- "module": "./dist/index.js",
26
- "types": "./dist/index.d.ts",
27
- "exports": {
28
- ".": "./dist/index.js",
29
- "./package.json": "./package.json"
30
- },
31
- "scripts": {
32
- "build": "tsdown",
33
- "dev": "tsdown --watch",
34
- "test": "vitest",
35
- "typecheck": "tsc --noEmit"
36
- },
37
- "devDependencies": {
38
- "@biomejs/biome": "^2.2.4",
39
- "@types/hast": "^3.0.4",
40
- "rehype": "^13.0.2",
41
- "tsdown": "^0.11.9",
42
- "typescript": "^5.8.3",
43
- "vitest": "^3.1.3"
44
- },
45
- "dependencies": {
46
- "unist-util-visit": "^5.0.0"
47
- }
48
- }
2
+ "name": "@mehm8128/rehype-toc",
3
+ "version": "1.3.0",
4
+ "type": "module",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+ssh://git@github.com/mehm8128/rehype-toc.git"
8
+ },
9
+ "homepage": "https://github.com/mehm8128/rehype-toc",
10
+ "license": "MIT",
11
+ "description": "rehype plugin to generate a collapsible table of contents",
12
+ "keywords": [
13
+ "rehype",
14
+ "toc",
15
+ "table of contents"
16
+ ],
17
+ "author": "mehm8128 <mehm8128@mail.com>",
18
+ "files": [
19
+ "dist",
20
+ "README.md",
21
+ "LICENSE",
22
+ "package.json"
23
+ ],
24
+ "main": "./dist/index.js",
25
+ "module": "./dist/index.js",
26
+ "types": "./dist/index.d.ts",
27
+ "exports": {
28
+ ".": "./dist/index.js",
29
+ "./package.json": "./package.json"
30
+ },
31
+ "devDependencies": {
32
+ "@biomejs/biome": "^2.2.4",
33
+ "@types/hast": "^3.0.4",
34
+ "@types/node": "^24.10.1",
35
+ "rehype": "^13.0.2",
36
+ "tsdown": "^0.11.9",
37
+ "typescript": "^5.8.3",
38
+ "vitest": "^3.1.3"
39
+ },
40
+ "dependencies": {
41
+ "unist-util-visit": "^5.0.0"
42
+ },
43
+ "scripts": {
44
+ "build": "tsdown",
45
+ "dev": "tsdown --watch",
46
+ "test": "vitest",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }