Documentation
    Preparing search index...
    PackageJsonExportConditions: Record<string, string> & {
        default?: string;
        deno?: string;
        import?: string;
        node?: string;
        require?: string;
        types?: string;
    }

    https://nodejs.org/api/packages.html#exports There are some community conditions that are not indluded. Check here for more: https://nodejs.org/api/packages.html#community-conditions-definitions

    Type Declaration

    • Optionaldefault?: string

      Used by NodeJS

    • Optionaldeno?: string

      Used by Deno

    • Optionalimport?: string

      Used by NodeJS

    • Optionalnode?: string

      Used by NodeJS

      This can also be an object like { import?: string; require?: string } But I'm not using it so I keep it simple

    • Optionalrequire?: string

      Used by NodeJS

    • Optionaltypes?: string

      Community condition. Can be used by typing systems to resolve the typing file for the given export. ! This condition must always be included first.