Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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

  • 0.54.1
  • npm
  • Socket score

Version published
Weekly downloads
63
decreased by-44.74%
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 01 Nov 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc