Using JSDoc to write better JavaScript Code

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    Using TypeScript consistently offers a lot of benefits, especially for writing clean code to prevent unnecessary bugs and errors. But it takes some time and effort to learn, and you have to adapt every code snippet after copy-pasting from a tutorial or a StackOverflow example (especially true for back-end code using Node, Express and Mongoose like I did for a full-stack web app side project.

  • JSDoc

    An API documentation generator for JavaScript.

    Often overlooked, never even heard of until now, JSDoc deserves more attention, as it brings a lot of advantages out of some short lines of documentation.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • ESLint

    Find and fix problems in your JavaScript code.

    Use eslint, but that's not an alternative, you should lint your code anyway and benefit from (mostly) helpful hints and warnings.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts