Socket
Socket
Sign inDemoInstall

@startupjs/backend

Package Overview
Dependencies
Maintainers
6
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@startupjs/backend

Create new ShareDB backend instance


Version published
Weekly downloads
267
increased by520.93%
Maintainers
6
Weekly downloads
 
Created
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

Package last updated on 04 Feb 2022

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc