
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
notion-in-svelte
Advanced tools
An unofficial Notion API tool set for Svelte & Sapper
This package uses https://github.com/splitbee/notion-api-worker to generate the API. You can host this yourself, but OOTB it uses https://notion-api.splitbee.io/
This package is very experimental and subject to change. Check out a working page here: https://www.scotttolinski.com/notion
npm install @leveluptuts/svelte-notion
<script context="module">
import { Notion, fetchNotion } from "@leveluptuts/svelte-notion";
const fetchImage = (async () => {
const pageId = `3e03212e646e41caaa560408162dee99`
return await fetchNotion({ id: pageId, context: this })
})()
</script>
{#await fetchImage}
<p>...waiting</p>
{:then blocks}
<Notion {blocks} />
{:catch error}
<p>An error occurred!</p>
{/await}
<script context="module">
import { Notion, fetchNotion } from "@leveluptuts/svelte-notion";
export async function preload() {
const pageId = `3e03212e646e41caaa560408162dee99`;
const blocks = await fetchNotion({ id: pageId, context: this });
return { blocks };
}
</script>
<script>
export let blocks;
</script>
<Notion {blocks} />
(shout-out to splitbee for this dope table. I borrowed from his React Notion repo)
We happily accept pull requests to add support for the missing blocks. I'll be adding as many as I can asap.
Block Type | Supported | Notes |
---|---|---|
Text | ✅ Yes | |
Heading | ✅ Yes | |
Image | ❌ Missing | |
Image Caption | ❌ Missing | |
Bulleted List | ❌ Missing | |
Numbered List | ❌ Missing | |
Quote | ✅ Yes | |
Callout | ❌ Missing | |
Column | ❌ Missing | |
iframe | ❌ Missing | |
Video | ❌ Missing | Only embedded videos |
Divider | ✅ Yes | |
Link | ✅ Yes | |
Code | ✅ Yes | |
Web Bookmark | ❌ Missing | |
Databases | ❌ Missing | |
Checkbox | ❌ Missing | |
Toggle List | ❌ Missing | |
Table Of Contents | ❌ Missing |
Coming Soon
Maybe? I could be much more very soon.
It don't. Don't hold your breath on this working forever. See the Splitbee package for more info. The intention would be to migrate this to the official API once it's released.
Heavily inspired by https://github.com/splitbee/react-notion
FAQs
Render Notion blocks in Svelte
The npm package notion-in-svelte receives a total of 0 weekly downloads. As such, notion-in-svelte popularity was classified as not popular.
We found that notion-in-svelte demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.