New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bash-ls

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bash-ls

bash command `ls` in pure javascript

latest
Source
npmnpm
Version
0.9.4
Version published
Maintainers
1
Created
Source

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

Keywords

bash

FAQs

Package last updated on 09 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts