<?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: Chandrahass Tvs</title>
    <description>The latest articles on DEV Community by Chandrahass Tvs (@chandrahasstvs).</description>
    <link>https://dev.to/chandrahasstvs</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%2F467027%2Fab3b8b76-6a28-413b-804c-76b88d7c5605.jpeg</url>
      <title>DEV Community: Chandrahass Tvs</title>
      <link>https://dev.to/chandrahasstvs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chandrahasstvs"/>
    <language>en</language>
    <item>
      <title>Building your own text-area auto-resize directive in Angular</title>
      <dc:creator>Chandrahass Tvs</dc:creator>
      <pubDate>Sat, 03 Oct 2020 10:56:15 +0000</pubDate>
      <link>https://dev.to/chandrahasstvs/building-your-own-text-area-auto-resize-directive-in-angular-ehg</link>
      <guid>https://dev.to/chandrahasstvs/building-your-own-text-area-auto-resize-directive-in-angular-ehg</guid>
      <description>&lt;p&gt;Check out the article @ &lt;a href="https://link.medium.com/j4fNzlNrhab"&gt;https://link.medium.com/j4fNzlNrhab&lt;/a&gt;&lt;/p&gt;

</description>
      <category>angular</category>
      <category>directive</category>
      <category>html</category>
      <category>textarea</category>
    </item>
    <item>
      <title>Checklist for creating complex Angular applications</title>
      <dc:creator>Chandrahass Tvs</dc:creator>
      <pubDate>Fri, 11 Sep 2020 05:18:53 +0000</pubDate>
      <link>https://dev.to/chandrahasstvs/checklist-for-creating-complex-angular-applications-3p5e</link>
      <guid>https://dev.to/chandrahasstvs/checklist-for-creating-complex-angular-applications-3p5e</guid>
      <description>&lt;p&gt;Ever wanted a quick list of things you need to set up a complex and scalable Angular application? Check out &lt;a href="https://link.medium.com/IoXJMjIMF9"&gt;https://link.medium.com/IoXJMjIMF9&lt;/a&gt;&lt;/p&gt;

</description>
      <category>angular</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>I have developed an easy to use Lint visualizer for Angular projects!</title>
      <dc:creator>Chandrahass Tvs</dc:creator>
      <pubDate>Thu, 10 Sep 2020 19:19:57 +0000</pubDate>
      <link>https://dev.to/chandrahasstvs/i-have-developed-an-easy-to-use-lint-visualizer-for-angular-projects-39o3</link>
      <guid>https://dev.to/chandrahasstvs/i-have-developed-an-easy-to-use-lint-visualizer-for-angular-projects-39o3</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/ChandrahassTvs/lint-visualizer"&gt;GitHub&lt;/a&gt; | &lt;a href="https://www.npmjs.com/package/lint-visualizer"&gt;NPM Registry&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have been looking for an opportunity to work on an open-source project, giving back to the open-source community which has helped me a lot in my career.&lt;/p&gt;

&lt;p&gt;While looking for different ways to contribute, I have personally faced some inconvenience in tracking my project's lint errors/warning as I keep fixing them and this has pushed me to build a simple tool that will help the developers like me to visualize the lint errors/warnings as actionable items.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So what is Lint Visualizer?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Lint Visualizer provides a smart way to view your project's lint errors &amp;amp; warnings as actionable items.&lt;/p&gt;

&lt;p&gt;It's time to say BYE BYE to the old-school terminal-based output for your lint errors/warnings. With the all-new &lt;strong&gt;Lint Visualizer&lt;/strong&gt;, you will now have a clear way to visualize your lint errors/warnings and keep track of them as they are being fixed. It comes with a couple of handy features that help you to clearly work on the errors/warnings and easily launch google search for the fix.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My learnings during this contribution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This contribution has thought me a lot of things like creating CLI commands, working with chile_processes in the node.js (spawn() vs exec()), writing a clear Readme file, publishing packages to NPM registry, managing releases in GitHub, and so on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Challenges faced&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I have initially faced issues with &lt;strong&gt;maxBuffer&lt;/strong&gt; size exceeded as the ng lint output is so much that the &lt;code&gt;exec()&lt;/code&gt; child_process in the node.js was not able to handle. Researching on the issue, I have understood that we should use &lt;code&gt;spawn()&lt;/code&gt; over &lt;code&gt;exec()&lt;/code&gt; for complex processes that give larger outputs and how to consume the output in chunks.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ng lint --format=json&lt;/code&gt; vs &lt;code&gt;ng lint --format=checkstyle&lt;/code&gt; =&amp;gt; I faced issues with &lt;code&gt;spawn()&lt;/code&gt; initially since it was also not able to stream all the output and finally found that &lt;code&gt;ng lint --format=json&lt;/code&gt; was not streaming the output like the &lt;code&gt;ng lint --format=checkstyle&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reference links that helped me in publishing my first NPM package&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developer.okta.com/blog/2019/06/18/command-line-app-with-nodejs"&gt;https://developer.okta.com/blog/2019/06/18/command-line-app-with-nodejs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://nodejs.org/api/child_process.html"&gt;https://nodejs.org/api/child_process.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://stackoverflow.com/questions/32886789/change-the-code-from-child-process-exec-to-spawn"&gt;https://stackoverflow.com/questions/32886789/change-the-code-from-child-process-exec-to-spawn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://stackoverflow.com/a/36562121/12255873"&gt;https://stackoverflow.com/a/36562121/12255873&lt;/a&gt;&lt;/p&gt;

</description>
      <category>angular</category>
      <category>javascript</category>
      <category>node</category>
      <category>hacktoberfest</category>
    </item>
  </channel>
</rss>
