GO:0004550: nucleoside diphosphate kinase activity
Catalysis of the reaction: ATP + nucleoside diphosphate = ADP + nucleoside triphosphate.