LogoRobo.js
Framework

Robo

Variable: Robo

const Robo: {
  build: (options?) => Promise<void>;
  restart: () => Promise<void>;
  start: (options?) => Promise<void>;
  stop: (exitCode, reason?) => Promise<void>;
};

Robo is the main entry point for your app. It provides a simple API for starting, stopping, and restarting your Robo.

import { Robo } from 'robo.js'

Robo.start()

You do not normally need to use this API directly, as the CLI will handle starting and stopping for you.

Learn more: Robo

Type declaration

NameType
build(options?) => Promise<void>
restart() => Promise<void>
start(options?) => Promise<void>
stop(exitCode, reason?) => Promise<void>

On this page