UNPKG
fatty-cli-js
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Fatty client for node.js
fatty-cli-js
/
lib
/
index.js
14 lines
(10 loc)
•
253 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var
dbClient =
require
(
'./db'
);
var
cacheClient =
require
(
'./cache'
);
// 数据库客户端
exports
.
dbClient
=
function
(
opts
) {
return
new
dbClient
(opts); }
// 缓存客户端
exports
.
cacheClient
=
function
(
opts
) {
return
new
cacheClient
(opts); }