UNPKG
sherry-utils
Version:
latest (2.0.0-alpha.9)
next (2.0.0-alpha.8)
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
2.0.0-alpha.0
sherry-utils for Sherry
github.com/sherry/sherry/packages/sherry-utils
sherry/sherry
sherry-utils
/
lib
/
store.js
12 lines
(8 loc)
•
241 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
Conf
=
require
(
'conf'
)
const
{
SHERRY_GLOBAL_SCOPE
} =
require
(
'./env'
)
const
logger =
require
(
'./logger'
)
const
store =
new
Conf
({
configName
:
SHERRY_GLOBAL_SCOPE
}) logger.
debug
(
'Store path:'
, store.
path
)
module
.
exports
= store