UNPKG

@antv/data-wizard

Version:
43 lines (42 loc) 1.15 kB
"use strict"; /** * Random generate value * * @example * ```javascript * import { random } from '@antv/data-wizard'; * * const name = random.name(); * ``` * * with your own seed * ```javascript * import { random } from '@antv/data-wizard'; * const random = new random.Random(200); * console.log(random.phone()); * ``` * extend * ```javascript * import { random } from '@antv/data-wizard'; * random.Random.mixin({ * user() { * return { * name: this.cName(), * aget: this.integer({ max: 50, min: 25 }) * } * } * }) * ``` * * @packageDocumentation */ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); tslib_1.__exportStar(require("./basic-random"), exports); tslib_1.__exportStar(require("./text-random"), exports); tslib_1.__exportStar(require("./datetime-random"), exports); tslib_1.__exportStar(require("./color-random"), exports); tslib_1.__exportStar(require("./web-random"), exports); tslib_1.__exportStar(require("./location-random"), exports); tslib_1.__exportStar(require("./address-random"), exports); tslib_1.__exportStar(require("./random"), exports);