mongodb-memory-server-core
    Preparing search index...

    Function findPackageJson

    • Find the nearest package.json (that has an non-empty config field) for the provided directory

      Parameters

      • Optionaldirectory: string

        Set an custom directory to search the config in (default: process.cwd())

      Returns PackageJSON | undefined

      what "packagejson" variable is