Documentation
    Preparing search index...
    drivers: {
        argon2: (config: ArgonConfig) => ConfigProvider<() => Argon>;
        bcrypt: (config: BcryptConfig) => ConfigProvider<() => Bcrypt>;
        scrypt: (config: ScryptConfig) => ConfigProvider<() => Scrypt>;
    } = ...

    Helpers to configure drivers inside the config file. The drivers will be imported and constructed lazily.

    • Import happens when you first use the hash module
    • Construction of drivers happens when you first use a driver

    Type Declaration