UNPKG

foxes

Version:

Get random fox image urls in a simple commandline app

19 lines (17 loc) 360 B
import { fox, customfox } from "randomfox"; function parse(custom: string) { if (custom) { console.log(` ===============Foxes=============== ${customfox(custom.split(" "))} `); return true; } else { console.log(` ===============Foxes=============== ${fox()} `); return false; } } export { parse }