<?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: Lucas.T</title>
    <description>The latest articles on DEV Community by Lucas.T (@luctst).</description>
    <link>https://dev.to/luctst</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%2F341815%2Feecfccae-3ac8-4909-a3e0-7381ce7bea94.jpeg</url>
      <title>DEV Community: Lucas.T</title>
      <link>https://dev.to/luctst</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luctst"/>
    <language>en</language>
    <item>
      <title>NPM - CLI tool to generate .gitignore file</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Fri, 24 Jun 2022 16:35:41 +0000</pubDate>
      <link>https://dev.to/luctst/npm-cli-tool-to-generate-gitignore-file-am7</link>
      <guid>https://dev.to/luctst/npm-cli-tool-to-generate-gitignore-file-am7</guid>
      <description>&lt;p&gt;&lt;em&gt;Generate .gitignore file with template for your project&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Features ✨
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Choose a template based on &lt;a href="https://github.com/github/gitignore"&gt;https://github.com/github/gitignore&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Choose a custom path to create &lt;code&gt;.gitignore&lt;/code&gt; file&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Install 🐙
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm i -g cligit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage 💡
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cligit &amp;lt;commands&amp;gt; [options]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;OR&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx cligit &amp;lt;commands&amp;gt; [options]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Use this if you don't want install this package globally.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Commands
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Commands are optional but allow you to skip question for choosing template&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;You can find the template availables in this &lt;a href="https://github.com/github/gitignore"&gt;github repository&lt;/a&gt; where template name is filename without the extension.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; - Supposing you'like to create a &lt;code&gt;.gitignore&lt;/code&gt; file and your project works with NodeJs you should run this &lt;code&gt;cligit Node&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Options
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;--path&lt;/code&gt; &lt;strong&gt;optional&lt;/strong&gt;, The path to create the &lt;code&gt;.gitignore&lt;/code&gt; file.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Exemples 🖍
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;With template name&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cligit Node
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;With custom path&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cligit --path dev/foo/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;With template and custom path&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cligit C --path dev/foo/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Good code and have fun 🧑‍💻&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/luctst/gitignore-cli"&gt;https://github.com/luctst/gitignore-cli&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lucastostee.com"&gt;https://lucastostee.com&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>showdev</category>
      <category>javascript</category>
      <category>news</category>
      <category>programming</category>
    </item>
    <item>
      <title>Split commands and options from CLI</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Thu, 23 Jun 2022 13:49:13 +0000</pubDate>
      <link>https://dev.to/luctst/split-commands-and-options-from-cli-203l</link>
      <guid>https://dev.to/luctst/split-commands-and-options-from-cli-203l</guid>
      <description>&lt;p&gt;Hi 👋&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is a very small 1.33 KB package that does just one simple task to get the user's input data passed from your terminal, split it and send it back to and object, That's it, no big config or API just a tiny function.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;npm&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="nx"&gt;argv&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;input&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage 💡
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="cp"&gt;#!/usr/bin/env node
&lt;/span&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;parseArgvData&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;argv-user-input&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;argvs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;parseArgvData&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;foo.js&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  With no commands or options.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ foo.js 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;argvs&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="cm"&gt;/*
{
  commands: [],
  options: {},
}
*/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  With commands and no option.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ foo.js start test
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;argvs&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="cm"&gt;/*
{
  commands: ['start', 'test'],
  options: {},
}
*/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  With commands and options.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ foo.js start test --skip -p ./dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;argvs&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="cm"&gt;/*
{
  commands: ['start', 'test'],
  options: {
    skip: true,
    p: './dev'
  },
}
*/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  With option and no command.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ foo.js --name=foo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;argvs&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="cm"&gt;/*
{
  commands: [],
  options: {
    name: 'foo'
  },
}
*/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Good code and have fun ✨&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://lucastostee.com"&gt;https://lucastostee.com&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/luctst"&gt;https://github.com/luctst&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>node</category>
      <category>programming</category>
      <category>javascript</category>
      <category>showdev</category>
    </item>
    <item>
      <title>fast mvp cli tool 🔫 🔫</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Sat, 11 Dec 2021 19:12:41 +0000</pubDate>
      <link>https://dev.to/luctst/fast-mvp-cli-tool-5f3c</link>
      <guid>https://dev.to/luctst/fast-mvp-cli-tool-5f3c</guid>
      <description>&lt;h2&gt;
  
  
  Hello dev community 👋
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;A quick article to share with you my latest creation.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;Lately several product ideas come in my mind and I thought to myself that I always use the same tools, languages, libraries to achieve my goals and create my web applications here are the main ones:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;docker.&lt;/li&gt;
&lt;li&gt;nodeJs (expressjs, mongodb with mongoose).&lt;/li&gt;
&lt;li&gt;Vuejs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Usually I create a repository for each service, that is to say I isolate the api, the front and the container in separate repositories but the disadvantage of this method is that the configuration takes some time and that’s not the goal I want it to be in a few seconds and with some manipulations I'll like to have a dev environment ready to go !&lt;/p&gt;

&lt;p&gt;So here's my solution:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A command line tool that allows me to create a repoitory following a template and clone this folder locally in order to run a single command to have my dev environment ready.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What you need:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Working with a macos operating system.&lt;/li&gt;
&lt;li&gt;Docker.&lt;/li&gt;
&lt;li&gt;Nodejs &amp;gt;= 12.0.0.&lt;/li&gt;
&lt;li&gt;vue-cli installed globally on your computer.&lt;/li&gt;
&lt;li&gt;Github token.!&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What you get:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Fresh new project connected to a fresh new repo.&lt;/li&gt;
&lt;li&gt;Docker with docker-compose to run all your services.&lt;/li&gt;
&lt;li&gt;Mongodb instance.&lt;/li&gt;
&lt;li&gt;If using mongodb atlas script to dumb database in mongo container.&lt;/li&gt;
&lt;li&gt;Redis instance.&lt;/li&gt;
&lt;li&gt;Nodejs API ready to use with expressjs.&lt;/li&gt;
&lt;li&gt;Vuejs app with vue-cli.&lt;/li&gt;
&lt;li&gt;Eslint airbnb config.&lt;/li&gt;
&lt;li&gt;Prettier config.&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is the structure of your project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;└── .github/ // github metadata
└── api/
    ├── .eslintrc.json
    ├── .prettierignore
    ├── .prettierrc.json
    ├── dockerfile
    ├── index.js
    ├── nodemon.json
    ├── package.json
└── client/
    ├── dockerfile
    // vue-cli boilerplate.
├── .dockerignore
├── .gitignore
├── LICENSE
├── bdd.sh
├── docker-compose.yml
├── redis.conf
├── README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  How to use it:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Install&lt;/strong&gt;&lt;br&gt;
Install the project globally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm i -g fast-mvp-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Run process&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fast-mvp-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or with npx required npm &amp;gt;= v5.2&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx fast-mvp-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once it's done, just follow the process 🙂&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--h0rDu-7y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k04uk90zggof6hn3x78o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h0rDu-7y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k04uk90zggof6hn3x78o.png" alt="process of fast-mvp-cli package" width="880" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For those curious, do not hesitate to contribute:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👉 More informations &lt;a href="https://www.npmjs.com/package/fast-mvp-cli"&gt;doc&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;👉 &lt;a href="https://github.com/luctst/fast-mvp-cli"&gt;Repo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;👉 &lt;a href="https://github.com/luctst"&gt;What I do&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thank's :)&lt;/p&gt;

</description>
      <category>news</category>
      <category>javascript</category>
      <category>node</category>
      <category>showdev</category>
    </item>
    <item>
      <title>NPM - Fast-repo 🚀🚀</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Sun, 25 Jul 2021 12:44:56 +0000</pubDate>
      <link>https://dev.to/luctst/npm-fast-repo-1dk4</link>
      <guid>https://dev.to/luctst/npm-fast-repo-1dk4</guid>
      <description>&lt;p&gt;&lt;em&gt;Perform quick actions on one or many repositories.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repo&lt;/strong&gt; - &lt;a href="https://github.com/luctst/fast-repo/"&gt;https://github.com/luctst/fast-repo/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Package&lt;/strong&gt; - &lt;a href="https://www.npmjs.com/package/fast-repo"&gt;https://www.npmjs.com/package/fast-repo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why ? 🐙
&lt;/h2&gt;

&lt;p&gt;If you are the type of person who has a lot of ideas, often creates repositories and loves open source ? Then this project is for you.&lt;/p&gt;

&lt;p&gt;Fast-repo is a module that literally allows you to create a repository with pre-configured settings, a README and gitignore file depending on the language you use and other features in a few seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; fast-repo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - We recommend using this version.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Or with NPX&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx fast-repo &amp;lt;commands&amp;gt; &lt;span class="o"&gt;[&lt;/span&gt;options]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage 🖍
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;fast-repo &amp;lt;commands&amp;gt; &lt;span class="o"&gt;[&lt;/span&gt;options]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Commands 🕹
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;config&lt;/strong&gt; [options] - Create the config to be able to perform actions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;create&lt;/strong&gt; [options] - Create the repository.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - Enter &lt;code&gt;fast-repo --help&lt;/code&gt; for more informations about commands and options available.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Examples 🙋‍♂️
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;First create config folder with the &lt;code&gt;config --create&lt;/code&gt; command&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It is important to create before running this command a personal token on your github profile and select the &lt;code&gt;repo&lt;/code&gt; and &lt;code&gt;delete_repo&lt;/code&gt; scopes. More informations here &lt;a href="https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token"&gt;github token documentation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--c2DsO2z4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3bwszh2uxmgxqpvpnhli.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--c2DsO2z4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3bwszh2uxmgxqpvpnhli.png" alt="Github token scopes"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then create some repositories&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;By entering the &lt;code&gt;create --name=&amp;lt;repo-name&amp;gt;&lt;/code&gt; command a series of questions will be asked in particular if you'll like to create a folder linked to the github repository.&lt;br&gt;
By default if no &lt;code&gt;-p&lt;/code&gt;, &lt;code&gt;--path&lt;/code&gt; flag is present we'll be using the &lt;code&gt;process.cwd()&lt;/code&gt; function to determine where to create this folder, enter the &lt;code&gt;-p&lt;/code&gt; flag with a new path to clear the old one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Delete one or more repositories&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Nx76JBZ6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zu2m27zg1dryqfn4b2t6.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Nx76JBZ6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zu2m27zg1dryqfn4b2t6.gif" alt="Delete repo"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;If you like this project and want to contribute, do not hesitate to clone the repository and put a little like 🌟😇🌟&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/luctst/fast-repo/"&gt;https://github.com/luctst/fast-repo/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy coding ! 🦄✨&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>news</category>
      <category>javascript</category>
    </item>
    <item>
      <title>NPM - Meet my friend paul 👨‍🦰 👨‍🦰</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Wed, 14 Jul 2021 09:13:35 +0000</pubDate>
      <link>https://dev.to/luctst/npm-meet-my-friend-paul-3jo1</link>
      <guid>https://dev.to/luctst/npm-meet-my-friend-paul-3jo1</guid>
      <description>&lt;p&gt;&lt;em&gt;Make Paul appear on your page when you click&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repo&lt;/strong&gt; - &lt;a href="https://github.com/luctst/paul"&gt;https://github.com/luctst/paul&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Package&lt;/strong&gt; - &lt;a href="https://www.npmjs.com/package/@luctst/paul"&gt;https://www.npmjs.com/package/@luctst/paul&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why ?
&lt;/h2&gt;

&lt;p&gt;I have a friend called Paul, he loves beer and he works hard everyday, so I decided to honor him with this little package each time you'll click on a DOM element my friend Paul will appear randomly on your web page :) Enjoy !!&lt;/p&gt;

&lt;p&gt;it is him 👇&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--R7Vm8nMp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/73z2h4bv9exo87g0spgn.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R7Vm8nMp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/73z2h4bv9exo87g0spgn.jpg" alt="My friend paul"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Install 🚀
&lt;/h2&gt;

&lt;p&gt;Use Paul via a CDN by including this script:&lt;/p&gt;

&lt;p&gt;Add this script just before your &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; closing tag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;script&lt;/span&gt; &lt;span class="na"&gt;crossorigin&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://unpkg.com/@luctst/paul/umd/paul.client.min.js"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;script&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You now have access to the Paul() function to see how to use it check the api section below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example 🖍
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;http-equiv=&lt;/span&gt;&lt;span class="s"&gt;"X-UA-Compatible"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"ie=edge"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Hi Paul 👨‍🦰&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;crossorigin&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"https://unpkg.com/@luctst/paul/umd/paul.client.min.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt; 
    &lt;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
        &lt;span class="nx"&gt;Paul&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt; 
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  API 🧑
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Paul([DOMElement], [friends])
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;Paul&lt;/code&gt; function create an img with my friend Paul.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;DOMElement&lt;/code&gt; {HTMLElement, optional} - If this argument is specified the &lt;code&gt;click&lt;/code&gt; event will be attached on this DOM Element.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;friends&lt;/code&gt; {Array, optional} - If this argument is specified the function will display randomly an img from the &lt;code&gt;friends&lt;/code&gt; array.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Contribute 🍰
&lt;/h2&gt;

&lt;p&gt;If you want to add other pictures, please do not hesitate to PR some pictures in this folder &lt;a href="https://github.com/luctst/paul/tree/master/static"&gt;https://github.com/luctst/paul/tree/master/static&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Happy coding ✨ 🦄&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>javascript</category>
      <category>news</category>
    </item>
    <item>
      <title>My own cli boilerplate tool</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Tue, 13 Jul 2021 13:18:37 +0000</pubDate>
      <link>https://dev.to/luctst/my-own-cli-boilerplate-tool-1b16</link>
      <guid>https://dev.to/luctst/my-own-cli-boilerplate-tool-1b16</guid>
      <description>&lt;p&gt;&lt;em&gt;A cli tool to generate node module project includes tools like avaJs for testing, eslint, prettier etc...&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repo&lt;/strong&gt; - &lt;a href="https://github.com/luctst/luctst-cli"&gt;https://github.com/luctst/luctst-cli&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Package&lt;/strong&gt; - &lt;a href="https://www.npmjs.com/package/luctst-cli"&gt;https://www.npmjs.com/package/luctst-cli&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Install 🚀:
&lt;/h2&gt;

&lt;p&gt;Run&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; luctst-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or if you have NPX:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx luctst-cli &lt;span class="o"&gt;[&lt;/span&gt;commands] &amp;lt;options&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage 🖍:
&lt;/h2&gt;

&lt;p&gt;This package will create this folder structure by default:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.md
│ │ ├── feature_request.md
│ ├── CODE_OF_CONDUCT.md
│ ├── CONTRIBUTING.md
│ ├── LICENSE
│ ├── pull_request_template.md
├── lib/
│ ├── main.js
├── &lt;span class="nb"&gt;test&lt;/span&gt;/
│ ├── test.js
├── .editorconfig
├── .estlintrc.json
├── .gitattributes
├── .gitignore
├── .prettierignore
├── .prettierrc.json
├── .travis.yml
├── package-lock.json
├── package.json
├── README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run this command to start the process:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;luctst-cli start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - By default if path flag is not present folder will be created with &lt;code&gt;process.cwd()&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;With the —path flag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;luctst-cli start &lt;span class="nt"&gt;-p&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&amp;lt;folder-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - Create the folder inside the  folder.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;More informations here&lt;/strong&gt; - &lt;a href="https://www.npmjs.com/package/luctst-cli"&gt;https://www.npmjs.com/package/luctst-cli&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy coding  ✨🧑‍💻&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>javascript</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Weather-emoji</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Mon, 12 Jul 2021 21:19:38 +0000</pubDate>
      <link>https://dev.to/luctst/weather-emoji-10i4</link>
      <guid>https://dev.to/luctst/weather-emoji-10i4</guid>
      <description>&lt;p&gt;&lt;em&gt;Get the weather with an emoji ☀️ 🌈&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repo&lt;/strong&gt; - &lt;a href="https://github.com/luctst/weather-emoji"&gt;https://github.com/luctst/weather-emoji&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Package&lt;/strong&gt; - &lt;a href="https://www.npmjs.com/package/weather-emoji"&gt;https://www.npmjs.com/package/weather-emoji&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Install:
&lt;/h2&gt;

&lt;p&gt;Run&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-D&lt;/span&gt; weather-emoji
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Import the package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;weatherEmoji&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;weather-emoji&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - We're using the &lt;a href="https://openweathermap.org"&gt;openweather API&lt;/a&gt; to fetch the data, it requires that you create a key, click on the link to register and generate your key.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Usage:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;WeatherEmoji&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;weather-emoji&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;weatherEmoji&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;WeatherEmoji&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;secretApiKey&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;emojiParis&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;weatherEmoji&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getWeather&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;paris&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;then&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;emojiParis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;emoji&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="c1"&gt;// return emoji&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With async / await:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;WeatherEmoji&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;weather-emoji&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;weatherEmoji&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;WeatherEmoji&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;secretApiKey&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;emojiNewYork&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;weatherEmoji&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getWeather&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;new york&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;emojiNewYork&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;emoji&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;})()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;More informations here&lt;/strong&gt; - &lt;a href="https://www.npmjs.com/package/weather-emoji"&gt;https://www.npmjs.com/package/weather-emoji&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy coding ✨🧑‍💻&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>node</category>
      <category>javascript</category>
      <category>npm</category>
    </item>
    <item>
      <title>npm packages-outdated</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Mon, 28 Jun 2021 08:50:34 +0000</pubDate>
      <link>https://dev.to/luctst/npm-packages-outdated-3h4p</link>
      <guid>https://dev.to/luctst/npm-packages-outdated-3h4p</guid>
      <description>&lt;p&gt;&lt;em&gt;Check if all your dependencies in all your NodeJs projects are up to date.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Repo - &lt;a href="https://github.com/luctst/packages-outdated"&gt;https://github.com/luctst/packages-outdated&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Doc - &lt;a href="https://www.npmjs.com/package/packages-outdated"&gt;https://www.npmjs.com/package/packages-outdated&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - For the purpose of this exemple i will be using this path &lt;code&gt;/Users/lucas/dev/&lt;/code&gt; which include some of my projects. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  1. Folder with subfolders:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n0CYdnE5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ck7siu0k644xav76pcx2.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n0CYdnE5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ck7siu0k644xav76pcx2.gif" alt="Kapture 2021-06-28 at 10.35.30"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Single folder:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cJ9Zyeb6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pfm21wkusspm53pppb35.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cJ9Zyeb6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pfm21wkusspm53pppb35.gif" alt="Kapture 2021-06-28 at 10.48.12"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>npm</category>
      <category>node</category>
      <category>javascript</category>
    </item>
    <item>
      <title>npm json-to-folder</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Fri, 18 Jun 2021 13:48:57 +0000</pubDate>
      <link>https://dev.to/luctst/npm-json-to-folder-17kd</link>
      <guid>https://dev.to/luctst/npm-json-to-folder-17kd</guid>
      <description>&lt;p&gt;&lt;em&gt;Create folder by parsing json data file.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - For the purpose of this example I will be using this path &lt;code&gt;/Users/lucas/dev/jsonfolder&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  1. Create json file:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rkZiC_W---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m5a5902cndcgdhakqnuw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rkZiC_W---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m5a5902cndcgdhakqnuw.png" alt="carbon"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Must be an array.&lt;/li&gt;
&lt;li&gt;An object create a folder.&lt;/li&gt;
&lt;li&gt;Object must have name property and optional files property which is an array.&lt;/li&gt;
&lt;li&gt;String create a file, must be filled.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Start process:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pyhboqXP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mv4iatxdrelctomln3pk.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pyhboqXP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mv4iatxdrelctomln3pk.gif" alt="ezgif.com-gif-maker"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks 🙌&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/luctst/json-to-folder"&gt;https://github.com/luctst/json-to-folder&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lucastostee.vercel.app/"&gt;https://lucastostee.vercel.app/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>showdev</category>
      <category>npm</category>
      <category>node</category>
      <category>javascript</category>
    </item>
    <item>
      <title>So you like to create npm packages 📦📦 ?</title>
      <dc:creator>Lucas.T</dc:creator>
      <pubDate>Tue, 01 Sep 2020 22:20:39 +0000</pubDate>
      <link>https://dev.to/luctst/so-you-like-to-create-npm-packages-2ilg</link>
      <guid>https://dev.to/luctst/so-you-like-to-create-npm-packages-2ilg</guid>
      <description>&lt;p&gt;Hi everyone 👋&lt;/p&gt;

&lt;p&gt;I'm writing this little post to tell you about a project I'm working on, &lt;br&gt;
I've been playing with the NodeJs API for two years now and it's really cool !! I try my best to be as productive as possible and as soon as I have an idea for a product, package, etc. I try to create it, but here is my problem:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Duplicate project configuration is annoying !&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So if you are like me and you use Node other than to launch an HTTP server with Express (I'm kidding, I like Express a lot) you must have realized that many projects often have the same structure, the same tools with the same configuration and it is painful to recover this structure and adapt it to a new project?&lt;/p&gt;

&lt;p&gt;If not, then this article is not for you sorry 😭 😭&lt;/p&gt;

&lt;p&gt;Otherwise, you propably been in my situation, which is why I decided to create this small package, the idea is very simple I have a basic structure that I reproduce each time I decide to create an npm package there it is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✨&lt;a href="https://github.com/luctst/luctst-cli"&gt;luctst-cli repo&lt;/a&gt;✨&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Do not hesitate to like this repo 🙃&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So I created a small cli package that will allow you to copy and paste this structure and adapt it according to your needs, this allows you to quickly start a new project with pre-configured tools like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Eslint (with Airbnb configuration).&lt;/li&gt;
&lt;li&gt;Prettier.&lt;/li&gt;
&lt;li&gt;TravisCI.&lt;/li&gt;
&lt;li&gt;Ava to perform tests.&lt;/li&gt;
&lt;li&gt;Configuration of a &lt;code&gt;.gitignore&lt;/code&gt; file according to the language used.&lt;/li&gt;
&lt;li&gt;Configured npm scripts.&lt;/li&gt;
&lt;li&gt;Etc ...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want more info on what you can do with this package I let the link of the doc and also the GitHub repository on which you can, of course, contribute if you have an idea or even submit an issue.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📦 &lt;a href="https://www.npmjs.com/package/luctst-cli"&gt;npm package&lt;/a&gt; 📦&lt;/li&gt;
&lt;li&gt;✨ &lt;a href="https://github.com/luctst/luctst-cli"&gt;luctst-cli repo&lt;/a&gt; ✨&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thank you for your attention, &lt;/p&gt;

&lt;p&gt;my name is Lucas I'm a full stack developer I mainly use Js 💛 and I really love open source feel free to look at my work and follow me, thank you 🙂&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👨‍💻 &lt;a href="https://github.com/luctst"&gt;github profile&lt;/a&gt; 🧑‍💻&lt;/li&gt;
&lt;li&gt;🖍 &lt;a href="https://dev.to/luctst"&gt;dev.to profile&lt;/a&gt; 🖍&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>showdev</category>
      <category>javascript</category>
      <category>node</category>
      <category>npm</category>
    </item>
  </channel>
</rss>
