const uniqueRandomArray = require('unique-random-array'); const starWarsNames = require('./starwars-names.json'); module.exports = { all: starWarsNames,random: uniqueRandomArray(starWarsNames),};

constuniqueRandomArray=require('unique-random-array');conststarWarsNames=require('./starwars-names.json');module.exports={all:starWarsNames,random:uniqueRandomArray(starWarsNames),};

Update index.min.js