anyid
Version:
A simple and flexible API to generate various kinds of string ID / code.
27 lines • 880 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("./core");
exports.AnyId = core_1.AnyId;
const time_1 = require("./time");
exports.Time = time_1.Time;
const random_1 = require("./random");
exports.Random = random_1.Random;
const fixed_1 = require("./fixed");
exports.Fixed = fixed_1.Fixed;
const seq_1 = require("./seq");
exports.Sequence = seq_1.Sequence;
const function_1 = require("./function");
exports.Func = function_1.Func;
const variable_1 = require("./variable");
exports.Variable = variable_1.Variable;
core_1.AnyId.use(time_1.Time);
core_1.AnyId.use(random_1.Random);
core_1.AnyId.use(fixed_1.Fixed);
core_1.AnyId.use(seq_1.Sequence);
core_1.AnyId.use(function_1.Func);
core_1.AnyId.use(variable_1.Variable);
function anyid() {
return new core_1.AnyId();
}
exports.anyid = anyid;
//# sourceMappingURL=index.js.map