JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 58155
  • Score
    100M100P100Q149950F
  • License MIT

Angular 2 / TypeScript crypto-secure UUID generator

Package Exports

  • angular2-uuid
  • angular2-uuid/index

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (angular2-uuid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 { UUID } from 'angular2-uuid';
...
let uuid = UUID.UUID();