<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hasibul Hasan (Anik)</title>
    <description>The latest articles on DEV Community by Hasibul Hasan (Anik) (@anikhasibul).</description>
    <link>https://dev.to/anikhasibul</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F78231%2F5dfcd64f-e4dd-4358-b785-7290c235aa9e.jpg</url>
      <title>DEV Community: Hasibul Hasan (Anik)</title>
      <link>https://dev.to/anikhasibul</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anikhasibul"/>
    <language>en</language>
    <item>
      <title>Godoc like CLI tool for nodejs documentation. </title>
      <dc:creator>Hasibul Hasan (Anik)</dc:creator>
      <pubDate>Wed, 30 Jan 2019 19:10:55 +0000</pubDate>
      <link>https://dev.to/anikhasibul/godoc-like-cli-tool-for-nodejs-documentation--1203</link>
      <guid>https://dev.to/anikhasibul/godoc-like-cli-tool-for-nodejs-documentation--1203</guid>
      <description>&lt;p&gt;Hello there,&lt;br&gt;
Here is a tool for nodejs documentation. &lt;a href="https://github.com/AnikHasibul/jsdoc" rel="noopener noreferrer"&gt;https://github.com/AnikHasibul/jsdoc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fizqmebdkue5xftpgoevr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fizqmebdkue5xftpgoevr.jpg" alt="Image from https://www.conetix.com.au/blog/a-closer-look-at-go-and-nodejs"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We all know that, how hard it is to find out methods and functions of a nodejs module. &lt;br&gt;
And we also know how easy it is in &lt;a href="https://golang.org" rel="noopener noreferrer"&gt;Golang&lt;/a&gt;. It's as simple as &lt;code&gt;go doc fmt&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But as other devs I always try to dump (&lt;code&gt;console.log&lt;/code&gt;) an object to know a bit about the object. And &lt;a href="https://github.com/AnikHasibul/jsdoc" rel="noopener noreferrer"&gt;jsdoc&lt;/a&gt; does the same thing! ;)&lt;/p&gt;

&lt;p&gt;So here is few examples of jsdoc:&lt;/p&gt;

&lt;p&gt;Listing objects from &lt;code&gt;console&lt;/code&gt; module.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ jsdoc console
Console {
  log: [Function: bound consoleCall],
  debug: [Function: bound consoleCall],
  info: [Function: bound consoleCall],
  dirxml: [Function: bound consoleCall],
  warn: [Function: bound consoleCall],
  error: [Function: bound consoleCall],
  dir: [Function: bound consoleCall],
  time: [Function: bound consoleCall],
  timeEnd: [Function: bound consoleCall],
  timeLog: [Function: bound timeLog],
  trace: [Function: bound consoleCall],
  assert: [Function: bound consoleCall],
  clear: [Function: bound consoleCall],
  count: [Function: bound consoleCall],
  countReset: [Function: bound consoleCall],
  group: [Function: bound consoleCall],
  groupCollapsed: [Function: bound consoleCall],
  groupEnd: [Function: bound consoleCall],
  table: [Function: bound consoleCall],
  Console: [Function: Console],
  profile: [Function: profile],
  profileEnd: [Function: profileEnd],
  timeStamp: [Function: timeStamp],
  context: [Function: context],
  [Symbol(kBindStreamsEager)]: [Function: bound ],
  [Symbol(kBindStreamsLazy)]: [Function: bound ],
  [Symbol(kBindProperties)]: [Function: bound ],
  [Symbol(kWriteToConsole)]: [Function: bound ],
  [Symbol(kGetInspectOptions)]: [Function: bound ],
  [Symbol(kFormatForStdout)]: [Function: bound ],
  [Symbol(kFormatForStderr)]: [Function: bound ],
  [Symbol(counts)]: Map {},


  [Symbol(kGroupIndent)]: '' }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Listing items from &lt;code&gt;http&lt;/code&gt; package's &lt;code&gt;METHODS&lt;/code&gt; array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ jsdoc http.METHODS
[ 'ACL',
  'BIND',
  'CHECKOUT',
  'CONNECT',
  'COPY',
  'DELETE',
  'GET',
  'HEAD',
  'LINK',
  'LOCK',
  'M-SEARCH',
  'MERGE',
  'MKACTIVITY',
  'MKCALENDAR',
  'MKCOL',
  'MOVE',
  'NOTIFY',
  'OPTIONS',
  'PATCH',
  'POST',
  'PROPFIND',
  'PROPPATCH',
  'PURGE',
  'PUT',
  'REBIND',
  'REPORT',
  'SEARCH',
  'SOURCE',
  'SUBSCRIBE',
  'TRACE',
  'UNBIND',
  'UNLINK',
  'UNLOCK',
  'UNSUBSCRIBE' ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I hope you got the concept about &lt;code&gt;jsdoc&lt;/code&gt; tool.&lt;/p&gt;

&lt;p&gt;You can download the tool for yourself and put a star on the repo at &lt;a href="https://github.com/AnikHasibul/jsdoc" rel="noopener noreferrer"&gt;https://github.com/AnikHasibul/jsdoc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>go</category>
      <category>node</category>
      <category>cli</category>
      <category>tool</category>
    </item>
  </channel>
</rss>
