UNPKG

uniquegen

Version:

uniquegen is an package for Node.js projects, enabling the generation of random numbers and words. It offers flexibility and ease of use, making it a valuable tool for developers.

76 lines 2.3 kB
/** * @fileoverview This file contains the implementation of the `Generate` object that provides functions for generating random numbers, words, symbols, mixed strings, and booleans. * @module uniquegen * @license COPYRIGHT BY @AnkanSaha * @license COPYRIGHT YEAR 2024 */ /** * Import the Random Number Generator Function. * @internal */ import GenerateNumberID from './Function/NumFunction'; /** * Import the Random Word Generator Function. * @internal */ import GenerateWordID from './Function/WordFunction'; /** * Import the Random Symbol Generator Function. * @internal */ import GenerateSymbolID from './Function/SymbolFunction'; /** * Import the Random Mixed Generator Function. * @internal */ import GenerateMixedID from './Function/MixedFunction'; /** * Import the Random Boolean Generator Function. * @internal */ import GenerateBooleanID from './Function/BooleanFunction'; /** * Import the Generate Interface. * @internal */ import { Generate } from './Interfaces/uniquegen.interface'; /** * This code block is creating an object named `Generate` that implements the `Generate` interface. It * is assigning the four functions `GenerateNumberID`, `GenerateWordID`, `GenerateSymbolID`, and * `GenerateMixedID` to the properties `randomNumber`, `randomWord`, `randomSymbol`, and `randomMixed` * respectively. These functions are exported from separate files and are used to generate random * numbers, words, symbols, and mixed strings. The `Generate` object is then exported as the default * export of the module. */ declare const Generate: Generate; /** * Export the Function for Random Number. * @public */ export declare const randomNumber: typeof GenerateNumberID; /** * Export the Function for Random Word. * @public */ export declare const randomWord: typeof GenerateWordID; /** * Export the Function for Random Symbol. * @public */ export declare const randomSymbol: typeof GenerateSymbolID; /** * Export the Function for Random Mixed. * @public */ export declare const randomMixed: typeof GenerateMixedID; /** * Export the Function for Random Boolean. * @public */ export declare const randomBoolean: typeof GenerateBooleanID; /** * Export the default function. * @public */ export default Generate; //# sourceMappingURL=uniquegen.d.ts.map