@actually_connor/uuid is a JavaScript library for generating and working with universally unique identifiers (UUIDs). It provides a ramsey/uuid-like interface to the uuid package that This project adheres to a code of conduct. By participating in this project and its community, you are expected to uphold this code.
1. Install
npm i --save @actually_connor/uuid
2. Generate a UUID (ES6 module syntax)
import { Uuid } from '@actually_connor/uuid';
const uuid = Uuid.uuid4();
… or using CommonJS syntax:
const { Uuid } = require('@actually_connor/uuid');
const uuid = Uuid.uuid4();