install an node package into specific directory