rednode API - v0.50.0
    Preparing search index...

    Interface PackageInfo

    This package, as the REDnode host sees it.

    interface PackageInfo {
        appsDirs: readonly string[];
        dataDir: string;
        dir: string;
        id: string;
    }
    Index
    appsDirs: readonly string[]

    The folders packages are loaded from, for tools that read other packages' files: the player's development folders first (REDnode 0.33.0 or later), then the apps folder.

    dataDir: string

    A folder of the package's own, outside the apps folder, for anything it writes: settings, caches, history. It survives updates of the package.

    dir: string

    The package's folder, in the apps folder. Treat it as read-only: hot reload watches it.

    id: string

    The package's id, from its rednode-app.json.