MCPcopy Create free account
hub / github.com/fastify/fastify / getMeta

Function getMeta

lib/plugin-utils.js:19–21  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

17const rcRegex = /-(?:rc|pre|alpha).+$/u
18
19function getMeta (fn) {
20 return fn[Symbol.for('plugin-meta')]
21}
22
23function getPluginName (func) {
24 const display = getDisplayName(func)

Callers 4

checkDependenciesFunction · 0.85
checkDecoratorsFunction · 0.85
checkVersionFunction · 0.85
registerPluginNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected