Role of NaOH in synthesis of Dithiocarbamate?
$\ce{NaOH}$ is used as a base to remove the amine proton, which improves the nucleophilic power of the molecule. This way the addition to the double bond in $\ce{CS2}$ is favoured.