UNPKG

lightfold

Version:

lightweight scaffolding and archiving utility CLI.

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