Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/server/server.node.ts>Server

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
class Server
import { Server } from "https://deno.land/x/earthstar@v10.0.0/src/server/server.node.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>