package
Simple implementation of the ls command for windows
npm install windows-lsGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Simple implementation of the ls command for windows.
$ npm i windows-ls -gRun the command line:
$ ls [OPTIONS] [DIR]List information about the FILEs (the current directory by default).
We can use the following arguments to control the search:
| Flag | Description |
|---|---|
| -a | do not ignore entries starting with . |
| -R | ist subdirectories recursively |
| -l | use a long listing format |
| -F | append / indicator to directories and * to executable files |
| -h | print sizes in human-readable format (e.g., 1K, 234M, 2G) |
| -p | append / indicator to directories |
And the bonus will be able to use the glob-patterns that begin with an asterisk:
$ ls *.js
$ ls **/.txt# Options
$ ls -a -l -R
$ ls -alR
# Dirs
$ ls lib
$ ls lib -al
$ ls test -lR
# Glob
$ ls *.js
$ ls *.{js,json}
$ ls test/**/*
$ ls test/**/* -lhoperation not permitted.Estimated unpacked size across 16 packages.
7.0 MB
Includes dependencies.
7 direct · 5 outdated
^6.0.3
14.0.6
^1.1.1
6.0.1
^0.1.1
1.0.0
^1.2.0
1.2.8
^1.0.11
5.0.5
^0.2.0
0.2.0
^3.0.0
7.2.0