Skip to content

Seull1/git-seull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seull

Thank you!

----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
--------------------------------------------=##-----------------------------------------------------
--------------------------------------------##%-----------------------------------------------------
-------------------------------------##----*###-----------------------------------------------------
------------------------------------###---+#*##-------+%#-------------------------------------------
-----------------------------------+###=-*#++#%----+#####---------------+#%###----------------------
----------------------------------*%+*%+##++*##--*###*-#+----------+########%=----------------------
---------------------------------+%*+*###+=**#+*##*#*=-#+-------=###*###*++#*-----------------------
--------------------------------+######*==**####+##++=-##-----+##+*###*++++#+-----------------------
--------------------------=+*#%##*=+##+=+**###**##+++=-*#=--=##+*##**++++++#+-----------------------
-----------------------+###*=====+++##=+**###**##*++++--%*-+%#+###*+++++++=#+-----------------------
---------------------##*===++++++++++##%%%##*+##*++++++--###*+##**+++++++*+#%%%%%%#*==--------------
-------------------+#*==++++++++++++++++++++++##+++++++++-##*##*++++#####*====+++*####%##%----------
------------------*#+=++++++++++++++++++++++++*##++++++++**##%*+####+=+++*###%###***+###=-----------
---------------*###++++*###*++++++++++++++++++++******##%#######*++++*####***++++++*##=-------------
------------=##*++++++*#.=%#*+++++++++++++++=+++++*###**+#####+++*####***++++++++++#*---------------
-----------*#*=++++++++###=#*++++++++++++++++++*##***++=####+++*######*++++++++++=#*----------------
----------+%++++**++++++*#*++++++++++++++++++++%#*+++++=##++*###*******####*++++=+#=----------------
----------%#=+*#*+++++++++++++++++++++++++=++++##+++++++##*###**++++++++++++*##+-*#-----------------
----------##+++++++++++++++++++++++++++++++++++++#####*+####*++++++++++++++++++*#%#=----------------
----------##+++++++++++++++++++++++++++++++++##******%#####***#####+++++++++++-+###+----------------
----------=%#+++*#####*+++#**++++++++++++++++*##++*%#****++++++++***##*+++++*#%+=-------------------
-----------+#*+####**##*##*+++++++++++++++*###%####****+++++++++++*###%%*+*#*=----------------------
------------#####**+**##**+++++++++++++++*++++++*#*++++**####*+**+=+++=+###=---+#*------------------
-------------*####***+++++++++++++****++=++++++++++++++++++++**++++++++++*%##*####=-----------------
----------------+##******++++****####-...+++++++++++++++++++*+++++++++++++#*===+*#*-----------------
------------------+#%###*****####=-#*--..+++++++++++++++++++++++++++++++++##+++*#%=-----------------
---------------------==+###*==-----#*---.-+++++++++++++++++++++++++++++++##***###=------------------
-----------------------------------##----:=+++*+++++++++++++++++++++++++#######=--------------------
----------------------------------####----+#*+++++++++++++**++++++++++*##=--------------------------
---------------------------------%#**##+=##*++++++++++++*#*+++++++++++**###=------------------------
--------------------------------*#****####++++**##******#*++++++++++++++**##------------------------
--------------------------------+#####%##*+***##-------=%*++++++++++++++**##------------------------
---------------------------------------%#######%#########*+++++++++++++*##*-------------------------
---------------------------------------=+*#%##------====###****###*++**##=--------------------------
---------------------------------------------------------+##%####****##*----------------------------
-------------------------------------------------------------=#%##*##*------------------------------
---------------------------------------------------------------####*--------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------

버전

npm : 10.2.4

nvm : 0.39.7

How to Use

$ npm i seull

발표자 랜덤 출력

$ seull 김민성 타이거우즈 빌게이츠

스크린샷 2024-01-25 191026

설명

index.js

    const args = process.argv.slice(2);

    << slice(2)을 통해process.argv에 기본적으로 들어가있는 node command의 full path 과 실행된 파일의 full path 를 제외한다


    var random = Math.floor(Math.random()*args.length);

    << random 함수를 통해 내가 입력한 값의 랜덤한 값을 얻는다


    console.log("발표자 : " + args[random]);

    << 출력