@thi.ng/markdown-table 0.3.101 → 0.3.103

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-22T11:59:16Z
3
+ - **Last updated**: 2024-02-25T14:07:53Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/markdown-table",
3
- "version": "0.3.101",
3
+ "version": "0.3.103",
4
4
  "description": "Markdown table formatter/generator with support for column alignments",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,12 +35,12 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.25",
38
+ "@thi.ng/api": "^8.9.26",
39
39
  "@thi.ng/checks": "^3.5.0",
40
- "@thi.ng/compose": "^2.1.64",
40
+ "@thi.ng/compose": "^2.1.65",
41
41
  "@thi.ng/errors": "^2.4.18",
42
- "@thi.ng/strings": "^3.7.16",
43
- "@thi.ng/transducers": "^8.9.5"
42
+ "@thi.ng/strings": "^3.7.17",
43
+ "@thi.ng/transducers": "^8.9.7"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.40.1",
@@ -87,5 +87,5 @@
87
87
  ],
88
88
  "year": 2021
89
89
  },
90
- "gitHead": "4513a1c703bdbf0f0867f03e547e47692e415fac\n"
90
+ "gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
91
91
  }
package/table.d.ts CHANGED
@@ -10,7 +10,9 @@ import type { Column, Row, TableOpts } from "./api.js";
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * markdownTable(
13
+ * import { table } from "@thi.ng/markdown-table";
14
+ *
15
+ * table(
14
16
  * ["ID", "Actor", "Comment"],
15
17
  * [
16
18
  * [1, "Alice"],
@@ -40,6 +42,8 @@ export declare const table: (header: string[], rows: Iterable<Row>, opts?: Parti
40
42
  *
41
43
  * @example
42
44
  * ```ts
45
+ * import { tableKeys } from "@thi.ng/markdown-table";
46
+ *
43
47
  * tableKeys(
44
48
  * ["ID", "Actor", "Comment"],
45
49
  * ["id", "name", (x) => x.hint],