JSDoc – Docmentation for JavaScript files

I’ve finally dragged myself, kicking and screaming, into using phpDoc on my PHP files to keep my sanity. But I’ve always been very sparse on my JavaScript documentation. I’ve got what I thought was a good excuse though – those comments have to be downloaded to the visitors machine meaning more time before they can view the page. But with minification they can be stripped out of the final version and still help me during development.

Since I’m used to the phpDoc style of doing things I went out Googling for a similar program for JavaScript files. Turns out there’s one named JSDoc that does exactly what I was looking for.

Question, Comments...

Do you have more questions. Please either leave a comment below or join us in our new forum.

Leave a Reply