2020-05-26 18:17:24 +02:00

6 lines
170 B
JavaScript

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