How do I use JSDoc on Windows?

前端 未结 3 515
有刺的猬
有刺的猬 2021-02-02 16:12

Forgive me if this is a daft question but I\'m utterly baffled as to how I can use JSDoc on Windows. I\'m aware of JSDoc-Toolkit but it\'s a bit out of date and the google code

3条回答
  •  故里飘歌
    2021-02-02 16:16

    You can download it as an npm package for the Node.js JavaScript runtime environment.

    1. Install Node.js which comes with npm
    2. Open your a command line
    3. Install JsDoc by typing the following command

      npm install -g jsdoc

    4. Run JsDoc / generate documentation. more info

      jsdoc path/to/file.js

    5. Configure jsdoc (Optional)

提交回复
热议问题