Skip to content

Commit e141fac

Browse files
committed
chore: update readme
1 parent 53e5f1d commit e141fac

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/deno_readme.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@
2222
<li>Perform <code>git</code> operation and manipulate outputs</li>
2323
<li>Helper to generate changelog and auto-bump your version file</li>
2424
</ul>
25+
<ul data-for="graph">
26+
<li>
27+
Generate various types of graphs as SVG
28+
<ul>
29+
<li>Diff</li>
30+
<li>Pie</li>
31+
<li>Line</li>
32+
<li>Time</li>
33+
</ul>
34+
</li>
35+
</ul>
36+
<ul data-for="is">
37+
<li>Wrapper around zod for type validation and assertions</li>
38+
<li>Include additional helpers and validators</li>
39+
</ul>
2540
<ul data-for="logger">
2641
<li>
2742
Simple logger library with configurable log level and tags

.github/deno_readme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const root = fromFileUrl(import.meta.resolve("../"))
1212
const document = new DOMParser().parseFromString(await Deno.readTextFile(fromFileUrl(import.meta.resolve("./deno_readme.html"))), "text/html")!
1313
let table = `<table><!-- Generated by deno_readme.ts, do not edit manually --><tr><td colspan="3"></td></tr>`
1414
for await (const { path } of expandGlob(`*/deno.jsonc`, { root })) {
15-
const { icon, description, supported = {}, playground, npm, ["deno.land/x"]: denoland } = JSONC.parse(await Deno.readTextFile(path)) as Record<string, unknown>
15+
const { icon, description = "", supported = {}, playground, npm, ["deno.land/x"]: denoland } = JSONC.parse(await Deno.readTextFile(path)) as Record<string, unknown>
1616
const name = basename(dirname(path))
1717
const log = logger.with({ name, icon, supported, playground })
1818
const features = document.querySelector(`[data-for="${name}"]`)?.outerHTML ?? ""

graph/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# 📊 Graph
2+
3+
[![JSR](https://jsr.io/badges/@libs/graph)](https://jsr.io/@libs/graph) [![JSR Score](https://jsr.io/badges/@libs/graph/score)](https://jsr.io/@libs/graph)
4+
5+
A wrapper around D3 to generate various types of graphs as SVG.
6+
7+
- [`📚 Documentation`](https://jsr.io/@libs/graph/doc)
8+
9+
## 📜 License
10+
11+
```plaintext
12+
Copyright (c) Simon Lecoq <@lowlighter>. (MIT License)
13+
https://github.com/lowlighter/libs/blob/main/LICENSE
14+
```

0 commit comments

Comments
 (0)