index.js 194 Bytes Raw Blame History Permalink 1 2 3 4 5 'use strict'; const findUp = require('find-up'); module.exports = async ({cwd} = {}) => findUp('package.json', {cwd}); module.exports.sync = ({cwd} = {}) => findUp.sync('package.json', {cwd});