index.js 170 B

123456
  1. 'use strict';
  2. const findUp = require('find-up');
  3. module.exports = cwd => findUp('package.json', {cwd});
  4. module.exports.sync = cwd => findUp.sync('package.json', {cwd});