1.0.19 • Published 6 years ago
@reinjs/rein v1.0.19
rein
The main framework of reinjs
Install
npm i @reinjs/rein
Usage
Use in common project:
const Worker = require('@reinjs/rein');
const worker = new Worker({
cwd: __dirname
});
worker.listen();
Use in cluster:
const Cluster = require('@reinjs/rein-cluster');
const cluster = new Cluster({
cwd: __dirname,
agents: ['book'],
timeout: 10000,
framework: '@reinjs/rein'
});
cluster.listen().then(() => console.log('cluster is ok')).catch(e => console.error(e));
More API see document(coming soon...).
License
It is MIT licensed.
1.0.19
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago