Skip to main content
Module

x/earthstar/src/entries/npm.ts>Server

Storage for private, distributed, offline-first applications.
Go to Latest
class Server
import { Server } from "https://deno.land/x/earthstar@v10.0.2/src/entries/npm.ts";

An extensible server able to synchronise with other peers.

A server's functionality can be extended using extensions of type IServerExtension.

Constructors

new
Server(extensions: IServerExtension[], opts: ServerOpts)

Create a new server with an array of extensions.

Properties

private
core: ServerCore
private
server: ReturnType<createServer>