You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

systemic-domain-runner

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systemic-domain-runner

Starts systemic systems within a domain

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
506
-41.64%
Maintainers
1
Weekly downloads
 
Created
Source

Systemic Domain Runner

Starts systemic systems within a domain

TL;DR

const Systemic = require('systemic')
const runner = require('systemic-domain-runner')

const system = new Systemic()
    .add('config', { foo: 1, bar: 2 })
    .add('app', require('./my-app'))
        .dependsOn('config')

runner(system).start((err, components) => {
    if (err) throw err
    console.log('Started')
})

Features

  • Shutsdown the system on unhandled errors
  • Uses system-service-runner as the underlying runner by default

Usage

runner(<system>, [<options>]).start(<cb>)

Default options

{
    logger: console,
    runner: require('systemic-service-runner')
}

Keywords

Systemic

FAQs

Package last updated on 10 Dec 2016

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