@ow-framework/hello-world
v4.0.0
Published
A simple hello world module for [@ow-framework](https://github.com/ow-framework/ow-packages/tree/master/packages/ow-core)
Downloads
33
Keywords
Readme
@ow-framework/hello-world
A simple hello world module for @ow-framework
Install
yarn add @ow-framework/hello-world
Usage
import Ow from '@ow-framework/core';
import OwHelloWorld from '@ow-framework/hello-world';
const app = new Ow();
app.addModules([
OwHelloWorld
]);
app.start();
Usage with options
import Ow from '@ow-framework/core';
import OwHelloWorld from '@ow-framework/hello-world';
const app = new Ow();
const MyHelloWorld = new OwHelloWorld(app, {
theString: 'Some teststring',
logger: s => console.log(s)
})
app.addModules([
MyHelloWorld
]);
app.start();