6z0m9t-currency_converter
Advanced tools
Comparing version 1.1.5 to 1.2.0
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 with 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) { | ||
@@ -17,0 +5,0 @@ const rainbowColors = [ |
13
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 with 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) { | ||
@@ -20,0 +7,0 @@ const rainbowColors = [ |
{ | ||
"name": "6z0m9t-currency_converter", | ||
"version": "1.1.5", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18431
241