node-ls

0.0.4 • Public • Published

node-ls Build Status

bash command ls in pure javascript

Installation

$ npm install node-ls

API

var ls = require('ls');
ls('./', '--all', 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 ~

TO Be Continue

LICENSE

MIT

/node-ls/

    Package Sidebar

    Install

    npm i node-ls

    Weekly Downloads

    19

    Version

    0.0.4

    License

    none

    Last publish

    Collaborators

    • yorkie