Skip to content

yankycranky/angular2-uuid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular2-uuid

Angular 2 UUID generator. Uses crypto-secure PRNG window.crypto.getRandomValues() if available, otherwise fallback to Math.random();

Install

npm install angular2-uuid --save

Use

Include in Angular2 / Ionic2 project with

import { UuidService } from 'angular2-uuid';
...
constructor(private uuid: UuidService) { ... }
...
const uuid = this.uuid.generate();

About

Angular 2 UUID generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%