Ok, this is hard because everyone needs a different sort of help.
Maybe try and approach her about your concerns, and why you are worried. Maybe in a letter because that might remive the pressure from her in feeling she has to respond and she can take time over a reply.
Maybe suggest she gets some help and support (maybe give her some info on where she can go, but DON'T pressure her to get it, just giving her the info may be enough at the moment to make her think), also try and give her info on how dangerous purging (ie making yourself sick, or taking laxatives or excessive exercise) can be.
Allow her to talk to you, and try to actually listen to what she says. She might just need someone to listen to her about how she feels and what is going on.
Do NOT pressure her into stopping, do not do anything like make ultimatums, like stop purging or I'll leave your friendship (I don't think you would, but there are so many people who think ultimatums work, but they make it worse for the sufferer). Try not to make a massive deal of it, just try to keep it casual when you communicate, but also try to help her understand what she is doing. And try to stay calm.
You sound like a brilliant friend because she felt able to talk to you before.
If I can help anymore, let me know.
Take care of yourself too