@ecosis/core
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.3 • Public • Published

@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);

Readme

Keywords

none

Package Sidebar

Install

npm i @ecosis/core

Weekly Downloads

1

Version

0.0.1-alpha.3

License

MIT

Unpacked Size

142 kB

Total Files

58

Last publish

Collaborators

  • equaliser