Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
19 things I learnt reading the Node.js docs (medium.com/david.gilbertson)
14 points by bubble_boi on Nov 7, 2016 | hide | past | favorite | 4 comments


What I learned that viewing Node.js docs is that they're perhaps the most unreadable docs I've seen, due to the bajillion point font making for ~30 characters per line.

http://i.imgur.com/ijgFDDr.png

Maybe they're in need of a web designer.


And it gets bigger as your browser window gets narrower!


Quick note about the section on "Relative paths": `fs` paths _are_ relative to `process.cwd()` but `__dirname` reflects the directory that contains the current file. Those two directories are not necessarily the same thing.


I see now I wasn't clear on that. I've updated the example to show that the paths won't be the same.




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

Search: