Skip to main content

Built and signed on GitHub Actions

The knowledge hacker's notebook

This package works with Deno, Browsers
This package works with Deno
This package works with Browsers
JSR Score
76%
Published
2 months ago (0.10.1)
namespace space

Functions

f
space.deleteAttachment

Deletes an attachment from the space

f
space.deleteFile

Delete a file from the space.

f
space.deletePage

Delete a page from the space.

f
space.fileExists
No documentation available
f
space.getAttachmentMeta

Get metadata for an attachment in the space.

f
space.getFileMeta

Get metadata for a file in the space.

f
space.getPageMeta

Get metadata for a page in the space.

f
space.listAttachments

Lists all attachments in the space (all files not ending in .md).

f
space.listFiles

List all files in the space (pages, attachments and plugs).

f
space.listPages

Lists all pages (files ending in .md) in the space.

f
space.listPlugs

List all plugs in the space.

f
space.readAttachment

Read an attachment from the space

f
space.readFile

Read a file from the space as a Uint8Array.

f
space.readPage

Read a page from the space as text.

f
space.writeAttachment

Writes an attachment to the space

f
space.writeFile

Write a file to the space.

f
space.writePage

Write a page to the space.

Add Package

deno add jsr:@silverbulletmd/silverbullet

Import symbol

import { space } from "@silverbulletmd/silverbullet/syscalls";

---- OR ----

Import directly with a jsr specifier

import { space } from "jsr:@silverbulletmd/silverbullet/syscalls";