📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-30 04:48:54
📂
/ (Root)
/
home
/
orkouolp
/
nodevenv
/
node_js
/
orkofarms.com
/
18
/
lib
/
node_modules
/
jsdoc
/
lib
/
jsdoc
📍 /home/orkouolp/nodevenv/node_js/orkofarms.com/18/lib/node_modules/jsdoc/lib/jsdoc
🔄 Refresh
✏️
Editing: config.js
Writable
/** * @module jsdoc/config */ const stripBom = require('jsdoc/util/stripbom'); const stripJsonComments = require('strip-json-comments'); function mergeRecurse(target, source) { Object.keys(source).forEach(p => { if ( source[p].constructor === Object ) { if ( !target[p] ) { target[p] = {}; } mergeRecurse(target[p], source[p]); } else { target[p] = source[p]; } }); return target; } // required config values, override these defaults in your config.json if necessary const defaults = { plugins: [], recurseDepth: 10, source: { includePattern: '.+\\.js(doc|x)?$', excludePattern: '' }, sourceType: 'module', tags: { allowUnknownTags: true, dictionaries: ['jsdoc', 'closure'] }, templates: { monospaceLinks: false, cleverLinks: false } }; /** * Represents a JSDoc application configuration. */ class Config { /** * @param {(string|object)} [jsonOrObject] - The contents of config.json, or a JavaScript object * exported from a .js config file. */ constructor(jsonOrObject) { if (typeof jsonOrObject === 'undefined') { jsonOrObject = {}; } if (typeof jsonOrObject === 'string') { jsonOrObject = JSON.parse( (stripJsonComments(stripBom.strip(jsonOrObject)) || '{}') ); } if (typeof jsonOrObject !== 'object') { jsonOrObject = {}; } this._config = mergeRecurse(defaults, jsonOrObject); } /** * Get the merged configuration values. */ get() { return this._config; } } module.exports = Config;
💾 Save Changes
❌ Cancel