The process in which nicotinamide mononucleotide is transported from one side of a membrane to the other by means of some agent such as a transporter or pore. Nicotinamide mononucleotide is a ribonucleotide in which the nitrogenous base, nicotinamide.