darrenjennings
Advanced tools
Comparing version 1.0.0 to 1.0.1
34
index.js
#! /usr/bin/env node | ||
const boxen = require("boxen"); | ||
const boxen = require('boxen') | ||
// chalk, but without chalk | ||
const _c = require('util').inspect.colors; | ||
Object.keys(_c).forEach(c =>global[c] = s =>`\x1b[${_c[c][0]}m${s}\x1b[${_c[c][1]}m`); | ||
const _c = require('util').inspect.colors | ||
Object.keys(_c).forEach(c =>global[c] = s =>`\x1b[${_c[c][0]}m${s}\x1b[${_c[c][1]}m`) | ||
const lines = [ | ||
bold("Darren Jennings"), | ||
"Tech Lead at Kong", | ||
"", | ||
bold(" Web: ") + blue("https://darrenjennings.github.io"), | ||
bold(" Twitter: ") + blue("https://twitter.com/darrenjennings"), | ||
bold(" GitHub: ") + blue("https://github.com/darrenjennings"), | ||
bold(" LinkedIn: ") + blue("https://www.linkedin.com/in/darren-jennings") | ||
]; | ||
bold('Darren Jennings'), | ||
italic('Tech Lead at Kong'), | ||
'', | ||
bold(' Web: ') + blue('https://darrenjennings.dev'), | ||
bold(' Twitter: ') + blue('https://twitter.com/darrenjennings'), | ||
bold(' GitHub: ') + blue('https://github.com/darrenjennings'), | ||
bold(' LinkedIn: ') + blue('https://www.linkedin.com/in/darren-jennings'), | ||
'', | ||
'Say Hello: ', italic(green('dmjenn02@gmail.com')) | ||
] | ||
const message = lines.join("\n"); | ||
const message = lines.join('\n') | ||
const box = boxen(message, { | ||
borderColor: "blue", | ||
borderStyle: "round", | ||
borderColor: 'blue', | ||
borderStyle: 'round', | ||
margin: 1, | ||
padding: 1 | ||
}); | ||
}) | ||
process.stdout.write(box + "\n"); | ||
process.stdout.write(box + '\n') |
{ | ||
"name": "darrenjennings", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Darren Jennings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
79439
4
24
1
6