MCPcopy
hub / github.com/koajs/koa / toJSON

Method toJSON

lib/application.js:127–129  ·  view source on GitHub ↗

* Return JSON representation. * We only bother showing settings. * * @return {Object} * @api public

()

Source from the content-addressed store, hash-verified

125 */
126
127 toJSON () {
128 return only(this, ['subdomainOffset', 'proxy', 'env'])
129 }
130
131 /**
132 * Inspect implementation.

Callers 7

inspectMethod · 0.95
inspectFunction · 0.80
toJSONFunction · 0.80
inspectFunction · 0.80
inspectFunction · 0.80
inspect.test.jsFile · 0.80
toJSON.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected