6z0m9t-currency_converter
Advanced tools
Comparing version 1.2.0 to 1.2.5
12
index.js
#! /usr/bin/env node | ||
import chalk from "chalk"; | ||
import chalkAnimation from "chalk-animation"; | ||
import inquirer from "inquirer"; | ||
const sleep = () => { | ||
return new Promise((res) => { | ||
setTimeout(res, 10000); | ||
}); | ||
}; | ||
async function welcome() { | ||
let rainbowTitle = chalkAnimation.rainbow('\n🌟🌟🌟 Welcome to Typescript World of Colors 🌟🌟🌟\n🌟🌟🌟 Thank you Governor Sindh for Gov. Sindh Initiative Program 🌟🌟🌟\n🌟🌟🌟 Welcome to Strange World of Coding 🌟🌟🌟\n🌟🌟🌟 Good Luck to Everyone at Faculty of Gov. Sindh 🌟🌟🌟\n🌟🌟🌟 Never forget you are future of Pakistan 🌟🌟🌟'); | ||
await sleep(); | ||
rainbowTitle.stop(); | ||
} | ||
await welcome(); | ||
function rainbowText(text) { | ||
@@ -5,0 +17,0 @@ const rainbowColors = [ |
17
index.ts
#! /usr/bin/env node | ||
import chalk from "chalk"; | ||
import chalkAnimation from "chalk-animation"; | ||
import inquirer from "inquirer"; | ||
const sleep = () => { | ||
return new Promise((res) => { | ||
setTimeout(res, 10000); | ||
}); | ||
}; | ||
async function welcome() { | ||
let rainbowTitle = chalkAnimation.rainbow('\n🌟🌟🌟 Welcome to Typescript World of Colors 🌟🌟🌟\n🌟🌟🌟 Thank you Governor Sindh for Gov. Sindh Initiative Program 🌟🌟🌟\n🌟🌟🌟 Welcome to Strange World of Coding 🌟🌟🌟\n🌟🌟🌟 Good Luck to Everyone at Faculty of Gov. Sindh 🌟🌟🌟\n🌟🌟🌟 Never forget you are future of Pakistan 🌟🌟🌟'); | ||
await sleep(); | ||
rainbowTitle.stop(); | ||
} | ||
await welcome(); | ||
function rainbowText(text: any) { | ||
@@ -7,0 +24,0 @@ const rainbowColors = [ |
{ | ||
"name": "6z0m9t-currency_converter", | ||
"version": "1.2.0", | ||
"version": "1.2.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
19704
267