Search
Preparing search index...
The search index is not available
naive
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"database"
External module "database"
Index
Classes
Database
Variables
read
write
Functions
is
Root
Node
split
Path
Object literals
DEFAULT_
CTX
Variables
Const
read
read
:
__promisify__
= promisify(readFile)
Const
write
write
:
__promisify__
= promisify(writeFile)
Functions
Const
is
Root
Node
is
Root
Node
(
path
:
string
)
:
boolean
Identify if a path is a root node
Parameters
path:
string
Returns
boolean
Const
split
Path
split
Path
(
path
:
string
)
:
string
[]
Split path using "/" as a delimiter
Parameters
path:
string
Returns
string
[]
Object literals
Const
DEFAULT_
CTX
DEFAULT_
CTX
:
object
cache
Path
cache
Path
:
string
= `${__dirname}/db.json`
logger
logger
:
log
= console.log
max
DbSizeMB
max
DbSizeMB
:
number
= 6
Globals
"context.model"
"database"
"database.model"
"database.test"
"error.model"
"util"
Database
read
write
is
Root
Node
split
Path
DEFAULT_
CTX
Generated using
TypeDoc
Identify if a path is a root node