How to use the pkg.taunus function in pkg

To help you get started, we’ve selected a few pkg examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github taunus / taunus / lib / rc.js View on Github external
function manifest () {
  var json;
  var exists = fs.existsSync(pkg);
  if (exists) {
    json = require(pkg).taunus;
  if (json) {
    return json;
  return dotfile();