notion-to-md 2.3.2 → 2.4.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.
- package/LICENSE +21 -21
- package/README.md +204 -205
- package/build/index.d.ts +1 -1
- package/build/index.js +17 -17
- package/build/index.js.map +1 -1
- package/build/notion-to-md.d.ts +43 -43
- package/build/notion-to-md.d.ts.map +1 -1
- package/build/notion-to-md.js +355 -306
- package/build/notion-to-md.js.map +1 -1
- package/build/types/index.d.ts +47 -47
- package/build/types/index.js +2 -2
- package/build/types/index.js.map +1 -1
- package/build/utils/md.d.ts +20 -21
- package/build/utils/md.d.ts.map +1 -1
- package/build/utils/md.js +105 -103
- package/build/utils/md.js.map +1 -1
- package/build/utils/md.spec.d.ts +1 -1
- package/build/utils/md.spec.js +80 -16
- package/build/utils/md.spec.js.map +1 -1
- package/build/utils/notion.d.ts +5 -5
- package/build/utils/notion.d.ts.map +1 -1
- package/build/utils/notion.js +26 -25
- package/build/utils/notion.js.map +1 -1
- package/package.json +51 -47
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"md.spec.js","sourceRoot":"","sources":["../../src/utils/md.spec.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"md.spec.js","sourceRoot":"","sources":["../../src/utils/md.spec.ts"],"names":[],"mappings":";;AAAA,6BAiBc;AAEd,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACxC,MAAM,IAAI,GAAG,wBAAwB,CAAC;QAEtC,MAAM,CAAC,IAAA,YAAO,EAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,2BAA2B,EAAE,GAAG,EAAE;QACrC,MAAM,IAAI,GAAG,wBAAwB,CAAC;QAEtC,MAAM,CACJ,IAAA,YAAO,EAAC,IAA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C,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,gBAAgB,EAAE,GAAG,EAAE;QAC1B,MAAM,CAAC,IAAA,SAAI,EAAC,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;IACrB,IAAI,CAAC,qBAAqB,EAAE,GAAG,EAAE;QAC/B,MAAM,CAAC,IAAA,UAAK,EAAC,aAAa,EAAE,2BAA2B,CAAC,CAAC,CAAC,IAAI,CAC5D,2CAA2C,CAC5C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {\r\n callout,\r\n table,\r\n inlineCode,\r\n bold,\r\n italic,\r\n strikethrough,\r\n underline,\r\n link,\r\n codeBlock,\r\n heading1,\r\n heading2,\r\n heading3,\r\n quote,\r\n bullet,\r\n todo,\r\n image,\r\n} from \"./md\";\r\n\r\ndescribe(\"Callout\", () => {\r\n test(\"parses callout without emoji\", () => {\r\n const text = \"Call out text content.\";\r\n\r\n expect(callout(text)).toBe(`> ${text}`);\r\n });\r\n\r\n test(\"parses callout with emoji\", () => {\r\n const text = \"Call out text content.\";\r\n\r\n expect(\r\n callout(text, {\r\n type: \"emoji\",\r\n emoji: \"😍\",\r\n })\r\n ).toBe(`> 😍 ${text}`);\r\n });\r\n});\r\n\r\ndescribe(\"Markdown Table\", () => {\r\n test(\"parse simple table to markdown table\", () => {\r\n const mockTable = [\r\n [\"number\", \"char\"],\r\n [\"1\", \"a\"],\r\n [\"2\", \"b\"],\r\n ];\r\n\r\n expect(table(mockTable)).toBe(\r\n `\r\n| number | char |\r\n| ------ | ---- |\r\n| 1 | a |\r\n| 2 | b |\r\n `.trim()\r\n );\r\n });\r\n});\r\n\r\ndescribe(\"Text Annotations\", () => {\r\n test(\"Inline Code\", () => {\r\n expect(inlineCode(\"simple text\")).toBe(\"`simple text`\");\r\n });\r\n test(\"Code Block\", () => {\r\n expect(codeBlock(\"simple text\", \"javascript\")).toBe(\r\n `\\`\\`\\`javascript\r\nsimple text\r\n\\`\\`\\``.trim()\r\n );\r\n });\r\n test(\"Bold\", () => {\r\n expect(bold(\"simple text\")).toBe(\"**simple text**\");\r\n });\r\n test(\"Italic\", () => {\r\n expect(italic(\"simple text\")).toBe(\"_simple text_\");\r\n });\r\n test(\"StrikeThrough\", () => {\r\n expect(strikethrough(\"simple text\")).toBe(\"~~simple text~~\");\r\n });\r\n test(\"Underline\", () => {\r\n expect(underline(\"simple text\")).toBe(\"<u>simple text</u>\");\r\n });\r\n});\r\n\r\ndescribe(\"Headings\", () => {\r\n test(\"Heading 1\", () => {\r\n expect(heading1(\"simple text\")).toBe(\"# simple text\");\r\n });\r\n test(\"Heading 2\", () => {\r\n expect(heading2(\"simple text\")).toBe(\"## simple text\");\r\n });\r\n test(\"Heading 3\", () => {\r\n expect(heading3(\"simple text\")).toBe(\"### simple text\");\r\n });\r\n});\r\n\r\ndescribe(\"List Elements\", () => {\r\n test(\"Bullet\", () => {\r\n expect(bullet(\"simple text\")).toBe(\"- simple text\");\r\n });\r\n\r\n test(\"Checked todo\", () => {\r\n expect(todo(\"simple text\", true)).toBe(\"- [x] simple text\");\r\n });\r\n\r\n test(\"Unchecked todo\", () => {\r\n expect(todo(\"simple text\", false)).toBe(\"- [ ] simple text\");\r\n });\r\n});\r\n\r\ndescribe(\"Image\", () => {\r\n test(\"Image with alt text\", () => {\r\n expect(image(\"simple text\", \"https://example.com/image\")).toBe(\r\n ``\r\n );\r\n });\r\n});\r\n"]}
|
package/build/utils/notion.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Client } from "@notionhq/client";
|
|
2
|
-
export declare const getBlockChildren: (notionClient: Client, block_id: string, totalPage: number | null) => Promise<{
|
|
3
|
-
object: "block";
|
|
4
|
-
id: string;
|
|
5
|
-
}[]
|
|
1
|
+
import { Client } from "@notionhq/client";
|
|
2
|
+
export declare const getBlockChildren: (notionClient: Client, block_id: string, totalPage: number | null) => Promise<{
|
|
3
|
+
object: "block";
|
|
4
|
+
id: string;
|
|
5
|
+
}[]>;
|
|
6
6
|
//# sourceMappingURL=notion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notion.d.ts","sourceRoot":"","sources":["../../src/utils/notion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,eAAO,MAAM,gBAAgB,iBACb,MAAM,YACV,MAAM,aACL,MAAM,GAAG,IAAI;;;
|
|
1
|
+
{"version":3,"file":"notion.d.ts","sourceRoot":"","sources":["../../src/utils/notion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,eAAO,MAAM,gBAAgB,iBACb,MAAM,YACV,MAAM,aACL,MAAM,GAAG,IAAI;;;IAyBzB,CAAC"}
|
package/build/utils/notion.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getBlockChildren = void 0;
|
|
4
|
-
const getBlockChildren = async (notionClient, block_id, totalPage) => {
|
|
5
|
-
try {
|
|
6
|
-
let result = [];
|
|
7
|
-
let pageCount = 0;
|
|
8
|
-
let start_cursor = undefined;
|
|
9
|
-
do {
|
|
10
|
-
const response = (await notionClient.blocks.children.list({
|
|
11
|
-
start_cursor: start_cursor,
|
|
12
|
-
block_id: block_id,
|
|
13
|
-
}));
|
|
14
|
-
result.push(...response.results);
|
|
15
|
-
start_cursor = response === null || response === void 0 ? void 0 : response.next_cursor;
|
|
16
|
-
pageCount += 1;
|
|
17
|
-
} while (start_cursor != null &&
|
|
18
|
-
(totalPage == null || pageCount < totalPage));
|
|
19
|
-
return result;
|
|
20
|
-
}
|
|
21
|
-
catch (e) {
|
|
22
|
-
console.log(e);
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getBlockChildren = void 0;
|
|
4
|
+
const getBlockChildren = async (notionClient, block_id, totalPage) => {
|
|
5
|
+
try {
|
|
6
|
+
let result = [];
|
|
7
|
+
let pageCount = 0;
|
|
8
|
+
let start_cursor = undefined;
|
|
9
|
+
do {
|
|
10
|
+
const response = (await notionClient.blocks.children.list({
|
|
11
|
+
start_cursor: start_cursor,
|
|
12
|
+
block_id: block_id,
|
|
13
|
+
}));
|
|
14
|
+
result.push(...response.results);
|
|
15
|
+
start_cursor = response === null || response === void 0 ? void 0 : response.next_cursor;
|
|
16
|
+
pageCount += 1;
|
|
17
|
+
} while (start_cursor != null &&
|
|
18
|
+
(totalPage == null || pageCount < totalPage));
|
|
19
|
+
return result;
|
|
20
|
+
}
|
|
21
|
+
catch (e) {
|
|
22
|
+
console.log(e);
|
|
23
|
+
return [];
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.getBlockChildren = getBlockChildren;
|
|
26
27
|
//# sourceMappingURL=notion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notion.js","sourceRoot":"","sources":["../../src/utils/notion.ts"],"names":[],"mappings":";;;AAGO,MAAM,gBAAgB,GAAG,KAAK,EACnC,YAAoB,EACpB,QAAgB,EAChB,SAAwB,EACxB,EAAE;IACF,IAAI;QACF,IAAI,MAAM,GAAG,EAAE,CAAC;QAChB,IAAI,SAAS,GAAG,CAAC,CAAC;QAClB,IAAI,YAAY,GAAG,SAAS,CAAC;QAE7B,GAAG;YACD,MAAM,QAAQ,GAAG,CAAC,MAAM,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;gBACxD,YAAY,EAAE,YAAY;gBAC1B,QAAQ,EAAE,Q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AAE,CAAC;KACX;AACH,CAAC,CAAC;AA5BW,QAAA,gBAAgB,oBA4B3B","sourcesContent":["import { Client } from \"@notionhq/client\";\r\nimport { ListBlockChildrenResponse } from \"@notionhq/client/build/src/api-endpoints\";\r\n\r\nexport const getBlockChildren = async (\r\n notionClient: Client,\r\n block_id: string,\r\n totalPage: number | null\r\n) => {\r\n try {\r\n let result = [];\r\n let pageCount = 0;\r\n let start_cursor = undefined;\r\n\r\n do {\r\n const response = (await notionClient.blocks.children.list({\r\n start_cursor: start_cursor,\r\n block_id: block_id,\r\n })) as ListBlockChildrenResponse;\r\n result.push(...response.results);\r\n\r\n start_cursor = response?.next_cursor;\r\n pageCount += 1;\r\n } while (\r\n start_cursor != null &&\r\n (totalPage == null || pageCount < totalPage)\r\n );\r\n return result;\r\n } catch (e) {\r\n console.log(e);\r\n return [];\r\n }\r\n};\r\n"]}
|
package/package.json
CHANGED
|
@@ -1,47 +1,51 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "notion-to-md",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"engines": {
|
|
5
|
-
"node": ">=12"
|
|
6
|
-
},
|
|
7
|
-
"main": "./build",
|
|
8
|
-
"types": "./build/index.d.ts",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"prepare": "npm run build",
|
|
11
|
-
"build": "tsc",
|
|
12
|
-
"prebuild": "npm run clean",
|
|
13
|
-
"clean": "rm -rf ./build",
|
|
14
|
-
"test": "jest",
|
|
15
|
-
"test:watch": "jest -w"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"notion",
|
|
19
|
-
"markdown",
|
|
20
|
-
"md",
|
|
21
|
-
"notion",
|
|
22
|
-
"notion-api",
|
|
23
|
-
"notion-to-md",
|
|
24
|
-
"notion2md"
|
|
25
|
-
],
|
|
26
|
-
"author": "Souvik Kar Mahapatra <souvikat001+chitchat@gmail.com>",
|
|
27
|
-
"license": "ISC",
|
|
28
|
-
"files": [
|
|
29
|
-
"build/**"
|
|
30
|
-
],
|
|
31
|
-
"repository": {
|
|
32
|
-
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/souvikinator/notion-to-md.git"
|
|
34
|
-
},
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "https://github.com/souvikinator/notion-to-md/issues"
|
|
37
|
-
},
|
|
38
|
-
"homepage": "https://github.com/souvikinator/notion-to-md#readme",
|
|
39
|
-
"description": "convert notion pages, block and list of blocks to markdown (supports nesting)",
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@notionhq/client": "^1.0.1",
|
|
42
|
-
"@types/jest": "^27.4.1",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "notion-to-md",
|
|
3
|
+
"version": "2.4.0",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">=12"
|
|
6
|
+
},
|
|
7
|
+
"main": "./build",
|
|
8
|
+
"types": "./build/index.d.ts",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"prepare": "npm run build",
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"prebuild": "npm run clean",
|
|
13
|
+
"clean": "rm -rf ./build",
|
|
14
|
+
"test": "jest",
|
|
15
|
+
"test:watch": "jest -w"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"notion",
|
|
19
|
+
"markdown",
|
|
20
|
+
"md",
|
|
21
|
+
"notion",
|
|
22
|
+
"notion-api",
|
|
23
|
+
"notion-to-md",
|
|
24
|
+
"notion2md"
|
|
25
|
+
],
|
|
26
|
+
"author": "Souvik Kar Mahapatra <souvikat001+chitchat@gmail.com>",
|
|
27
|
+
"license": "ISC",
|
|
28
|
+
"files": [
|
|
29
|
+
"build/**"
|
|
30
|
+
],
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/souvikinator/notion-to-md.git"
|
|
34
|
+
},
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/souvikinator/notion-to-md/issues"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/souvikinator/notion-to-md#readme",
|
|
39
|
+
"description": "convert notion pages, block and list of blocks to markdown (supports nesting)",
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@notionhq/client": "^1.0.1",
|
|
42
|
+
"@types/jest": "^27.4.1",
|
|
43
|
+
"@types/markdown-table": "^2.0.0",
|
|
44
|
+
"jest": "^27.4.7",
|
|
45
|
+
"ts-jest": "^27.1.3",
|
|
46
|
+
"typescript": "^4.5.4"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"markdown-table": "^2.0.0"
|
|
50
|
+
}
|
|
51
|
+
}
|