Google AI has has just confirmed my gut feeling. Slide hammers are better for removing really stubborn ,possibly rusted ,parts. By using brute force
Threaded pullers are better for removing parts in a more controlled way if they are merely very tight. Which would probably suffice in your case.
It partly depends on how often you expect to pull hubs in the future. The slide hammer has the advantage of other attachments that could make it suitable for other automotive 'pulling' jobs ,including dent pulling .
If you decide on a threaded type you can buy them from about £12. The one listed by bill888 is £39.99 .Maybe a bit expensive if if its only likely to be a one off job. Of course if a screw type is not up to the job you will regret not buying a slide hammer.
I had a few budget priced ,probably chinese, bearing and gear pullers . The shiny metal 'legs' were always ok, but on some of them the threaded screw started to show they were fairly inferior metal.
There is a bit of a compromise. If the screw thread is not up to the job , you could ,with a bit of ingenuity, contrive a makeshift slide hammer that makes use of the hub adapter and pulls on the threaded bolt.
You dont necessarily need to find a 5 kg 'hammer' substitute . Under Newtons law the kinetic energy rises by the square of velocity.As an alternative you could lengthen whatever you use as the slide bar so the hammer can reach twice the speed of the shop bought device. A 'hammer' of only 2.5 kg would still produce twice the impact of the 5 kg hammer. A solid object (or a combination of objects) totalling 2.5 kg may be easier to find.
A bit of a bodge but IIRC about 50 years ago I produced just such a device using stuff I had to hand. I wrapped, or bolted a strong chain around what needed to be pulled and slid a heavy object down the chain to repeatedly impact against a high tensile bolt through a chain link. I think I used an old cast iron car jack with the screw centre removed, in which case it probably weighed more than 5 kg anyway. But anything you try is at your own risk.