Skip to content
/ uuid Public

A very light weight Angular / Node module for generating a valid uuid4. One thing that difference about this is the last 11 characters of the UUID is the hex-time stamp.

Notifications You must be signed in to change notification settings

sngreg/uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

uuid

A very light weight Angular / Node module for generating a valid uuid4. One thing that differece about this is the last 11 characters of the UUID is the hextime stamp.

Usage

Angular

angular.module('yourModule', ['uuid']);

const generatedUUID = uuid.v4(); // generates a valid v4 uuid

const isValidUUID = uuid.validate(<uuid-to-validate>); // validates just if this is a valid v4 uuid

Node

var uuid = require('uuid');

const generatedUUID = uuid.v4(); // generates a valid v4 uuid

const isValidUUID = uuid.validate(<uuid-to-validate>); // validates just if this is a valid v4 uuid

About

A very light weight Angular / Node module for generating a valid uuid4. One thing that difference about this is the last 11 characters of the UUID is the hex-time stamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published