@types/omgopass
TypeScript icon, indicating that this package has built-in type declarations

3.2.3 • Public • Published

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

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: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Nikolai Kolodziej.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/omgopass

Weekly Downloads

3,970

Version

3.2.3

License

MIT

Unpacked Size

4.46 kB

Total Files

5

Last publish

Collaborators

  • types