Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
edia
時刻表をChart.jsによるダイヤグラムに変換する。
import { render } from "https://deno.land/x/edia@v1.0.0/lib/mod.ts";
const table: NodeListOf<HTMLElement> = document.querySelectorAll(
".paper_table tr",
);
const el = await render(table);
document.body.insertAdjacentElement("afterstart", el);ディレクトリ構成
.vscode/: vscode設定ファイル。build/: TypeScriptビルド関連。etension/: Chrome拡張用ファイル。lib/: ライブラリ。deno.json: Deno設定ファイル。manifest.json: Chrome拡張設定ファイル。
開発
# TypeScriptをビルドしてjsファイルを生成
> deno task build
# TypeScriptをビルドしてjsファイルを生成(ファイル変更の度に自動生成)
> deno task build:watch
# TypeScriptがビルド結果が最新かどうかチェック
> deno task build:check
# テストを実行
> deno task test