3.2.3 • Published 6 months ago

@types/omgopass v3.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/omgopass

Summary

This package contains type definitions for omgopass (https://github.com/omgovich/omgopass#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omgopass.

index.d.ts

// Type definitions for omgopass 3.2
// Project: https://github.com/omgovich/omgopass#readme
// Definitions by: Nikolai Kolodziej <https://github.com/kldzj>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface OmgopassOptions {
    /**
     * Count of syllables
     * @default 3
     */
    syllablesCount?: number | undefined;
    /**
     * Minimal length of a syllable
     * @default 2
     */
    minSyllableLength?: number | undefined;
    /**
     * Max length of a syllable
     * @default 3
     */
    maxSyllableLength?: number | undefined;
    /**
     * Put numbers in the password
     * @default true
     */
    hasNumbers?: boolean | undefined;
    /**
     * Use titlecase
     * @default true
     */
    titlecased?: boolean | undefined;
    /**
     * Vowel alphabet
     * @default 'aeiouy'
     */
    vowels?: string | undefined;
    /**
     * Consonant alphabet
     * @default 'bcdfghklmnprstvz'
     */
    consonants?: string | undefined;
    /**
     * Symbols that separate syllables
     * @default ''
     */
    separators?: string | undefined;
}

declare function omgopass(options?: OmgopassOptions): string;

export = omgopass;

Additional Details

  • Last updated: Thu, 08 Jul 2021 18:51:47 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Nikolai Kolodziej.

3.2.2

7 months ago

3.2.3

6 months ago

3.2.1

3 years ago

3.2.0

3 years ago