WUT_Computer_Science/EGUI/lab3/front/node_modules/pkg-up/index.js

6 lines
194 B
JavaScript
Raw Normal View History

2022-06-15 03:02:51 +02:00
'use strict';
const findUp = require('find-up');
module.exports = async ({cwd} = {}) => findUp('package.json', {cwd});
module.exports.sync = ({cwd} = {}) => findUp.sync('package.json', {cwd});