UNPKG

npm-check-updates

Version:

Find newer versions of dependencies than what your package.json allows

17 lines (16 loc) 356 B
import { Options } from '../types/Options'; /** * Finds the package file and data. * * Searches as follows: * --packageData flag * --packageFile flag * --stdin * --findUp */ declare function findPackage(options: Options): Promise<{ pkgData: string | null; pkgFile: string | null; pkgPath: string | null; }>; export default findPackage;