ShellJS is a portable (Windows/Linux/macOS) implementation of Unix shell commands on top of the Node.js API. You can use it to eliminate your shell script's dependency on Unix while still keeping its familiar and powerful commands. You can also install it globally so you can run it from outside Node projects, say goodbye to those gnarly Bash scripts! ShellJS is proudly tested on every node release since v8! ShellJS now supports third-party plugins! You can learn more about using plugins and writing your own ShellJS commands in the wiki. The most important thing is to require the most recent version of ShellJS as a peer-dependency. If you want to add unit tests for your plugin as well, you'll probably want it as a dev-dependency too.

Features

  • The project is unit-tested and battle-tested
  • If you just want cross platform UNIX commands, checkout our new project shelljs/shx
  • ShellJS now supports third-party plugins!
  • All commands run synchronously, unless otherwise stated
  • Commands can send their output to another command in a pipe-like fashion
  • Write your own ShellJS commands

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

BSD License

Follow ShellJS

ShellJS Web Site

Other Useful Business Software
The Most Powerful Software Platform for EHSQ and ESG Management Icon
The Most Powerful Software Platform for EHSQ and ESG Management

Addresses the needs of small businesses and large global organizations with thousands of users in multiple locations.

Choose from a complete set of software solutions across EHSQ that address all aspects of top performing Environmental, Health and Safety, and Quality management programs.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ShellJS!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Terminals

Registered

2022-04-08