{"id":16537147,"url":"https://github.com/arpitbhalla/notion2mdblog","last_synced_at":"2025-10-28T13:31:16.400Z","repository":{"id":65464356,"uuid":"443596559","full_name":"arpitBhalla/notion2mdblog","owner":"arpitBhalla","description":"Convert notion page📜 to markdown 🔖","archived":false,"fork":false,"pushed_at":"2022-12-03T08:12:05.000Z","size":12,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-02T22:38:11.881Z","etag":null,"topics":["notion","notion-blog","notion-markdown","notion-md","notion-sdk","notion2blog","notion2md"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/notion2mdblog","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arpitBhalla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-01T18:13:12.000Z","updated_at":"2023-10-16T16:34:01.000Z","dependencies_parsed_at":"2023-01-24T17:05:15.634Z","dependency_job_id":null,"html_url":"https://github.com/arpitBhalla/notion2mdblog","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitBhalla%2Fnotion2mdblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitBhalla%2Fnotion2mdblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitBhalla%2Fnotion2mdblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitBhalla%2Fnotion2mdblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arpitBhalla","download_url":"https://codeload.github.com/arpitBhalla/notion2mdblog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219859516,"owners_count":16556035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notion","notion-blog","notion-markdown","notion-md","notion-sdk","notion2blog","notion2md"],"created_at":"2024-10-11T18:34:57.211Z","updated_at":"2025-10-28T13:31:16.045Z","avatar_url":"https://github.com/arpitBhalla.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion to markdown blog\n\n## Install\n\n```bash\nnpm install notion2mdblog\n```\n\n```bash\nyarn add notion2mdblog\n```\n\n## Usage\n\n```typescript\n// Client is extended from @notionhq/client\nimport { Client } from \"notion2mdblog\";\nimport fs from \"node:fs\";\n\n// Initializing a client\nconst notion = new Client({\n  auth: process.env.NOTION_KEY,\n});\n\nasync function main() {\n  const blogPages = await notion.markdown.db2md({\n    database_id: NOTION_DATABASE_ID,\n  });\n  blogPages.map((blogPage) =\u003e {\n    fs.writeFileSync(`blogs/${blogPage.title}`, blogPage.content);\n  });\n}\nmain();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpitbhalla%2Fnotion2mdblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farpitbhalla%2Fnotion2mdblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpitbhalla%2Fnotion2mdblog/lists"}