#typescript#nodejs#openai#typescript
You can use the OpenAI TypeScript and JavaScript library to easily connect your apps to OpenAI’s API, letting you generate text, handle streaming responses, upload files, verify webhooks, and more with simple code. It supports Node.js, Deno, Bun, and browsers (with caution), offers full TypeScript types for better coding accuracy and IDE help, and handles errors and retries automatically. You can also use it with Microsoft Azure OpenAI and build real-time chat with WebSocket. This library saves you time and effort by providing ready-to-use, well-documented tools to integrate AI features smoothly into your JavaScript or TypeScript projects.
https://github.com/openai/openai-node
#Murmuration#PKM 这个有意思,[《中国的地图每张都是错的》](https://telegra.ph/%E6%AF%8F%E5%BC%A0%E4%B8%AD%E5%9B%BD%E5%9C%B0%E5%9B%BE%E9%83%BD%E6%98%AF%E9%94%99%E7%9A%84%E8%BF%98%E6%98%AF%E6%95%85%E6%84%8F%E7%9A%84-05-15),这是翻译版本。原版在这里 [《Every map of China is wrong》](https://medium.com/@anastasia.bizyayeva/every-map-of-china-is-wrong-bc2bce145db2) 。🤷我说怎么地图啥都飘呢,哈哈哈