$ npm install wordifyjs
Importing wordify:
import * as wordify from 'wordifyjs';
WordifyJS exposes a few utility functions for generating and converting UUIDs to and from words.
wordify.generateNewPair(); // returns [uuid, word-combination]
wordify.wordsFromUUID(uuid); // Existing UUID -> Word combination
wordify.uuidFromWords(words); // Existing Word Combination -> UUID