1.0.3 • Published 3 years ago

notion-export v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Simple notion utility that allows you to export notion pages programatically

Install

yarn install

CLI Usage

Simplest way to use notion-export is npx

npx notion-export

It will run series of prompts that will guide you through the process of exporting your notion page

Programmatic usage

import { exportPage } from "notion-export/core.js" 
// const { exportPage } = require("notion-export/core.js")

exportPage(<page_url>, <destination_path>, <notion_v2_token>, <exportType>)

Supported export types are:

  • markdown
  • pdf
  • html

Author

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator