1.0.9 • Published 6 years ago

guid-typescript v1.0.9

Weekly downloads
80,186
License
ISC
Repository
github
Last release
6 years ago

Guid Typescript

Guid Typescript is library that let you generate guid code

Instalation and usage

Instalation

npm i guid-typescript --save

Basic usage

import { Guid } from "guid-typescript";

export class Example {
    public id: Guid;
    constructor() {
        this.id = Guid.create(); // ==> b77d409a-10cd-4a47-8e94-b0cd0ab50aa1
    }
}

Props and Methods

Method/PropDescriptionTestStatus
static isGuid (guid: any): booleanCheck if value is a guid codeOKReady
static create ( ): GuidCreate a new guidOKReady
static createEmpty ( ): GuidCreate a guid emptyOKReady
static parse (guid: string): GuidGiven a guid code in string format, so create a guid instanceOKReady
static raw ( ): stringCreate a guid code in string formatOKReady
equals (other: Guid): booleanCompare a guid codeOKReady
isEmpty ( ): booleanValidate if a guid is emptyOKReady
toString ( ): stringParse a guid instance to string formatOKReady
toJSON ( ): anyParse to JSON formatOKReady
alerts-controllerlets-api-microservice-dependencieschalona-api-testthe-genesisdltuichart-libirary-demo-testms-chart-demoms-chart-demo-testms-chart-demo1mll-chartmll-chart-test-democmy-chart-demomll-demofcenail-servernl-live-chatsportcrmcloudbeds-sdkumc-meyex-unodotnet-schematicsvh_component_test_copypc-versionhistory-spc-rulesengine-sjpc-rulesengine-sppc-notifications-spc-notifications-shbuildmotion@infinitebrahmanuniverse/nolb-gui@everything-registry/sub-chunk-1803aifm-factsheetsync_otvue-object-statewfdesignerstorage-packspell-game-commonsplibkoaretgc2e-presentation-apivideo-scan-watchkey-layers-js@metaprosystems/coremetadaptive-coregubkachartstrata.client.corestrata.client.reactteststrata.foundation.corestrata.hello.servicestockchartvuetx-frameworktxf-componentstxf-core-componentstintoa-data-servicetintoa-mvctgraphtravian-king-helperstokyobananatesttonolucro-account-sdk-frontend-javascripttonolucro-organization-sdk-javascript@appglue/core@arcualberta/applets@adnovum/ionic-appauth@aislamov/onnxruntime-web64@baid-group/dotbim-ts@ambientlight/react-azure-maps@blockr/blockr-p2p-lib@bmcl/bmcl-shared-packages@builtview/react-azure-maps@bwi-mentorspaces/application-utils-npm@chkp/cp-mgmt-api-typescript-sdk@chkp/harmony-endpoint-management-sdk@1023-ventures/merope@1023-ventures/merope2@1023-ventures/vega-core@acknow-srl/svg-viewer@codesmith-99/ionic-appauth-test@codiac.io/codiac-cli@de-dan/ionic-appauth@derfrodo/frodo-s-little-helpers@dell-emc/react-native-meeting-sdkyalentoweb-client-host-appuneeq-webunstateless@hprose/io@freshconsulting/core@goboomtown/storage-json@kuika/kuika-cl-model@kuika/kuika-react-cl-agent@liujiaheng/gridcell@maxjoehnk/masstransit-rabbitmq@microsoft/kiota-http-fetchlibrary@microsoft/kiota-serialization-form@microsoft/kiota-serialization-json@microsoft/kiota-serialization-multipart@microsoft/kiota-serialization-text@microsoft/kiota-abstractions@markotny/ionic-appauth@newview/tools@newview/bimview-service@nexus-switchboard/nexus-conn-jira@neferett/cloudflaredns@neferett/loginscanner
1.0.9

6 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago