You can use fabric, this is python lib. Nodejs already uses python for some build operations for extensions, for no reason why you also cannot use python to fulfill your requests.
http://docs.fabfile.org/en/1.2.2/index.html
I do not know about javascript lib that does this, not to mention that there is not one. The fabric sounds very similar to what capistrano is, but maybe a little different in some respects.
Sneaky wombat
source share