UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

20 lines (16 loc) 540 B
// Type definitions for randomstring 1.1.4 // Project: https://github.com/klughammer/node-randomstring // Definitions by: Isman Usoh <https://github.com/isman-usoh/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace Randomstring { interface GenerateOptions { length?: number; readable?: boolean; charset?: string; capitalization?: string; } function generate(options?: GenerateOptions): string; } declare module "randomstring" { export = Randomstring; }