ahmedelgabri
Advanced tools
Comparing version 4.0.0 to 4.1.0
44
index.js
@@ -12,27 +12,25 @@ const chalk = require('chalk') | ||
// Text + chalk definitions | ||
const data = { | ||
name: chalk.white('Ahmed El Gabri /'), | ||
handle: chalk.cyan('ahmedelgabri'), | ||
work: chalk.white('Tech Lead, Platform @Mirohq'), | ||
twitter: chalk.cyan('https://twitter.com/ahmedelgabri'), | ||
github: chalk.cyan('https://github.com/ahmedelgabri'), | ||
linkedin: chalk.cyan('https://linkedin.com/in/ahmedelgabri'), | ||
web: chalk.cyan('https://gabri.me'), | ||
npx: chalk.white('npx ahmedelgabri'), | ||
labelWork: chalk.white.bold(' Work: '), | ||
labelTwitter: chalk.white.bold(' Twitter: '), | ||
labelGitHub: chalk.white.bold(' GitHub: '), | ||
labelLinkedIn: chalk.white.bold(' LinkedIn: '), | ||
labelWeb: chalk.white.bold(' Web: '), | ||
labelCard: chalk.white.bold(' Card: '), | ||
} | ||
const name = chalk.reset('Ahmed El Gabri') | ||
const handle = chalk.cyan('ahmedelgabri') | ||
const work = chalk.reset('Tech Lead, Platform @MiroHQ') | ||
const twitter = chalk.cyan(`https://twitter.com/${handle}`) | ||
const github = chalk.cyan(`https://github.com/${handle}`) | ||
const linkedin = chalk.cyan(`https://linkedin.com/in/${handle}`) | ||
const web = chalk.cyan('https://gabri.me') | ||
const npx = chalk.reset(`npx ${handle}`) | ||
const labelWork = chalk.reset.bold(' Work: ') | ||
const labelTwitter = chalk.reset.bold(' Twitter: ') | ||
const labelGitHub = chalk.reset.bold(' GitHub: ') | ||
const labelLinkedIn = chalk.reset.bold(' LinkedIn: ') | ||
const labelWeb = chalk.reset.bold(' Web: ') | ||
const labelCard = chalk.reset.bold(' Card: ') | ||
// Actual strings we're going to output | ||
const heading = `${data.name} ${data.handle}` | ||
const working = `${data.labelWork} ${data.work}` | ||
const twittering = `${data.labelTwitter} ${data.twitter}` | ||
const githubing = `${data.labelGitHub} ${data.github}` | ||
const linkedining = `${data.labelLinkedIn} ${data.linkedin}` | ||
const webing = `${data.labelWeb} ${data.web}` | ||
const carding = `${data.labelCard} ${data.npx}` | ||
const heading = `${name} / ${handle}` | ||
const working = `${labelWork} ${work}` | ||
const twittering = `${labelTwitter} ${twitter}` | ||
const githubing = `${labelGitHub} ${github}` | ||
const linkedining = `${labelLinkedIn} ${linkedin}` | ||
const webing = `${labelWeb} ${web}` | ||
const carding = `${labelCard} ${npx}` | ||
@@ -39,0 +37,0 @@ // Put all our output together into a single variable so we can use boxen effectively |
{ | ||
"name": "ahmedelgabri", | ||
"author": "Ahmed El Gabri <ahmed@gabri.me> (https://gabri.me)", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "A personal card for Ahmed El Gabri (@ahmedelgabri)", | ||
@@ -41,7 +41,7 @@ "license": "MIT", | ||
"@ahmedelgabri/prettier-config": "^5.0.0", | ||
"boxen": "^4.2.0", | ||
"chalk": "^4.1.0", | ||
"prettier": "^2.1.1", | ||
"standard": "^14.3.4" | ||
"boxen": "^5.0.1", | ||
"chalk": "^4.1.1", | ||
"prettier": "^2.3.0", | ||
"standard": "^16.0.3" | ||
} | ||
} |
@@ -10,3 +10,7 @@ <div align="center"> | ||
<br> | ||
<pre><code>curl -L gabri.me/api/card</code></pre> | ||
or | ||
<br> | ||
<br> | ||
<pre><code>npx ahmedelgabri</code></pre> | ||
</div> |
Sorry, the diff of this file is not supported yet
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
5588
16
48