Svelte Notion screenshot

Svelte Notion

Author Avatar Theme by Leveluptuts
Updated: 8 May 2020
56 Stars

Tools for using Notion public pages as data in your app

Overview:

Svelte Notion is an unofficial Notion API tool set for Svelte and Sapper. It is a package that uses the notion-api-worker to generate the API. While it can be hosted by the user, it comes with an out-of-the-box option to use the hosted version at notion-api.splitbee.io. The package is experimental and subject to change.

Features:

  • Supports various block types including Text, Heading, Quote, Divider, Link, and Code.
  • It also supports Checkbox, Toggle List, and Table of Contents block types.
  • Provides an option to host your own API.
  • Accepts pull requests to add support for missing block types.

Installation:

To use Svelte Notion in your project, follow the steps below:

  1. Open your terminal and navigate to your project directory.
  2. Run the following command to install the package:
npm install @leveluptuts/svelte-notion
  1. Ensure you have Svelte or Sapper installed in your project. If not, follow the installation instructions for Svelte: Svelte Installation or for Sapper: Sapper Installation
  2. Once installed, you can start using the Svelte Notion package in your project.

Summary:

Svelte Notion is an unofficial Notion API tool set for Svelte and Sapper. It allows developers to work with various block types in their applications, such as Text, Heading, Quote, Link, Code, and more. The package is experimental and subject to change, but it offers an option to host your own API. It is also open to accepting pull requests to add support for missing block types.