Mediates the hydrolysis of some nucleoside diphosphate derivatives. Can use FAD and ADP-ribose as substrates. ADP-D-ribose + H2O = AMP + D-ribose 5-phosphate + 2 H(+) FAD + H2O = AMP + FMN + 2 H(+) Expressed in roots, leaves, stems and inflorescences. Belongs to the Nudix hydrolase family.