0.0.1-alpha.3 • Published 3 years ago

@ecosis/core v0.0.1-alpha.3

Weekly downloads
80
License
MIT
Repository
github
Last release
3 years ago

@ecosis/core

Core Modules to build scale Instances

Usage

const { Host, Instance, Gateway } = require('@ecosis/core');
const { Database } = require('@ecosis/database');

const db = new Database('.db')

host.add([
  new Instance('', [
    new Gateway('name', db, (context) => console.log(context))
  ])
]);

host.listen(9090);