produck / svg-captcha

generate svg captcha in node
MIT License
1.86k stars 174 forks source link

fs.readFileSync is not a function? #23

Closed zs1843 closed 6 years ago

zs1843 commented 6 years ago

I use it in react index.js, got this error: fs.readFileSync is not a function?

solarhell commented 6 years ago

fs module is only available in node.