Nukes in space are actually not all that great. The same goes for explosions in general. A lot of our intuition for explosions come from how they interact with atmosphere, which will compress and expand, and mediate a shock wave in a way vacuum categorically does not.
A nuke is essentially reduced to a flash of ionizing radiation and a few kilograms of gas rapidly cooling and diffusing into the vacuum of space.
A nuke is essentially reduced to a flash of ionizing radiation and a few kilograms of gas rapidly cooling and diffusing into the vacuum of space.