Etymology
Today it means: By or because of necessity; needwise. Full definition →
From need + -ways. Compare needwise.
Etymology from Wiktionary, CC BY-SA 4.0.