randomfox

Typescript

import { customfox } from "randomfox"
console.log(customfox([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]));

Javascript

const { customfox } = require("randomfox");
console.log(customfox([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]));

Browser

<script src="https://unpkg.com/randomfox/src/browser.js">
console.log(customfox(["Floof 1", "Floof 2", "Floof 3", "Floof 4"]));
</script>

or

<script src="https://unpkg.com/randomfox/src/browser.min.js">
console.log(customfox(["Floof 1", "Floof 2", "Floof 3", "Floof 4"]));
</script>