Skip to content

Utilities for using unix shell commands from node.js

License

Notifications You must be signed in to change notification settings

yaxingson/pretty-shell

Repository files navigation

Quick start

Install

# via npm
$ npm i pretty-shell --save
$ npm i pretty-shell -g

Usage

Command line:

$ shx mkdir -p foo
$ shx touch foo/bar.txt
$ shx rm -rf foo

Node API:

const shell = require('pretty-shell')
const { mkkdir, touch , rm } = require('pretty-shell')

Configuration

Commands

category command description
fs cd
ls
cat
chmod
cp
find
pwd
net ifconfig
netstat
ping
os date
free
uname

Examples

const { find } = require('pretty-shell')

About

Utilities for using unix shell commands from node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published