• Version 1.0.9
  • Published
  • 4.55 kB
  • No dependencies
  • ISC license


npm i guid-typescript
yarn add guid-typescript
pnpm add guid-typescript


Guid generator to typescript



class Guid

class Guid {}

    property EMPTY

    static EMPTY: string;

      property validator

      static validator: RegExp;

        method create

        static create: () => Guid;

          method createEmpty

          static createEmpty: () => Guid;

            method equals

            equals: (other: Guid) => boolean;

              method isEmpty

              isEmpty: () => boolean;

                method isGuid

                static isGuid: (guid: any) => boolean;

                  method parse

                  static parse: (guid: string) => Guid;

                    method raw

                    static raw: () => string;

                      method toJSON

                      toJSON: () => any;

                        method toString

                        toString: () => string;

                          Package Files (1)

                          Dependencies (0)

                          No dependencies.

                          Dev Dependencies (8)

                          Peer Dependencies (0)

                          No peer dependencies.


                          To add a badge like this badgeto your package's README, use the codes available below.

                          You may also use to create a custom badge linking to

                          • Markdown
                          • HTML
                            <a href=""><img src="" alt=""></a>