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

A good example of a well documented library is three.js

https://tsdocs.dev/docs/three/0.159.0/classes/Bone.html

It’s fun to just read through all of the different entities in the 3D ecosystem, even though I’ve only used it only a couple of times.




Great reference.

To this date, one of the best well-documented code is jQuery: https://github.com/jquery/jquery/blob/main/src/core/init.js

I learned a lot from looking into the code.


Agreed although I'm somewhat confused since the three js source code is JavaScript not TypeScript.


It is auto-redirecting to the @types/three package and getting the types from DefinitelyTyped. You can see that in the breadcrumbs, but it might be something that could be better highlighted (and maybe even redirect the URL to make even more obvious to developers).




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

Search: