Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript / Node.js based equivalent of Fabric?

I love how Fabric makes dealing with deployments to multiple servers easy (with proper support for SSH etc). However, since ours is s node.js based project, it would be great if we could do this in Javascript rather than Python.

What is the closest node.js/Javascript equivalent of Fabric? (If there is one!)

like image 861
UpTheCreek Avatar asked Jan 22 '13 22:01

UpTheCreek


People also ask

What is node js equivalent?

Elixir is a well-known alternative to Node. js as it is a dynamic, functional language for creating maintainable and scalable applications. It is open-source and highly compatible with Mac, Windows, and Linux.

Is node js based on JavaScript?

NodeJS is a cross-platform and opensource Javascript runtime environment that allows the javascript to be run on the server-side. Nodejs allows Javascript code to run outside the browser. Nodejs comes with a lot of modules and mostly used in web development.

Which is better JavaScript or node JS?

JavaScript is a simple programming language that runs in any browser JavaScript Engine. Whereas Node JS is an interpreter or running environment for a JavaScript programming language that holds many excesses, it requires libraries that can easily be accessed from JavaScript programming for better use.


2 Answers

I wrote Flightplan, a node.js library which does exactly what you're asking for. It basically let's you run sequences of shell commands against your localhost and different sets of remote hosts.

like image 51
pstadler Avatar answered Oct 28 '22 10:10

pstadler


Fabric is basically a high-level ssh client. Answers to this question list several Javascript ssh clients:

  1. SSH2 client
  2. NodeSSH
  3. node-control
like image 30
Jasper van den Bosch Avatar answered Oct 28 '22 10:10

Jasper van den Bosch