UNPKG

@loopback/context

Version:

Facilities to manage artifacts and their dependencies in your Node.js applications. The module exposes TypeScript/JavaScript APIs and decorators to register artifacts, declare dependencies, and resolve artifacts by keys. It also serves as an IoC container

15 lines (14 loc) 453 B
import hyperid from 'hyperid'; /** * Generate a (globally) unique identifier in a very fast way. * Please note the ids ARE NOT formatted as UUID and have variable length. * The format of generated values may change in the future. * * @internal */ export declare const generateUniqueId: hyperid.Instance; /** * A regular expression for testing values generated by generateUniqueId. * @internal */ export declare const UNIQUE_ID_PATTERN: RegExp;