Created
January 9, 2019 18:28
-
-
Save whitetigle/17aec8f337a46fbdf3db7c3cbec54c72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module rec Fable.Import.GenPass | |
open Fable.Core | |
open Fable.Import.JS | |
[<Import("default", from="generate-password")>] | |
let generator: IExports = jsNative | |
[<RequireQualifiedAccess>] | |
type IOptions = | |
abstract length:int with get, set | |
abstract numbers:bool with get, set | |
abstract symbols:bool with get, set | |
abstract uppercase:bool with get, set | |
abstract excludeSimilarCharacters:bool with get, set | |
abstract exclude:string with get, set | |
abstract strict:bool with get, set | |
type [<AllowNullLiteral>] IExports = | |
abstract generate: options : IOptions -> string | |
abstract generateMultiple: number: int * options : IOptions -> string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment