Skip to content

Instantly share code, notes, and snippets.

@juliandavidmr
Created February 8, 2017 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliandavidmr/be2bce3605f9c6c00bcaaa71427305f0 to your computer and use it in GitHub Desktop.
Save juliandavidmr/be2bce3605f9c6c00bcaaa71427305f0 to your computer and use it in GitHub Desktop.
'use strict';
var uniqueRandomArray = require('unique-random-array');
var catNames = require('./cat-names.json');
exports.all = catNames;
exports.random = uniqueRandomArray(catNames);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment