narra

2.0.1 • Public • Published

License npm-version

Narra

A port of the useful tree directory listing program in JavaScript.

Usage

narra [..options] <..directories>
Option Description
--help Show help message.
-a, --all Include dot-prefixed files in listing.
-l, --follow Follow symbolic links.
-d, --depth Takes a number N greater than 0; descend N directories only.
--dirs-only Display directories only.
-f Display the offset path of each entry from top directory.
-x Stay on the current filesystem only.
-g Takes a glob pattern and filter files by it. Uses picomatch syntax and matching. Can be specified multiple times for different globs.
-o, --output Takes a filename and sends output to the file (truncating if it exists).

Package Sidebar

Install

npm i narra

Weekly Downloads

13

Version

2.0.1

License

MIT

Unpacked Size

10.1 kB

Total Files

5

Last publish

Collaborators

  • kkkent