Hacker News new | past | comments | ask | show | jobs | submit login

https://www.npmjs.com/package/is-odd

It's stuff like this which makes me hate npm and the modern Javascript ecosystem in general.

You start a new project and pull in a bigger thing like Quasar and npm fetches hundreds of packages and the summary tells you that 5 of them have vulnerabilities in them before you even get started. What am I supposed to do with them?

But regarding the string-width problem, im not sure if you've come across "What every developer should know about Unicode" [0], because it appears to be a problem which requires an external package.

[0] https://news.ycombinator.com/item?id=37735801




this is hardly restricted to the javascript ecosystem. it's a problem with any language where third-party libraries are readily available.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: