Skip to main content
This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
Published
2 months ago (11.0.0-beta.3)

Earthstar is a general purpose distributed data store, designed with the social realities of peer-to-peer computing kept in mind. It is powered by Willow.

To get started, try instantiating a new Peer:

const peer = new Peer({
  password: "password1234",
  runtime: new RuntimeDriverUniversal(),
  storage: new StorageDriverMemory();,
});

Add Package

deno add @earthstar/earthstar

Import symbol

import * as mod from "@earthstar/earthstar/";

Add Package

npx jsr add @earthstar/earthstar

Import symbol

import * as mod from "@earthstar/earthstar/";

Add Package

yarn dlx jsr add @earthstar/earthstar

Import symbol

import * as mod from "@earthstar/earthstar/";

Add Package

pnpm dlx jsr add @earthstar/earthstar

Import symbol

import * as mod from "@earthstar/earthstar/";

Add Package

bunx jsr add @earthstar/earthstar

Import symbol

import * as mod from "@earthstar/earthstar/";