@types/randomatic
TypeScript definitions for randomatic
Last updated 5 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/randomatic 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/randomatic

Summary

This package contains type definitions for randomatic (https://github.com/jonschlinkert/randomatic).

Details

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

index.d.ts

// Type definitions for randomatic 3.1
// Project: https://github.com/jonschlinkert/randomatic
// Definitions by: Frelia <https://github.com/execfera>
//                 Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Generate randomized strings of a specified length using simple character sequences. The original generate-password.
 */
declare function randomatic(pattern: string, length?: number, options?: randomatic.Options): string;
declare function randomatic(pattern: string, options?: randomatic.Options): string;
declare function randomatic(length: number): string;

declare namespace randomatic {
    const isCrypto: boolean;

    interface Options {
        chars?: string | undefined;
        exclude?: string | string[] | undefined;
    }
}

export = randomatic;

Additional Details

  • Last updated: Sat, 31 Jul 2021 22:31:25 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Frelia, and Piotr Błażejewicz.

Current Tags

  • 3.1.3                                ...           latest (5 years ago)
  • 3.1.0                                ...           ts3.0 (6 years ago)
  • 3.1.0                                ...           ts3.1 (6 years ago)
  • 3.1.0                                ...           ts3.2 (6 years ago)
  • 3.1.0                                ...           ts3.3 (6 years ago)
  • 3.1.0                                ...           ts3.4 (6 years ago)
  • 3.1.1                                ...           ts3.5 (5 years ago)
  • 3.1.3                                ...           ts3.6 (5 years ago)
  • 3.1.3                                ...           ts3.7 (5 years ago)
  • 3.1.3                                ...           ts3.8 (5 years ago)
  • 3.1.3                                ...           ts3.9 (5 years ago)
  • 3.1.3                                ...           ts4.0 (5 years ago)
  • 3.1.3                                ...           ts4.1 (5 years ago)
  • 3.1.3                                ...           ts4.2 (5 years ago)
  • 3.1.3                                ...           ts4.3 (5 years ago)
  • 3.1.3                                ...           ts4.4 (5 years ago)
  • 3.1.3                                ...           ts4.5 (5 years ago)
  • 3.1.3                                ...           ts4.6 (5 years ago)
  • 3.1.3                                ...           ts4.7 (5 years ago)
  • 3.1.3                                ...           ts4.8 (5 years ago)
  • 3.1.3                                ...           ts4.9 (5 years ago)
  • 3.1.3                                ...           ts5.0 (5 years ago)
  • 3.1.3                                ...           ts5.1 (5 years ago)

4 Versions

  • 3.1.3                                ...           5 years ago
  • 3.1.2                                ...           5 years ago
  • 3.1.1                                ...           5 years ago
  • 3.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |