0.1.13 • Published 4 months ago

@fnet/shell v0.1.13

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 months ago

@fnet/shell

The @fnet/shell project is essentially a library built on top of the 'shelljs' utility. This project enables Javascript developers to write scripts that can execute shell commands using Node.js.

Value and Features for End-users

The first and foremost strength of this project is that it allows asynchronous command execution. This gives the library an edge over traditional approaches to executing shell commands. With asynchronous executions, users can run multiple commands simultaneously, without blocking or waiting for each command to finish. This capability is extremely useful in building efficient and fast programs.

Secondly, the library offers a great deal of flexibility to the user. It accepts both strings and objects as input commands besides offering a multitude of options like silent execution, changing the working directory pre-execution, and not waiting for async tasks, to customize the command execution as per the user's need. The 'silent' execution is especially useful when users want to suppress command output for cleaner console logs.

Error Handling

Another important aspect of this library is its robust error handling mechanism. Whenever a shell command fails or encounters an issue, it doesn't just crash out; instead, it gives a detailed problem report inclusive of the return code, stdout, stderr, and the original args, aiding troubleshooting.

Beyond Standard ShellJS

By extending the ShellJS library, the @fnet/shell project provides these additional user-centric functionalities, making shell command executions in Node.js more efficient and enjoyable for end-users like developers and system administrators. Its easy installation and usage also mean that anyone, even the non-tech savvy, can use it effectively.

0.1.13

4 months ago

0.1.12

7 months ago

0.1.11

7 months ago

0.1.10

7 months ago

0.1.9

8 months ago

0.1.8

8 months ago

0.1.7

8 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago