Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 603 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 603 Bytes

WordifyJS

A JS library for "humanizing" UUIDs

badge

Installing

$ npm install wordifyjs

Usage

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

License

ISC