MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / getCopyrightOwner

Function getCopyrightOwner

packages/cli/generators/copyright/header.js:98–106  ·  view source on GitHub ↗
(pkg, options)

Source from the content-addressed store, hash-verified

96}
97
98function getCopyrightOwner(pkg, options) {
99 return (
100 options.copyrightOwner ||
101 _.get(pkg, 'copyright.owner') ||
102 _.get(pkg, 'author.name') ||
103 options.defaultCopyrightOwner ||
104 'Owner'
105 );
106}
107
108/**
109 * Build the license template params

Callers 1

buildHeaderFunction · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected