I\'m using Angular 2 for a signup form: first name, last name, email and password.
After submit, the data is being stored via API call in a database (nodeJs and mongo) a
It's downloaded as a part of Angular's dependency, use it like:
import { v4 as uuid } from 'uuid'; @Component(..) export class AppComponent { console.log('new uid: ', uuid()); }