ai / nanoid

A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript
https://zelark.github.io/nano-id-cc/
MIT License
24.22k stars 790 forks source link

Undefined in Server Side Nextjs / Node #476

Closed btahir closed 3 months ago

btahir commented 3 months ago

Hi - Great project! I am getting an id no problem on the client in my next.js app but if I run it server side its undefined. Is this a known limitation or a bug?

btahir commented 3 months ago

Oh nvm I was being dumb!