This is a node.js wrapper for the Bitfinex API.
npm install bitfinex
var Bitfinex = require('bitfinex');
var bitfinex = new Bitfinex(your_key, your_secret);
bitfinex.new_order("btcusd", 42, 802.7, "all", "buy", "exchange limit",
function(err, res, order_id){
console.log(order_id);
});