Documentation for Simbo's Packages
    Preparing search index...

    Interface GetPackagePathByNameOptions

    Options for getPackagePathByName.

    interface GetPackagePathByNameOptions {
        absolute?: boolean;
        concurrency?: number;
        failOnError?: boolean;
        workingDir?: string;
    }
    Index

    Properties

    absolute?: boolean

    Whether to return an absolute path. Defaults to false (relative path).

    false
    
    concurrency?: number

    The concurrency level for reading workspaces. If not specified, it will default to 10.

    10
    
    failOnError?: boolean

    Whether to fail on error when reading package.json files. Defaults to false.

    false
    
    workingDir?: string

    The working directory to get the package path from. Should be the path to the root of the repository. Defaults to the current working directory.

    process.cwd()