mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-25 10:01:30 -04:00
11 lines
221 B
JavaScript
11 lines
221 B
JavaScript
'use strict';
|
|
var findUp = require('find-up');
|
|
|
|
module.exports = function (cwd) {
|
|
return findUp('package.json', {cwd: cwd});
|
|
};
|
|
|
|
module.exports.sync = function (cwd) {
|
|
return findUp.sync('package.json', {cwd: cwd});
|
|
};
|