From 7e1623296ecc4d9ff6a7a91cee18c6e3c56faaa3 Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Fri, 3 Feb 2023 18:43:26 +0100 Subject: [PATCH] Readme Update --- readme-images/example-1.png | Bin 0 -> 4332 bytes readme.md | 52 +++++++++++++++++++++++++++++++----- 2 files changed, 46 insertions(+), 6 deletions(-) create mode 100644 readme-images/example-1.png diff --git a/readme-images/example-1.png b/readme-images/example-1.png new file mode 100644 index 0000000000000000000000000000000000000000..4e90f6db0b76b3acf3cce0aa2d4e79010a0eede4 GIT binary patch literal 4332 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D5P?ZVK~#8N?Ok7N zRK*(qplMUvNVY+m76NXAHWUq%h+K;|Qm$9wVy-C$FaCL8dAN%5K<@(rxi9qrsqkQZ zXi$7`eLx`)AtnaU+)#)DK~0MZ77Jwe$}McFq#Fp(v?0CU@0|I{^z`h`+3vPWVSbZe z&Yqcb&dhu>^PO*I&dg3CqCsYM2p^(nb}T3QCPK%*kI=L4*3(1ONA24mpspV{eC|=# zuPaJ>|Gn0|Cj(5|I!J%1Cc3bD68&^gc^V-1457D;_P(*y{XOjin!PbX^QuBr#HY9W zlhkweART`%K-wBQY4z)K)QJar9N9wRNhLFpX)fdRVjFWalZ%#)z#~uCz-(bQGCzce z#l3{d>X;QCe7T+~`#b3PC!Z-FpqOUYZ&JU}rS=u|%Y(uqqoerjSyJLsD7b1=7o!exBCaf1vPS8ypOKa(g z*X}gTfwq6CU)jQxz9lqcqi%_vqn?3cnmRq~+)X#*bO}}!%f$g-<62&PUAODySa~BX zJTJnucx{-jBYr-sT)LTNI#F=?n$}SbE8^Sy?5k8ue_pEM78ElR?$05-rH(;S&+Jgg zQ_OWt0Tc*yEV@?+M_l?l3<@g5j3|1IRNN0gSZYv^Q6`?R=~;`3179Un^7a+yExn50 zl2fO-e$Lx>A6{)53U^ZVlOeix`XlPb8&gN}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=w&p-t!e8=-a=sfN4eegoF9?bx*L&4v0=#Tck5m1LOsep4 zZomHD38CSl5krWua-e`RQ9`Ils6@CI`@F~-W;}rz5o~pYw-C09$n-5LE3+|;40-6A zN1}lA=b<4(KHj&Nz;C1Wu|yF0qw=AQQPGf}ElfeC`O778y;9TH9?4b;QadH2t$66N612dKCYK^A%20r;`PcD z3@U$7j($qQls~v2>GvxiVY>2{!E$j(tGAJxm`XmNDSzq0p&0b?m5B^*`jBSiLH7$n zv@OIh<%4JFQ}jChm+@q@Syc4N3;uA(*ZjS!Ym*5mqQj7V+?eaF!V7-f2@1A z!GBE1!ksyizoxOUuoyE~CFBRZi7-QuZf3#4!XhWI-7yObi@d^GLKYSlc|~?g2;G+Z zc|RWu3yZ8_yJHp>7I}s3j#*e(Ria&naf6274xM!iO0hjVcCB6hr_t`l7@inRL=SS0Z-f(@{1>zk0{Y)$^E%Qeo zPbeXLrmg$o^X+?dKNCw!%lt9*n2>kHG*%YNHVZ*9LH0ATu&~G<#&%$Og6wBvVPTO! zq*g-r*?uM#78dzIY9)l# console.log(ans)) +```cjs +const { cin } = require('cin'); + +cin('What is your favorite food?').then(ans => console.log(ans)); +// or +async function hello() { + var ans = await cin('What is your favorite food?'); + console.log(ans); +} +hello(); +``` + +### ModuleJS + +```mjs +import { cin } from 'cin'; + + +cin('What is your favorite food?').then(ans => console.log(ans)); +// or +async function hello() { + var ans = await cin('What is your favorite food?'); + console.log(ans); +} + +hello(); +``` + +### TypeScript + +```ts +import { cin } from 'cin'; + + +cin('What is your favorite food?').then(ans => console.log(ans)); +// or +async function hello() { + var ans = await cin('What is your favorite food?'); + console.log(ans); +} + +hello(); ``` \ No newline at end of file