How to use the system-runtime.require function in system-runtime

To help you get started, we’ve selected a few system-runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github design-first / system-designer / src / components / js / app-github.js View on Github external
/* 
 * {{name}}
 * 
 * @description {{description}}
 * 
 * @module {{name}}
 * @version {{version}}
 * @requires system-runtime
 * 
 */

// install System Runtime
let runtime = require('system-runtime');

// set the level of log
runtime.require('logger').level('{{logLevel}}');

// install and start the system
runtime.install('{{name}}.json');

system-runtime

A JavaScript library that runs systems

Apache-2.0
Latest version published 10 months ago

Package Health Score

61 / 100
Full package analysis

Popular system-runtime functions