MCPcopy Index your code
hub / github.com/meteor/meteor / get

Method get

tools/project-context.js:1639–1650  ·  view source on GitHub ↗
(...keys)

Source from the content-addressed store, hash-verified

1637 // General utility for querying the "meteor" section of package.json.
1638 // TODO Implement an API for setting these values?
1639 get(...keys) {
1640 let config = this._ensureInitialized();
1641 if (config) {
1642 keys.every(key => {
1643 if (config && _.has(config, key)) {
1644 config = config[key];
1645 return true;
1646 }
1647 });
1648 return config;
1649 }
1650 }
1651
1652 getNodeModulesToRecompileByArch() {
1653 const packageNamesByArch = Object.create(null);

Callers 2

Calls 2

_ensureInitializedMethod · 0.95
hasMethod · 0.45

Tested by

no test coverage detected