The spatial distribution of the electronic wave function of a shallow, interstitial Li donor in a ZnO semiconductor nanocrystal has been determined in the regime of quantum confinement by using the nuclear spins as probes. Hyperfine interactions as monitored by electron nuclear double resonance spectroscopy quantitatively reveal the transition from semiconductor to molecular properties upon reduction of the size of the nanoparticles.