0.9.4 • Published 7 years ago

bash-ls v0.9.4

Weekly downloads
17
License
-
Repository
github
Last release
7 years ago

bash-ls

bash command ls in pure javascript

Installation

$ npm install -g bash-ls

Command Line

Run on Terminal

$ ls .

Output:

[
    "bin.js",
    "index.js",
    "node_modules",
    "package.json",
    "README.md",
    "test"
]

API

var ls = require('bash-ls');
ls('./', function(er, list) {
  // here you could get a files list of the current directory
})

Support Options

  • -A, almost-all: do not list implied . and ..

  • -a, --all: do not ignore entries starting with .

  • -B, --ignore-backups: do not list implied entries ending with ~

LICENSE

MIT

0.9.4

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

8 years ago