ahmedelgabri
Advanced tools
Comparing version 8.0.1 to 8.0.2
@@ -1,4 +0,2 @@ | ||
#!/usr/bin/env node | ||
import "./_dnt.polyfills.js"; | ||
import "./_dnt.polyfills.js"; | ||
import * as dntShim from "./_dnt.shims.js"; | ||
@@ -63,13 +61,6 @@ import * as c from "./deps/jsr.io/@std/fmt/0.221.0/colors.js"; | ||
} | ||
/** | ||
* Returns personal card containing personal information without ascii art or | ||
* colors | ||
* | ||
* @returns {string} | ||
*/ | ||
export function getPlainCard() { | ||
return output; | ||
} | ||
// Needed for deno run ... | ||
// card.ts is needed for npx ... | ||
if ((import.meta.url === ("file:///" + process.argv[1].replace(/\\/g, "/")).replace(/\/{3,}/, "///"))) { | ||
console.log(getCard()); | ||
} |
{ | ||
"name": "ahmedelgabri", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"description": "A personal card for Ahmed El Gabri (@ahmedelgabri)", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
"bin": { | ||
"ahmedelgabri": "./esm/mod.js" | ||
"ahmedelgabri": "./esm/card.js" | ||
}, | ||
@@ -45,0 +45,0 @@ "dependencies": { |
@@ -1,2 +0,1 @@ | ||
#!/usr/bin/env node | ||
"use strict"; | ||
@@ -30,5 +29,4 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getPlainCard = exports.getCard = void 0; | ||
exports.getCard = void 0; | ||
require("./_dnt.polyfills.js"); | ||
require("./_dnt.polyfills.js"); | ||
const dntShim = __importStar(require("./_dnt.shims.js")); | ||
@@ -94,14 +92,6 @@ const c = __importStar(require("./deps/jsr.io/@std/fmt/0.221.0/colors.js")); | ||
exports.getCard = getCard; | ||
/** | ||
* Returns personal card containing personal information without ascii art or | ||
* colors | ||
* | ||
* @returns {string} | ||
*/ | ||
function getPlainCard() { | ||
return output; | ||
} | ||
exports.getPlainCard = getPlainCard; | ||
// Needed for deno run ... | ||
// card.ts is needed for npx ... | ||
if ((require.main === module)) { | ||
console.log(getCard()); | ||
} |
@@ -1,4 +0,2 @@ | ||
#!/usr/bin/env node | ||
import "./_dnt.polyfills.js"; | ||
import "./_dnt.polyfills.js"; | ||
/** | ||
@@ -10,9 +8,2 @@ * Returns a boxed and colored personal card containing personal information | ||
export declare function getCard(): string; | ||
/** | ||
* Returns personal card containing personal information without ascii art or | ||
* colors | ||
* | ||
* @returns {string} | ||
*/ | ||
export declare function getPlainCard(): string; | ||
//# sourceMappingURL=mod.d.ts.map |
Sorry, the diff of this file is not supported yet
25
53567
1674