I am trying to login to a website using (for now) axios post request. In python using request, I can instantiate a session object and it will keep me logged in after I've posted the login data to the website. I am guessing this has to do with persistent cookies.
I want this same functionality in Javascript, and have tried to find solutions with Axios. I can't seem to find anything relevant on Google or on Stackoverflow. Is there any way you can persist cookies in Axios, or is there any other npm package that functions similar to Python's requests session?