UNPKG

node-password-generator

Version:

A simple lightweight npm library for password generator. It allows you to create random unqiue password on the fly.

15 lines (14 loc) 324 B
export interface WordOptions { /** * Path to the words of dictonary */ filepath: string; /** * no of words to be included in password [default is 3] */ wordcount?: number; /** * separator that will be used to join words [default is empty space] */ separator?: string; }