UNPKG

randimals

Version:

Generate unique animal IDs for your projects

9 lines (6 loc) 282 B
// load data and map it const adjSrc = require('../data/adjectives'); const aniSrc = require('../data/animals'); const adjectives = adjSrc.map((word: string) => word.toLowerCase()); const animals = aniSrc.map((word: string) => word.toLowerCase()); export { adjectives, animals };