Skip to content

Commit b45d22e

Browse files
committed
function の方を使う
1 parent 0f9cde8 commit b45d22e

File tree

6 files changed

+286
-176
lines changed

6 files changed

+286
-176
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
https://github.com/makenotion/notion-sdk-js より自分に必要な機能に絞った Notion API を呼ぶためのライブラリ
44

5+
JSR: https://jsr.io/@narumincho/notion
6+
57
Deno を使ってます
68

79
## 目指していきたい目標
810

911
- 公式SDK では なぜか Parial が返ってくる仕様になっており, いちいち分岐する必要があるし, その仕様が分かりずらい
10-
- [JSR](https://jsr.io/) での公開
1112
- 公式SDK では ページ作成のオブジェクトが深くなり, 型エラーが発生したときにどこを直せばよくなるか分かり辛い
1213
- 少ない依存ライブラリ (現状 0)
1314
- Tree Shaking ができるように
1415
- ページング対応がすぐできるように AsyncIterator とか対応済みのものが欲しい
1516
- ページのタイトル文字列を簡単に取り出せるように
16-
- id から notion url を作成する関数が欲しい
1717
- 公式SDKはコード生成しているのか, ドキュメンテーションコメントがないのが不満

deno.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@narumincho/notion",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"compilerOptions": {
55
"noUncheckedIndexedAccess": true,
66
"exactOptionalPropertyTypes": true

0 commit comments

Comments
 (0)