0.4.2 • Published 5 years ago

@muffin-dev/pick-random-file v0.4.2

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

Muffin Dev for Node - Pick Random File

This utility picks a random file in a directory, and displays the path to that picked file.

Installation

Installit using npm by running the following command:

npm i -g @muffin-dev/pick-random-file

Usage

Once installed, run pick-random-file (or its shortcut rndfile). By default, it uses the current directory (equivalent to type ./).

You can also write file extensions to filter files by type.

Examples:

pick-random-file
pick-random-file /path/to/directory
pick-random-file /path/to/directory wav
pick-random-file /path/to/directory png jpg gif
0.4.2

5 years ago

0.3.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago