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
GoAnywhere Managed File Transfer (MFT) Icon
GoAnywhere Managed File Transfer (MFT)

Secure and simplify your file transfers

GoAnywhere MFT provides secure managed file transfer for enterprises. Deployable on-premise, in the cloud, or in hybrid environments, GoAnywhere MFT software enables organizations to exchange data among employees, customers, and trading partners, as well as between systems, securely. GoAnywhere MFT was a recipient of the Cybersecurity Excellence Award for Secure File Transfer.
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