It's tough to find, there are no 'best before' dates on sodium nitrite bottles. Please do not worry about sodium nitrite degradation.
If you store your sodium nitrite
in a closed container, in low humidity and in a dark place, you will be fine. Most likely for decades.
Here's a thread I found online where some chemistry interested guys and girls discuss their NaNO2. They have bottles opened 10 to 30 years (!!) ago.
For my own work, I use NaNO2 that was opened in 2002, and it does exactly what it is supposed to do.
Here's ANOTHER link to the data safety sheet of NaNO2:
https://nj.gov/health/eoh/rtkweb/documents/fs/2258.pdf
Same story,
closed container, low humidity, keep in dark.
When in doubt, get some silica sachets, put them into the container, close the container lid tightly and, if still in a paranoid frenzy, seal the lid off with parafilm or something similar, then hide it in your closet.
LD50 for NaNO2 is approximately 5 g for a person of 65 kg. We plan on ingesting at minimum triple that dose, some take up to 6 times the LD50 dose (15g - 30 g). If your NaNO2 is stored in a
closed container in low humidity and in the dark, you will be fine and don't need to worry.
Just don't store it in the bathroom while showering, don't leave it on the south facing window sill in the summer, don't store it over the stove where you boil your noodles, don't leave the bottle open to air out.
Edit: I found another link:
https://ingredi.com/content/pdfs/Sodium_Nitrite_Shelf_Life.pdf
Here, they name a MINIMUM shelf life of 3 years if the already mentioned factors (closed container, low humidity, dark storage place) are kept.
Additionally, you need to consider that you are buying at least 95% purity grade. Degradation doesn't mean it goes from 95% to 0% in a matter of days or weeks.