
<p>To install the latest version on npm locally and save it in your package's
<code>package.json</code> file:</p>
<pre><code>npm install --save-dev jsdoc
</code></pre>
<p><strong>Step 02</strong>:</p>
<p>Create a <code>package.json</code> file inside jsdoc-example folder using below command</p>
<pre class="prettyprint source"><code>    npm init -y
</code></pre>
<pre class="prettyprint source"><code>{
  &quot;name&quot;: &quot;jsdoc-example&quot;,
  &quot;version&quot;: &quot;1.0.0&quot;,
  &quot;descriptio