openai / openai-quickstart-node

Node.js example app from the OpenAI API quickstart tutorial
https://platform.openai.com/docs/quickstart?context=node
MIT License
2.55k stars 1.99k forks source link

chore(package.json): specify Node.js version to 18+ #82

Closed shiba-hiro closed 1 year ago

shiba-hiro commented 1 year ago

Thank you for providing the quickstart repository.

As Node.js v14 is about to reach its end of life, I recommend upgrading to v18 for future-proofing. https://github.com/nodejs/Release#release-schedule

I have tested this PR on my local environment and confirmed that...

Please review the changes, and let me know if you have any concerns or questions. Thank you again for your time and consideration.

schnerd commented 1 year ago

The purpose of engine version ranges is to specify all the versions that are supported. We'll be releasing a new version soon where node 16 is the minimum, so i'll update to that.