Thinking it over this has been a theme throughout my life at various points (not always just at times).
One time my husband said I reminded him of a koala because I cling so much

it can't have been easy having such a needy wife, he was single a while before me and needed his space. In recent years I did better in that I branched out and got new absorbing interests (it was easier now our family is grown and I don't have to be at home so much) and acquaintences and even new friendships. It gave my husband some respite and he noticed and complimented me on the difference.
The thing is I recognise the neediness in myself within the new friendships, I love my friends and really value time with them but I miss them so much when I don't see them. I feel sad and mope, yet in company I am fine.
If you feel neediness within yourself what do you find helps deal with it?