0.9.4 • Published 9 years ago
bash-ls v0.9.4
bash-ls
bash command ls in pure javascript
Installation
$ npm install -g bash-lsCommand 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