Skip to content

An intuitive CLI command to list the content of a specific directory, made with NodeJS.

Notifications You must be signed in to change notification settings

soniiix/nodejs-listdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

listdir 🗂️

npm version

Description

listdir is a simple and intuitive CLI command that lists the content of a directory, including information like file type, size and last modified time.

Install

Make sure you have Node.js installed and run the following command :

npm install -g @soniix/listdir

Usage

Once installed, use the listdir command followed by the directory path :

listdir /directory/path

If no directory path is provided, the current directory will be listed :

listdir

Options

You can choose to show all files including hidden files using the -a option :

listdir -a /directory/path

This will also work :

listdir /directory/path -a

Example

Here is an example of the listdir command output :

output_example

Useful links

About

An intuitive CLI command to list the content of a specific directory, made with NodeJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published