Socket
Socket
Sign inDemoInstall

@startupjs/backend

Package Overview
Dependencies
12
Maintainers
6
Versions
163
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@startupjs/backend


Version published
Maintainers
6
Created

Readme

Source

startupjs backend

Create new ShareDB backend instance

Installation

yarn add @startupjs/backend

Requirements

nconf: *

Usage

import createBackend from '@startupjs/backend'

export default async function runServer () {
  const { backend, shareMongo, redis } = await createBackend(options)
  // ...
}

where options are:

  • pollDebounce is the minimum delay between subsequent database polls . It is used individually for each collection in database. This is used to batch updates to reduce load on the database.

Licence

MIT

(c) Decision Mapper - http://decisionmapper.com

FAQs

Last updated on 31 May 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc