Pack N Play ?

I'm pregnant with my second baby and my first will be only be around 18 months when the new baby is born. I'm not going to kick my son out of his crib for the new baby so I was just wondering is it safe for a baby to sleep in a pack n play? As opposed to a crib? I do not want a bassinet because those can only be used short term and I'd rather spend my money on something that can be used for longer. Can anyone reccomend a good pack n play? I have never owned one before. Thank you! ( I'm posting this in a few different groups so sorry if you see it more than once )