dqbd / tiktoken

JS port and JS/WASM bindings for openai/tiktoken
MIT License
649 stars 49 forks source link

feat: install missing dev dependencies #54

Closed kdwkr closed 5 months ago

kdwkr commented 1 year ago

Install node-fetch and wasm-pack to run build correctly.

SunnyGPT commented 1 year ago

Install node-fetch and wasm-pack to run build correctly.

Hi brother, I would like to ask you to help me integrate dqbd/tiktoken into vercel reverse proxy and write stream input and output tokens into the database, and willing to pay for it, can you help me?

dqbd commented 5 months ago

Hey @kdwkr! Thanks for the contribution 🙂 Nevertheless, would prefer to use the shell script for wasm-pack instead which avoids pulling additional dev dependencies such as binary-install + node-fetch should be unnecessary for Node.js 18+, which ships with built-in fetch support