jsdoc-scribe API/lib/configCurrent
Functions(2)
#loadConfig
line 15
Load and return config from `configPath` (default: cwd/.jsdoc-scribe.json). Returns an empty object if the file doesn't exist.
ParameterTypeOptionalDescription
configPathstringyes- Explicit path to config file.
Returns: { out?, title?, theme?, json?, readme?, ignore?, sourceUrl? }
Signature
loadConfig(configPath: any): any
#mergeConfig
line 35
Merge config file values with CLI args. CLI args take precedence over config file (explicit undefined values are skipped).
ParameterTypeOptionalDescription
fileConfigobject- Values from .jsdoc-scribe.json
cliArgsobject- Values parsed from argv (undefined = not set)
Returns: object — Merged options object
Signature
mergeConfig(fileConfig: any, cliArgs: any): any
Variables & Constants(5)
const fs: any
const
Signature
const fs: any
const path: any
const
Signature
const path: any
#CONFIG_FILENAME
line 6
const CONFIG_FILENAME: string
const
Signature
const CONFIG_FILENAME: string
const p: any
const
Signature
const p: any
const raw: any
const
Signature
const raw: any