Find the word definition

Douglas Harper's Etymology Dictionary
needways

"by necessity," c.1300, a northern and Scottish word, marked as obsolete in OED; from need (n.) + way (n.), with adverbial genitive.

Wiktionary
needways

adv. (context Now chiefly UK dialectal English) By or because of necessity; needwise.