GT2/Ejectable/node_modules/pkg-up/index.js
2021-08-16 00:14:59 +00:00

5 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});