diff --git a/dist/beautylog.browser.js b/dist/beautylog.browser.js
new file mode 100644
index 0000000..9ab7ca9
--- /dev/null
+++ b/dist/beautylog.browser.js
@@ -0,0 +1,18 @@
+///
+exports.log = function (message) {
+ console.log('%c Log: %c ' + message, "background:#42A5F5;color:#ffffff", "color:#42A5F5;");
+};
+exports.info = function (message) {
+ console.log('%c Info: %c ' + message, 'background:#EC407A;color:#ffffff;', 'color:#EC407A;');
+};
+exports.ok = function (message) {
+ console.log('%c OK: %c ' + message, "background:#000000;color:#8BC34A;", "color:#000000;");
+};
+exports.success = function (message) {
+ console.log('%c Success: %c ' + message, "background:#8BC34A;color:#ffffff;", "color:#8BC34A;");
+};
+exports.warn = function (message) {
+ console.log('%c Warn: %c ' + message, "background:#000000;color:#FB8C00;", "color:#000000;");
+};
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5icm93c2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUVqQyxXQUFHLEdBQUcsVUFBUyxPQUFPO0lBQzdCLE9BQU8sQ0FBQyxHQUFHLENBQUMsYUFBYSxHQUFHLE9BQU8sRUFBQyxrQ0FBa0MsRUFBQyxnQkFBZ0IsQ0FBQyxDQUFDO0FBQzdGLENBQUMsQ0FBQztBQUNTLFlBQUksR0FBRyxVQUFTLE9BQU87SUFDOUIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxjQUFjLEdBQUcsT0FBTyxFQUFDLG1DQUFtQyxFQUFDLGdCQUFnQixDQUFDLENBQUM7QUFDL0YsQ0FBQyxDQUFDO0FBQ1MsVUFBRSxHQUFHLFVBQVMsT0FBTztJQUM1QixPQUFPLENBQUMsR0FBRyxDQUFDLFlBQVksR0FBRyxPQUFPLEVBQUMsbUNBQW1DLEVBQUMsZ0JBQWdCLENBQUMsQ0FBQztBQUM3RixDQUFDLENBQUM7QUFDUyxlQUFPLEdBQUcsVU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2VzczogJWMgJyArIG1lc3NhZ2UsXCJiYWNrZ3JvdW5kOiM4QkMzNEE7Y29sb3I6I2ZmZmZmZjtcIixcImNvbG9yOiM4QkMzNEE7XCIpO1xufTtcbmV4cG9ydCBsZXQgd2FybiA9IGZ1bmN0aW9uKG1lc3NhZ2Upe1xuICAgIGNvbnNvbGUubG9nKCclYyBXYXJuOiAlYyAnICsgbWVzc2FnZSxcImJhY2tncm91bmQ6IzAwMDAwMDtjb2xvcjojRkI4QzAwO1wiLFwiY29sb3I6IzAwMDAwMDtcIik7XG59OyJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
diff --git a/dist/beautylog.classes.js b/dist/beautylog.classes.js
new file mode 100644
index 0000000..4ec0c63
--- /dev/null
+++ b/dist/beautylog.classes.js
@@ -0,0 +1,53 @@
+///
+var plugins = require("./beautylog.plugins");
+var tableHelpers = {
+ makeRow: function (cellCounterArg, colorArg) {
+ if (cellCounterArg === void 0) { cellCounterArg = 2; }
+ if (colorArg === void 0) { colorArg = "cyan"; }
+ var rowArray = [];
+ for (var i = 0; i < (cellCounterArg); i++) {
+ rowArray.push(String(i + 1).cyan);
+ }
+ return rowArray;
+ }
+};
+var ConsoleTable = (function () {
+ function ConsoleTable(tableTypeArg, tableHeadArrayArg) {
+ if (tableHeadArrayArg === void 0) { tableHeadArrayArg = tableHelpers.makeRow(); }
+ switch (tableTypeArg) {
+ case "checks":
+ this.tableHead = ['Check Item:'.cyan, 'Status:'.cyan];
+ break;
+ case "custom":
+ this.tableHead = tableHeadArrayArg;
+ break;
+ default:
+ break;
+ }
+ this.rows = [];
+ this.type = tableTypeArg;
+ }
+ ConsoleTable.prototype.push = function (row) {
+ this.rows.push(row);
+ };
+ ConsoleTable.prototype.print = function () {
+ var table = new plugins.cliTable({
+ head: this.tableHead
+ });
+ for (var row in this.rows) {
+ if (this.rows[row][1] == "success") {
+ this.rows[row][1] = ' '.bgGreen + ' ' + this.rows[row][1];
+ }
+ else if (this.rows[row][1] == "error") {
+ this.rows[row][1] = ' '.bgRed + ' ' + this.rows[row][1];
+ }
+ table.push(this.rows[row]);
+ }
+ ;
+ console.log(table.toString());
+ };
+ return ConsoleTable;
+})();
+exports.ConsoleTable = ConsoleTable;
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5jbGFzc2VzLnRzIl0sIm5hbWVzIjpbIkNvbnNvbGVUYWJsZSIsIkNvbnNvbGVUYWJsZS5jb25zdHJ1Y3RvciIsIkNvbnNvbGVUYWJsZS5wdXNoIiwiQ29uc29sZVRhYmxlLnByaW50Il0sIm1hcHBpbmdzIjoiQUFBQSw0Q0FBNEM7QUFDNUMsSUFBTyxPQUFPLFdBQVcscUJBQXFCLENBQUMsQ0FBQztBQUVoRCxJQUFJLFlBQVksR0FBRztJQUNmLE9BQU8sRUFBRSxVQUFTLGNBQXlCLEVBQUMsUUFBd0I7UUFBbEQsOEJBQXlCLEdBQXpCLGtCQUF5QjtRQUFDLHdCQUF3QixHQUF4QixpQkFBd0I7UUFDaEUsSUFBSSxRQUFRLEdBQUcsRUFBRSxDQUFDO1FBQ2xCLEdBQUcsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsRUFBRSxFQUFFLENBQUM7WUFDeEMsUUFBUSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ3RDLENBQUM7UUFDRCxNQUFNLENBQUMsUUFBUSxDQUFDO0lBQ3BCLENBQUM7Q0FDSixDQUFDO0FBRUY7SUFJSUEsc0JBQVlBLFlBQW1CQSxFQUFDQSxpQkFBbURBO1FBQW5EQyxpQ0FBbURBLEdBQW5EQSxvQkFBNkJBLFlBQVlBLENBQUNBLE9BQU9BLEVBQU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iAgICAgICAgICAgICAgICB0aGlzLnRhYmxlSGVhZCA9IHRhYmxlSGVhZEFycmF5QXJnO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnJvd3MgPSBbXTtcbiAgICAgICAgdGhpcy50eXBlID0gdGFibGVUeXBlQXJnO1xuICAgIH1cbiAgICBwdXNoKHJvdzpzdHJpbmdbXSl7XG4gICAgICAgIHRoaXMucm93cy5wdXNoKHJvdyk7XG4gICAgfVxuICAgIHByaW50KCkge1xuICAgICAgICB2YXIgdGFibGUgPSBuZXcgcGx1Z2lucy5jbGlUYWJsZSh7XG4gICAgICAgICAgICBoZWFkOiB0aGlzLnRhYmxlSGVhZFxuICAgICAgICB9KTtcbiAgICAgICAgZm9yICh2YXIgcm93IGluIHRoaXMucm93cyl7XG4gICAgICAgICAgICBpZih0aGlzLnJvd3Nbcm93XVsxXSA9PSBcInN1Y2Nlc3NcIil7XG4gICAgICAgICAgICAgICAgdGhpcy5yb3dzW3Jvd11bMV0gPSAnICcuYmdHcmVlbiArICcgJyArIHRoaXMucm93c1tyb3ddWzFdO1xuICAgICAgICAgICAgfSBlbHNlIGlmICh0aGlzLnJvd3Nbcm93XVsxXSA9PSBcImVycm9yXCIpIHtcbiAgICAgICAgICAgICAgICB0aGlzLnJvd3Nbcm93XVsxXSA9ICcgJy5iZ1JlZCArICcgJyArIHRoaXMucm93c1tyb3ddWzFdO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGFibGUucHVzaCh0aGlzLnJvd3Nbcm93XSk7XG4gICAgICAgIH07XG4gICAgICAgIGNvbnNvbGUubG9nKHRhYmxlLnRvU3RyaW5nKCkpO1xuICAgIH1cbn1cbiJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
diff --git a/dist/beautylog.node.code.js b/dist/beautylog.node.code.js
new file mode 100644
index 0000000..c8030b0
--- /dev/null
+++ b/dist/beautylog.node.code.js
@@ -0,0 +1,19 @@
+///
+var codeFunction = function (codeString, options) {
+ var hlight = require("hlight");
+ var codeSnippet = {
+ source: codeString,
+ highlighted: "default"
+ };
+ if (typeof codeString != "string") {
+ console.log("beautylog.code() expects a string as first argument!");
+ return;
+ }
+ ;
+ if (typeof options != "undefined") {
+ codeSnippet.highlighted = hlight(codeSnippet.source, options.language);
+ }
+};
+module.exports = codeFunction;
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLmNvZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNENBQTRDO0FBRTVDLElBQUksWUFBWSxHQUFHLFVBQVMsVUFBVSxFQUFDLE9BQVE7SUFDM0MsSUFBSSxNQUFNLEdBQUcsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBQy9CLElBQUksV0FBVyxHQUFHO1FBQ2QsTUFBTSxFQUFDLFVBQVU7UUFDakIsV0FBVyxFQUFDLFNBQVM7S0FDeEIsQ0FBQztJQUNGLEVBQUUsQ0FBQyxDQUFDLE9BQU8sVUFBVSxJQUFJLFFBQVEsQ0FBQyxDQUFBLENBQUM7UUFDL0IsT0FBTyxDQUFDLEdBQUcsQ0FBQyxzREFBc0QsQ0FBQyxDQUFDO1FBQ3BFLE1BQU0sQ0FBQztJQUNYLENBQUM7SUFBQSxDQUFDO0lBQ0YsRUFBRSxDQUFDLENBQUMsT0FBTyxPQUFPLElBQUksV0FBVyxDQUFDLENBQUEsQ0FBQztRQUMvQixXQUFXLENBQUMsV0FBVyxHQUFHLE1BQU0sQ0FBQyxXQUFXLENBQUMsTUFBTSxFQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUUxRSxDQUFDO0FBQ0wsQ0FBQyxDQUFDO0FBQ0YsaUJBQVMsWUFBWSxDQUFDIiwiZmlsZSI6ImJlYXV0eWxvZy5ub2RlLmNvZGUuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoPVwiLi90eXBpbmdzL21haW4uZC50c1wiIC8+XG5cbnZhciBjb2RlRnVuY3Rpb24gPSBmdW5jdGlvbihjb2RlU3RyaW5nLG9wdGlvbnM/KXtcbiAgICBsZXQgaGxpZ2h0ID0gcmVxdWlyZShcImhsaWdodFwiKTtcbiAgICB2YXIgY29kZVNuaXBwZXQgPSB7XG4gICAgICAgIHNvdXJjZTpjb2RlU3RyaW5nLFxuICAgICAgICBoaWdobGlnaHRlZDpcImRlZmF1bHRcIlxuICAgIH07XG4gICAgaWYgKHR5cGVvZiBjb2RlU3RyaW5nICE9IFwic3RyaW5nXCIpe1xuICAgICAgICBjb25zb2xlLmxvZyhcImJlYXV0eWxvZy5jb2RlKCkgZXhwZWN0cyBhIHN0cmluZyBhcyBmaXJzdCBhcmd1bWVudCFcIik7XG4gICAgICAgIHJldHVybjtcbiAgICB9O1xuICAgIGlmICh0eXBlb2Ygb3B0aW9ucyAhPSBcInVuZGVmaW5lZFwiKXtcbiAgICAgICAgY29kZVNuaXBwZXQuaGlnaGxpZ2h0ZWQgPSBobGlnaHQoY29kZVNuaXBwZXQuc291cmNlLG9wdGlvbnMubGFuZ3VhZ2UpO1xuICAgICAgICAvL2NvbnNvbGUubG9nKGNvZGVTbmlwcGV0LmhpZ2hsaWdodGVkKVxuICAgIH1cbn07XG5leHBvcnQgPSBjb2RlRnVuY3Rpb247Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
diff --git a/dist/beautylog.node.figlet.js b/dist/beautylog.node.figlet.js
new file mode 100644
index 0000000..fcf43b5
--- /dev/null
+++ b/dist/beautylog.node.figlet.js
@@ -0,0 +1,39 @@
+///
+var plugins = require("./beautylog.plugins");
+var defaultOptions = {
+ font: "Star Wars",
+ color: "green",
+ cb: function () { }
+};
+exports.figlet = function (textArg, optionsArg) {
+ var done = plugins.q.defer();
+ var mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
+ var options = plugins.lodash.assign(mergeOptions, optionsArg);
+ plugins.figlet(textArg, {
+ font: options.font,
+ horizontalLayout: 'default',
+ verticalLayout: 'default'
+ }, function (err, data) {
+ if (err) {
+ console.log('Something went wrong...');
+ console.dir(err);
+ return;
+ }
+ console.log(data[options.color]);
+ options.cb();
+ done.resolve();
+ });
+ return done.promise;
+};
+exports.figletSync = function (textArg, optionsArg) {
+ var mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
+ var options = plugins.lodash.assign(mergeOptions, optionsArg);
+ console.log(plugins.figlet.textSync(textArg, {
+ font: options.font,
+ horizontalLayout: 'default',
+ verticalLayout: 'default'
+ })[options.color]);
+ return true;
+};
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLmZpZ2xldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FBNEM7QUFDNUMsSUFBTyxPQUFPLFdBQVcscUJBQXFCLENBQUMsQ0FBQztBQUNoRCxJQUFJLGNBQWMsR0FBRztJQUNqQixJQUFJLEVBQUMsV0FBVztJQUNoQixLQUFLLEVBQUUsT0FBTztJQUNkLEVBQUUsRUFBRSxjQUFXLENBQUM7Q0FDbkIsQ0FBQztBQUNTLGNBQU0sR0FBRyxVQUFTLE9BQWMsRUFBQyxVQUFXO0lBQ25ELElBQUksSUFBSSxHQUFHLE9BQU8sQ0FBQyxDQUFDLENBQUMsS0FBSyxFQUFFLENBQUM7SUFDN0IsSUFBSSxZQUFZLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsY0FBYyxDQUFDLENBQUM7SUFDNUQsSUFBSSxPQUFPLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsWUFBWSxFQUFDLFVBQVUsQ0FBQyxDQUFDO0lBQzdELE9BQU8sQ0FBQy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IHdlbnQgd3JvbmcuLi4nKTtcbiAgICAgICAgICAgIGNvbnNvbGUuZGlyKGVycik7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cbiAgICAgICAgY29uc29sZS5sb2coZGF0YVtvcHRpb25zLmNvbG9yXSk7XG4gICAgICAgIG9wdGlvbnMuY2IoKTtcbiAgICAgICAgZG9uZS5yZXNvbHZlKCk7XG4gICAgfSk7XG4gICAgcmV0dXJuIGRvbmUucHJvbWlzZTtcbn07XG5leHBvcnQgdmFyIGZpZ2xldFN5bmMgPSBmdW5jdGlvbih0ZXh0QXJnOnN0cmluZyxvcHRpb25zQXJnPyl7XG4gICAgdmFyIG1lcmdlT3B0aW9ucyA9IHBsdWdpbnMubG9kYXNoLmNsb25lRGVlcChkZWZhdWx0T3B0aW9ucyk7XG4gICAgdmFyIG9wdGlvbnMgPSBwbHVnaW5zLmxvZGFzaC5hc3NpZ24obWVyZ2VPcHRpb25zLG9wdGlvbnNBcmcpO1xuICAgIGNvbnNvbGUubG9nKHBsdWdpbnMuZmlnbGV0LnRleHRTeW5jKHRleHRBcmcse1xuICAgICAgICBmb250OiBvcHRpb25zLmZvbnQsXG4gICAgICAgIGhvcml6b250YWxMYXlvdXQ6ICdkZWZhdWx0JyxcbiAgICAgICAgdmVydGljYWxMYXlvdXQ6ICdkZWZhdWx0J1xuICAgIH0pW29wdGlvbnMuY29sb3JdKTtcbiAgICByZXR1cm4gdHJ1ZTtcbn07XG4iXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/dist/beautylog.node.js b/dist/beautylog.node.js
new file mode 100644
index 0000000..1581ee3
--- /dev/null
+++ b/dist/beautylog.node.js
@@ -0,0 +1,56 @@
+///
+var log = require("./beautylog.node.log");
+exports.table = require("./beautylog.node.table");
+var figletModule = require("./beautylog.node.figlet");
+exports.figlet = figletModule.figlet;
+exports.figletSync = figletModule.figletSync;
+/**
+ * logs an directory to console
+ * @param logText
+ * @returns {boolean}
+ */
+exports.dir = function (logText) {
+ return log(logText, 'dir');
+};
+/**
+ * logs an error to console
+ * @param logText
+ * @returns {boolean}
+ */
+exports.error = function (logText) {
+ return log(logText, 'error');
+};
+/**
+ * logs an info to console
+ * @param logText
+ * @returns {boolean}
+ */
+exports.info = function (logText) {
+ return log(logText, 'info');
+};
+/**
+ * logs an 'OK!' message to console
+ * @param logText
+ * @returns {boolean}
+ */
+exports.ok = function (logText) {
+ return log(logText, 'ok');
+};
+/**
+ * logs a success to console
+ * @param logText string to log as error
+ * @returns {boolean}
+ */
+exports.success = function (logText) {
+ return log(logText, 'success');
+};
+/**
+ * logs a 'warn:' message to console
+ * @param logText string to log as error
+ * @returns {boolean}
+ */
+exports.warn = function (logText) {
+ return log(logText, 'warn');
+};
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUU1QyxJQUFPLEdBQUcsV0FBVyxzQkFBc0IsQ0FBQyxDQUFDO0FBQy9CLGFBQUssV0FBVyx3QkFBd0IsQ0FBQyxDQUFDO0FBRXhELElBQU8sWUFBWSxXQUFXLHlCQUF5QixDQUFDLENBQUM7QUFFOUMsY0FBTSxHQUFHLFlBQVksQ0FBQyxNQUFNLENBQUM7QUFDN0Isa0JBQVUsR0FBRyxZQUFZLENBQUMsVUFBVSxDQUFDO0FBQ2hEOzs7O0dBSUc7QUFDUSxXQUFHLEdBQUcsVUFBUyxPQUFPO0lBQzdCLE1BQU0sQ0FBQyxHQUFHLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQyxDQUFDO0FBQy9CLENBQUMsQ0FBQztBQUdGOzs7O0dBSUc7QUFDUSxhQUFLLEdBQUcsVUFBUyxPQUFPO0lBQy9CLE1BQU0sQ0FBQyxHQUFHLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ2pDLENB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CBsZXQgc3VjY2VzcyA9IGZ1bmN0aW9uKGxvZ1RleHQpIHtcbiAgICByZXR1cm4gbG9nKGxvZ1RleHQsICdzdWNjZXNzJyk7XG59O1xuXG4vKipcbiAqIGxvZ3MgYSAnd2FybjonIG1lc3NhZ2UgdG8gY29uc29sZVxuICogQHBhcmFtIGxvZ1RleHQgc3RyaW5nIHRvIGxvZyBhcyBlcnJvclxuICogQHJldHVybnMge2Jvb2xlYW59XG4gKi9cbmV4cG9ydCBsZXQgd2FybiA9IGZ1bmN0aW9uKGxvZ1RleHQpIHtcbiAgICByZXR1cm4gbG9nKGxvZ1RleHQsICd3YXJuJyk7XG59OyJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
diff --git a/dist/beautylog.node.log.js b/dist/beautylog.node.log.js
new file mode 100644
index 0000000..181fa6f
--- /dev/null
+++ b/dist/beautylog.node.log.js
@@ -0,0 +1,60 @@
+///
+var plugins = require("./beautylog.plugins");
+var localBl = {
+ dirPrefix: plugins.clc.bgXterm(39).xterm(231).bold(' DIR ') + ' ',
+ errorPrefix: ' Error: '.bgRed.white.bold + ' ',
+ infoPrefix: plugins.clc.bgXterm(198).xterm(231).bold(' INFO ') + ' ',
+ normalPrefix: ' Log: '.bgCyan.white.bold + ' ',
+ okPrefix: ' '.bgGreen + ' OK! '.bgBlack.green.bold + ' ',
+ successPrefix: ' Success: '.bgGreen.white.bold + ' ',
+ warnPrefix: ' '.bgYellow + ' Warn: '.bgBlack.yellow.bold + ' '
+};
+/**
+ *
+ * @param logText
+ * @param logType
+ * @returns {boolean}
+ */
+var logFunction = function (logText, logType) {
+ if (logText === void 0) { logText = 'empty log'; }
+ if (logType === void 0) { logType = 'normal'; }
+ try {
+ switch (logType) {
+ case 'dir':
+ logText = localBl.dirPrefix + plugins.clc.xterm(26)(logText);
+ break;
+ case 'error':
+ logText = localBl.errorPrefix + logText.red.bold;
+ break;
+ case 'info':
+ logText = localBl.infoPrefix + plugins.clc.xterm(198)(logText);
+ break;
+ case 'normal':
+ logText = localBl.normalPrefix + logText.cyan.bold;
+ break;
+ case 'ok':
+ logText = localBl.okPrefix + logText.bold;
+ break;
+ case 'success':
+ logText = localBl.successPrefix + logText.green.bold;
+ break;
+ case 'warn':
+ logText = localBl.warnPrefix + logText.bold;
+ break;
+ case 'log':
+ default:
+ logText.blue.bold;
+ console.log(('unknown logType for "' + logText + '"').red.bold);
+ break;
+ }
+ console.log(logText);
+ return true;
+ }
+ catch (error) {
+ console.log(localBl.errorPrefix + 'You seem to have tried logging something strange'.red.bold + error);
+ return false;
+ }
+};
+module.exports = logFunction;
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLmxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FBNEM7QUFFNUMsSUFBTyxPQUFPLFdBQVcscUJBQXFCLENBQUMsQ0FBQztBQUVoRCxJQUFJLE9BQU8sR0FBRztJQUNWLFNBQVMsRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLEdBQUc7SUFDakUsV0FBVyxFQUFFLFVBQVUsQ0FBQyxLQUFLLENBQUMsS0FBSyxDQUFDLElBQUksR0FBRyxHQUFHO0lBQzlDLFVBQVUsRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLEdBQUc7SUFDcEUsWUFBWSxFQUFFLFFBQVEsQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLElBQUksR0FBRyxHQUFHO0lBQzlDLFFBQVEsRUFBRSxHQUFHLENBQUMsT0FBT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l0Y2ggKGxvZ1R5cGUpIHtcbiAgICAgICAgICAgIGNhc2UgJ2Rpcic6XG4gICAgICAgICAgICAgICAgbG9nVGV4dCA9IGxvY2FsQmwuZGlyUHJlZml4ICsgcGx1Z2lucy5jbGMueHRlcm0oMjYpKGxvZ1RleHQpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnZXJyb3InOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLmVycm9yUHJlZml4ICsgbG9nVGV4dC5yZWQuYm9sZDtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2luZm8nOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLmluZm9QcmVmaXggKyBwbHVnaW5zLmNsYy54dGVybSgxOTgpKGxvZ1RleHQpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnbm9ybWFsJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC5ub3JtYWxQcmVmaXggKyBsb2dUZXh0LmN5YW4uYm9sZDtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ29rJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC5va1ByZWZpeCArIGxvZ1RleHQuYm9sZDtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ3N1Y2Nlc3MnOlxuICAgICAgICAgICAgICAgIGxvZ1RleHQgPSBsb2NhbEJsLnN1Y2Nlc3NQcmVmaXggKyBsb2dUZXh0LmdyZWVuLmJvbGQ7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICd3YXJuJzpcbiAgICAgICAgICAgICAgICBsb2dUZXh0ID0gbG9jYWxCbC53YXJuUHJlZml4ICsgbG9nVGV4dC5ib2xkO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnbG9nJzpcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgbG9nVGV4dC5ibHVlLmJvbGQ7XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coKCd1bmtub3duIGxvZ1R5cGUgZm9yIFwiJyArIGxvZ1RleHQgKyAnXCInKS5yZWQuYm9sZCk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgY29uc29sZS5sb2cobG9nVGV4dCk7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cbiAgICBjYXRjaCAoZXJyb3IpIHtcbiAgICAgICAgY29uc29sZS5sb2cobG9jYWxCbC5lcnJvclByZWZpeCArICdZb3Ugc2VlbSB0byBoYXZlIHRyaWVkIGxvZ2dpbmcgc29tZXRoaW5nIHN0cmFuZ2UnLnJlZC5ib2xkICsgZXJyb3IpO1xuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxufTtcbmV4cG9ydCA9IGxvZ0Z1bmN0aW9uOyJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
diff --git a/dist/beautylog.node.table.js b/dist/beautylog.node.table.js
new file mode 100644
index 0000000..a2b8439
--- /dev/null
+++ b/dist/beautylog.node.table.js
@@ -0,0 +1,10 @@
+///
+var classes = require("./beautylog.classes");
+var beautylogOsTable = {};
+beautylogOsTable.new = function (typeArg, tableHeadArrayArg) {
+ var newConsoleTable = new classes.ConsoleTable(typeArg, tableHeadArrayArg);
+ return newConsoleTable;
+};
+module.exports = beautylogOsTable;
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5ub2RlLnRhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUM1QyxJQUFPLE9BQU8sV0FBVyxxQkFBcUIsQ0FBQyxDQUFDO0FBRWhELElBQUksZ0JBQWdCLEdBQU8sRUFBRSxDQUFDO0FBRTlCLGdCQUFnQixDQUFDLEdBQUcsR0FBRyxVQUFTLE9BQWMsRUFBQyxpQkFBa0I7SUFDN0QsSUFBSSxlQUFlLEdBQUcsSUFBSSxPQUFPLENBQUMsWUFBWSxDQUFDLE9BQU8sRUFBQyxpQkFBaUIsQ0FBQyxDQUFDO0lBQzFFLE1BQU0sQ0FBQyxlQUFlLENBQUM7QUFDM0IsQ0FBQyxDQUFDO0FBQ0YsaUJBQVMsZ0JBQWdCLENBQUMiLCJmaWxlIjoiYmVhdXR5bG9nLm5vZGUudGFibGUuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoPVwiLi90eXBpbmdzL21haW4uZC50c1wiIC8+XG5pbXBvcnQgY2xhc3NlcyA9IHJlcXVpcmUoXCIuL2JlYXV0eWxvZy5jbGFzc2VzXCIpO1xuXG52YXIgYmVhdXR5bG9nT3NUYWJsZTphbnkgPSB7fTtcblxuYmVhdXR5bG9nT3NUYWJsZS5uZXcgPSBmdW5jdGlvbih0eXBlQXJnOnN0cmluZyx0YWJsZUhlYWRBcnJheUFyZz8pIHtcbiAgICB2YXIgbmV3Q29uc29sZVRhYmxlID0gbmV3IGNsYXNzZXMuQ29uc29sZVRhYmxlKHR5cGVBcmcsdGFibGVIZWFkQXJyYXlBcmcpO1xuICAgIHJldHVybiBuZXdDb25zb2xlVGFibGU7XG59O1xuZXhwb3J0ID0gYmVhdXR5bG9nT3NUYWJsZTsiXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/dist/beautylog.plugins.js b/dist/beautylog.plugins.js
new file mode 100644
index 0000000..d0c0bd2
--- /dev/null
+++ b/dist/beautylog.plugins.js
@@ -0,0 +1,17 @@
+///
+var plugins = {
+ lodash: require("lodash"),
+ smartenv: require("smartenv"),
+ q: require("q")
+};
+if (plugins.smartenv.getEnv().isNode) {
+ plugins = plugins.lodash.assign(plugins, {
+ cliTable: require("cli-table2"),
+ colors: require("colors"),
+ clc: require("cli-color"),
+ figlet: require("figlet")
+ });
+}
+module.exports = plugins;
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUU1QyxJQUFJLE9BQU8sR0FBTztJQUNkLE1BQU0sRUFBRSxPQUFPLENBQUMsUUFBUSxDQUFDO0lBQ3pCLFFBQVEsRUFBRSxPQUFPLENBQUMsVUFBVSxDQUFDO0lBQzdCLENBQUMsRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDO0NBQ2xCLENBQUM7QUFDRixFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLE1BQU0sRUFBRSxDQUFDLE1BQU0sQ0FBQyxDQUFBLENBQUM7SUFDbEMsT0FBTyxHQUFHLE9BQU8sQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLE9BQU8sRUFBQztRQUNwQyxRQUFRLEVBQUcsT0FBTyxDQUFDLFlBQVksQ0FBQztRQUNoQyxNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztRQUN6QixHQUFHLEVBQUUsT0FBTyxDQUFDLFdBQVcsQ0FBQztRQUN6QixNQUFNLEVBQUUsT0FBTyxDQUFDLFFBQVEsQ0FBQztLQUM1QixDQUFDLENBQUM7QUFDUCxDQUFDO0FBQ0QsaUJBQVMsT0FBTyxDQUFDIiwiZmlsZSI6ImJlYXV0eWxvZy5wbHVnaW5zLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8vIDxyZWZlcmVuY2UgcGF0aD1cIi4vdHlwaW5ncy9tYWluLmQudHNcIiAvPlxuXG52YXIgcGx1Z2luczphbnkgPSB7XG4gICAgbG9kYXNoOiByZXF1aXJlKFwibG9kYXNoXCIpLFxuICAgIHNtYXJ0ZW52OiByZXF1aXJlKFwic21hcnRlbnZcIiksXG4gICAgcTogcmVxdWlyZShcInFcIilcbn07XG5pZiAocGx1Z2lucy5zbWFydGVudi5nZXRFbnYoKS5pc05vZGUpe1xuICAgIHBsdWdpbnMgPSBwbHVnaW5zLmxvZGFzaC5hc3NpZ24ocGx1Z2lucyx7XG4gICAgICAgIGNsaVRhYmxlOiAgcmVxdWlyZShcImNsaS10YWJsZTJcIiksXG4gICAgICAgIGNvbG9yczogcmVxdWlyZShcImNvbG9yc1wiKSxcbiAgICAgICAgY2xjOiByZXF1aXJlKFwiY2xpLWNvbG9yXCIpLFxuICAgICAgICBmaWdsZXQ6IHJlcXVpcmUoXCJmaWdsZXRcIilcbiAgICB9KTtcbn1cbmV4cG9ydCA9IHBsdWdpbnM7Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
diff --git a/dist/beautylog.promisechain.js b/dist/beautylog.promisechain.js
new file mode 100644
index 0000000..cd56381
--- /dev/null
+++ b/dist/beautylog.promisechain.js
@@ -0,0 +1,3 @@
+///
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlYXV0eWxvZy5wcm9taXNlY2hhaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNENBQTRDIiwiZmlsZSI6ImJlYXV0eWxvZy5wcm9taXNlY2hhaW4uanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoPVwiLi90eXBpbmdzL21haW4uZC50c1wiIC8+XG4iXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..eb4866d
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,19 @@
+///
+var plugins = require("./beautylog.plugins");
+var BeautylogNode = require("./beautylog.node");
+var BeautylogBrowser = require("./beautylog.browser");
+var beautylog;
+switch (plugins.smartenv.getEnv().runtimeEnv) {
+ case "node":
+ beautylog = BeautylogNode;
+ break;
+ case "browser":
+ beautylog = BeautylogBrowser;
+ break;
+ default:
+ console.log("something is strange about the platform in which you try to use beautylog");
+ break;
+}
+module.exports = beautylog;
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRDQUE0QztBQUU1QyxJQUFPLE9BQU8sV0FBVyxxQkFBcUIsQ0FBQyxDQUFDO0FBQ2hELElBQU8sYUFBYSxXQUFXLGtCQUFrQixDQUFDLENBQUM7QUFDbkQsSUFBTyxnQkFBZ0IsV0FBVyxxQkFBcUIsQ0FBQyxDQUFDO0FBQ3pELElBQUksU0FBUyxDQUFDO0FBQ2QsTUFBTSxDQUFBLENBQUMsT0FBTyxDQUFDLFFBQVEsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDO0lBQzFDLEtBQUssTUFBTTtRQUNQLFNBQVMsR0FBRyxhQUFhLENBQUM7UUFDMUIsS0FBSyxDQUFDO0lBQ1YsS0FBSyxTQUFTO1FBQ1YsU0FBUyxHQUFHLGdCQUFnQixDQUFDO1FBQzdCLEtBQUssQ0FBQztJQUNWO1FBQ0ksT0FBTyxDQUFDLEdBQUcsQ0FBQywyRUFBMkUsQ0FBQyxDQUFDO1FBQ3pGLEtBQUssQ0FBQztBQUNkLENBQUM7QUFFRCxpQkFBUyxTQUFTLENBQUMiLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoPVwiLi90eXBpbmdzL21haW4uZC50c1wiIC8+XG5cbmltcG9ydCBwbHVnaW5zID0gcmVxdWlyZShcIi4vYmVhdXR5bG9nLnBsdWdpbnNcIik7XG5pbXBvcnQgQmVhdXR5bG9nTm9kZSA9IHJlcXVpcmUoXCIuL2JlYXV0eWxvZy5ub2RlXCIpO1xuaW1wb3J0IEJlYXV0eWxvZ0Jyb3dzZXIgPSByZXF1aXJlKFwiLi9iZWF1dHlsb2cuYnJvd3NlclwiKTtcbnZhciBiZWF1dHlsb2c7XG5zd2l0Y2gocGx1Z2lucy5zbWFydGVudi5nZXRFbnYoKS5ydW50aW1lRW52KSB7XG4gICAgY2FzZSBcIm5vZGVcIjpcbiAgICAgICAgYmVhdXR5bG9nID0gQmVhdXR5bG9nTm9kZTtcbiAgICAgICAgYnJlYWs7XG4gICAgY2FzZSBcImJyb3dzZXJcIjpcbiAgICAgICAgYmVhdXR5bG9nID0gQmVhdXR5bG9nQnJvd3NlcjtcbiAgICAgICAgYnJlYWs7XG4gICAgZGVmYXVsdDpcbiAgICAgICAgY29uc29sZS5sb2coXCJzb21ldGhpbmcgaXMgc3RyYW5nZSBhYm91dCB0aGUgcGxhdGZvcm0gaW4gd2hpY2ggeW91IHRyeSB0byB1c2UgYmVhdXR5bG9nXCIpO1xuICAgICAgICBicmVhaztcbn1cblxuZXhwb3J0ID0gYmVhdXR5bG9nO1xuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
diff --git a/dist/testbrowser.js b/dist/testbrowser.js
new file mode 100644
index 0000000..8f78dc2
--- /dev/null
+++ b/dist/testbrowser.js
@@ -0,0 +1,19 @@
+///
+var plugins = {
+ gulp: require("gulp"),
+ gulpBrowser: require("gulp-browser"),
+ easyserve: require("easyserve")
+};
+plugins.gulp.task('compileBrowserJS', function () {
+ var stream = plugins.gulp.src('test/browser/index.js')
+ .pipe(plugins.gulpBrowser.browserify())
+ .pipe(plugins.gulp.dest("test/browser/browserified/"));
+ return stream;
+});
+plugins.gulp.task('default', ['compileBrowserJS'], function () {
+ console.log('browserJS has been browserified');
+ plugins.easyserve("test/browser/");
+});
+plugins.gulp.start.apply(plugins.gulp, ['default']);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlc3Ricm93c2VyLn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cInR5cGluZ3MvdHNkLmQudHNcIiAvPlxudmFyIHBsdWdpbnMgPSB7XG4gICAgZ3VscDogcmVxdWlyZShcImd1bHBcIiksXG4gICAgZ3VscEJyb3dzZXI6IHJlcXVpcmUoXCJndWxwLWJyb3dzZXJcIiksXG4gICAgZWFzeXNlcnZlOiByZXF1aXJlKFwiZWFzeXNlcnZlXCIpXG59O1xuXG5wbHVnaW5zLmd1bHAudGFzaygnY29tcGlsZUJyb3dzZXJKUycsIGZ1bmN0aW9uKCkge1xuICAgIHZhciBzdHJlYW0gPSBwbHVnaW5zLmd1bHAuc3JjKCd0ZXN0L2Jyb3dzZXIvaW5kZXguanMnKVxuICAgICAgICAucGlwZShwbHVnaW5zLmd1bHBCcm93c2VyLmJyb3dzZXJpZnkoKSlcbiAgICAgICAgLnBpcGUocGx1Z2lucy5ndWxwLmRlc3QoXCJ0ZXN0L2Jyb3dzZXIvYnJvd3NlcmlmaWVkL1wiKSk7XG4gICAgcmV0dXJuIHN0cmVhbTtcbn0pO1xuXG5wbHVnaW5zLmd1bHAudGFzaygnZGVmYXVsdCcsWydjb21waWxlQnJvd3NlckpTJ10sIGZ1bmN0aW9uKCkge1xuICAgIGNvbnNvbGUubG9nKCdicm93c2VySlMgaGFzIGJlZW4gYnJvd3NlcmlmaWVkJyk7XG4gICAgcGx1Z2lucy5lYXN5c2VydmUoXCJ0ZXN0L2Jyb3dzZXIvXCIpO1xufSk7XG5cbnBsdWdpbnMuZ3VscC5zdGFydC5hcHBseShwbHVnaW5zLmd1bHAsIFsnZGVmYXVsdCddKTsiXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/package.json b/package.json
index 0ccc58b..0ea0e8f 100644
--- a/package.json
+++ b/package.json
@@ -35,14 +35,14 @@
"colors": "1.1.2",
"figlet": "^1.1.1",
"hlight": "0.0.8",
- "lodash": "^4.5.0",
+ "lodash": "^4.5.1",
"q": "^1.4.1",
- "smartenv": "1.0.6"
+ "smartenv": "1.0.7"
},
"devDependencies": {
"easyserve": "0.0.5",
"gulp": "^3.9.1",
"gulp-browser": "1.0.10",
- "npmts": "2.3.3"
+ "npmts": "3.1.2"
}
}
diff --git a/test/test.d.ts b/test/test.d.ts
deleted file mode 100644
index b2a54b6..0000000
--- a/test/test.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-///
-declare var smartenv: any;
-declare var beautylog: any;
diff --git a/test/test.js b/test/test.js
index 1a5e4ae..33876f0 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,6 +1,4 @@
-#!/usr/bin/env node
-
-///
+///
var smartenv = require("smartenv");
var beautylog = require('../index.js');
describe("beautylog", function () {
@@ -82,4 +80,4 @@ describe("beautylog", function () {
});
});
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNENBQTRDO0FBQzVDLElBQUksUUFBUSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQztBQUNuQyxJQUFJLFNBQVMsR0FBRyxPQUFPLENBQUMsYUFBYSxDQUFDLENBQUM7QUFFdkMsUUFBUSxDQUFDLFdBQVcsRUFBQztJQUNqQixRQUFRLENBQUMsdUJBQXVCLEVBQUM7UUFDN0IsRUFBRSxDQUFDLHNCQUFzQixFQUFDO1lBQ3RCLFNBQVMsQ0FBQyxHQUFHLENBQUMsdURBQXVELENBQUMsQ0FBQztRQUMzRSxDQUFDLENBQUMsQ0FBQztRQUNILEVBQUUsQ0FBQyx1REFBdUQsRUFBQztZQUN2RCxTQUFTLENBQUMsR0FBRyxDQUFDLHVEQUF1RCxDQUFDLENBQUM7WUFDdkUsU0FBUyxDQUFDLEdBQUcsQ0FBQywwREFBMEQsRUFBQyxLQUFLLENBQUMsQ0FBQztZQUNoRixTQUFTLENBQUMsR0FBRyxDQUFDLDREQUE0RCxFQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQ3BGLFNBQVM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oXCJBc3luYyFcIix7Zm9udDpcIlN0YXIgV2Fyc1wiLGNvbG9yOlwieWVsbG93XCJ9KS50aGVuKGRvbmUpO1xuICAgICAgICB9KVxuICAgIH0pO1xuICAgIGRlc2NyaWJlKFwiLmZpZ2xldFN5bmNcIixmdW5jdGlvbigpe1xuICAgICAgICBpdChcInNob3VsZCBwcmludCBuaWNlIGZvbnRzIHRvIGNvbnNvbGUgaW4geWVsbG93XCIsZnVuY3Rpb24oKXtcbiAgICAgICAgICAgIGJlYXV0eWxvZy5maWdsZXRTeW5jKFwiU3luYyFcIix7Zm9udDpcIlN0YXIgV2Fyc1wiLGNvbG9yOlwiYmx1ZVwifSk7XG4gICAgICAgIH0pXG4gICAgfSk7XG4gICAgZGVzY3JpYmUoXCIuY29kZVwiLGZ1bmN0aW9uKCl7XG4gICAgICAgIGl0KFwic2hvdWxkIGhpZ2hsaWdodCBjb2RlXCIsZnVuY3Rpb24oKXtcbiAgICAgICAgICAgIHRoaXMudGltZW91dCgxMDAwMCk7XG4gICAgICAgICAgICBiZWF1dHlsb2cuY29kZShcbiAgICAgICAgICAgICAgICBcInZhciB0ZXN0ID0gMztcXG5mdW5jdGlvbigpe1xcbiAgdmFyIGhlbGxvID0gXFxcInN1cGVyXFxcIlxcbn07XFxudmFyIHRlc3Q7XCIsXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBsYW5ndWFnZTpcImphdmFzY3JpcHRcIlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICk7XG4gICAgICAgIH0pXG4gICAgfSlcbn0pO1xuXG5cbiJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0RBQWdEO0FBQ2hELElBQUksUUFBUSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ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G5cbiAgICAgICAgICAgICAgICB2YXIgdGVzdFRhYmxlMiA9IGJlYXV0eWxvZy50YWJsZS5uZXcoXCJjdXN0b21cIixbXCJDb2x1bW4xXCIucmVkLFwiQ29sdW1uMlwiLmJsdWUsXCJDb2x1bW4zXCIuY3lhbl0pO1xuICAgICAgICAgICAgICAgIHRlc3RUYWJsZTIucHVzaChbXCJIZXlcIixcInRoaXNcIixcIndvcmtzXCJdKTtcbiAgICAgICAgICAgICAgICB0ZXN0VGFibGUyLnByaW50KCk7XG4gICAgICAgICAgICB9KSgpO1xuICAgICAgICB9KTtcbiAgICB9KTtcbiAgICBkZXNjcmliZShcIi5maWdsZXRcIixmdW5jdGlvbigpe1xuICAgICAgICBpdChcInNob3VsZCBwcmludCBuaWNlIGZvbnRzIHRvIGNvbnNvbGUgaW4geWVsbG93XCIsZnVuY3Rpb24oZG9uZSl7XG4gICAgICAgICAgICBiZWF1dHlsb2cuZmlnbGV0KFwiQXN5bmMhXCIse2ZvbnQ6XCJTdGFyIFdhcnNcIixjb2xvcjpcInllbGxvd1wifSkudGhlbihkb25lKTtcbiAgICAgICAgfSlcbiAgICB9KTtcbiAgICBkZXNjcmliZShcIi5maWdsZXRTeW5jXCIsZnVuY3Rpb24oKXtcbiAgICAgICAgaXQoXCJzaG91bGQgcHJpbnQgbmljZSBmb250cyB0byBjb25zb2xlIGluIHllbGxvd1wiLGZ1bmN0aW9uKCl7XG4gICAgICAgICAgICBiZWF1dHlsb2cuZmlnbGV0U3luYyhcIlN5bmMhXCIse2ZvbnQ6XCJTdGFyIFdhcnNcIixjb2xvcjpcImJsdWVcIn0pO1xuICAgICAgICB9KVxuICAgIH0pO1xuICAgIGRlc2NyaWJlKFwiLmNvZGVcIixmdW5jdGlvbigpe1xuICAgICAgICBpdChcInNob3VsZCBoaWdobGlnaHQgY29kZVwiLGZ1bmN0aW9uKCl7XG4gICAgICAgICAgICB0aGlzLnRpbWVvdXQoMTAwMDApO1xuICAgICAgICAgICAgYmVhdXR5bG9nLmNvZGUoXG4gICAgICAgICAgICAgICAgXCJ2YXIgdGVzdCA9IDM7XFxuZnVuY3Rpb24oKXtcXG4gIHZhciBoZWxsbyA9IFxcXCJzdXBlclxcXCJcXG59O1xcbnZhciB0ZXN0O1wiLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbGFuZ3VhZ2U6XCJqYXZhc2NyaXB0XCJcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICApO1xuICAgICAgICB9KVxuICAgIH0pXG59KTtcblxuXG4iXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/test/test.js.map b/test/test.js.map
new file mode 100644
index 0000000..6b9ecf5
--- /dev/null
+++ b/test/test.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,IAAI,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AACnC,IAAI,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAEvC,QAAQ,CAAC,WAAW,EAAC;IACjB,QAAQ,CAAC,uBAAuB,EAAC;QAC7B,EAAE,CAAC,sBAAsB,EAAC;YACtB,SAAS,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAC;QAC3E,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,uDAAuD,EAAC;YACvD,SAAS,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAC;YACvE,SAAS,CAAC,GAAG,CAAC,0DAA0D,EAAC,KAAK,CAAC,CAAC;YAChF,SAAS,CAAC,GAAG,CAAC,4DAA4D,EAAC,OAAO,CAAC,CAAC;YACpF,SAAS,CAAC,GAAG,CAAC,2DAA2D,EAAC,MAAM,CAAC,CAAC;YAClF,SAAS,CAAC,GAAG,CAAC,yDAAyD,EAAC,IAAI,CAAC,CAAC;YAC9E,SAAS,CAAC,GAAG,CAAC,8DAA8D,EAAC,SAAS,CAAC,CAAC;Y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S,CAAC,IAAI,CACV,oEAAoE,EACpE;gBACI,QAAQ,EAAC,YAAY;aACxB,CACJ,CAAC;QACN,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAC"}
\ No newline at end of file
diff --git a/ts/test.ts b/test/test.ts
similarity index 98%
rename from ts/test.ts
rename to test/test.ts
index 958ef64..8ac4a9c 100644
--- a/ts/test.ts
+++ b/test/test.ts
@@ -1,4 +1,4 @@
-///
+///
var smartenv = require("smartenv");
var beautylog = require('../index.js');
diff --git a/test/testbrowser.js b/test/testbrowser.js
new file mode 100644
index 0000000..537f3b9
--- /dev/null
+++ b/test/testbrowser.js
@@ -0,0 +1,18 @@
+///
+var plugins = {
+ gulp: require("gulp"),
+ gulpBrowser: require("gulp-browser"),
+ easyserve: require("easyserve")
+};
+plugins.gulp.task('compileBrowserJS', function () {
+ var stream = plugins.gulp.src('test/browser/index.js')
+ .pipe(plugins.gulpBrowser.browserify())
+ .pipe(plugins.gulp.dest("test/browser/browserified/"));
+ return stream;
+});
+plugins.gulp.task('default', ['compileBrowserJS'], function () {
+ console.log('browserJS has been browserified');
+ plugins.easyserve("test/browser/");
+});
+plugins.gulp.start.apply(plugins.gulp, ['default']);
+//# sourceMappingURL=testbrowser.js.map
\ No newline at end of file
diff --git a/test/testbrowser.js.map b/test/testbrowser.js.map
new file mode 100644
index 0000000..e107f54
--- /dev/null
+++ b/test/testbrowser.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"testbrowser.js","sourceRoot":"","sources":["testbrowser.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,IAAI,OAAO,GAAG;IACV,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC,cAAc,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC,WAAW,CAAC;CAClC,CAAC;AAEF,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;IAClC,IAAI,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,uBAAuB,CAAC;SACjD,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,EAAE,CAAC;SACtC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC;IAC3D,MAAM,CAAC,MAAM,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAC,CAAC,kBAAkB,CAAC,EAAE;IAC9C,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;IAC/C,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC"}
\ No newline at end of file
diff --git a/ts/testbrowser.ts b/test/testbrowser.ts
similarity index 100%
rename from ts/testbrowser.ts
rename to test/testbrowser.ts
diff --git a/ts/beautylog.browser.ts b/ts/beautylog.browser.ts
index cb8b0bb..9e82b05 100644
--- a/ts/beautylog.browser.ts
+++ b/ts/beautylog.browser.ts
@@ -1,22 +1,17 @@
-///
-module BeautylogBrowser {
- export function init() {
- var beautylogBrowser:any = {};
- beautylogBrowser.log = function(message){
- console.log('%c Log: %c ' + message,"background:#42A5F5;color:#ffffff","color:#42A5F5;");
- };
- beautylogBrowser.info = function(message){
- console.log('%c Info: %c ' + message,'background:#EC407A;color:#ffffff;','color:#EC407A;');
- };
- beautylogBrowser.ok = function(message){
- console.log('%c OK: %c ' + message,"background:#000000;color:#8BC34A;","color:#000000;");
- };
- beautylogBrowser.success = function(message){
- console.log('%c Success: %c ' + message,"background:#8BC34A;color:#ffffff;","color:#8BC34A;");
- };
- beautylogBrowser.warn = function(message){
- console.log('%c Warn: %c ' + message,"background:#000000;color:#FB8C00;","color:#000000;");
- };
- return beautylogBrowser;
- }
-}
\ No newline at end of file
+///
+
+export let log = function(message){
+ console.log('%c Log: %c ' + message,"background:#42A5F5;color:#ffffff","color:#42A5F5;");
+};
+export let info = function(message){
+ console.log('%c Info: %c ' + message,'background:#EC407A;color:#ffffff;','color:#EC407A;');
+};
+export let ok = function(message){
+ console.log('%c OK: %c ' + message,"background:#000000;color:#8BC34A;","color:#000000;");
+};
+export let success = function(message){
+ console.log('%c Success: %c ' + message,"background:#8BC34A;color:#ffffff;","color:#8BC34A;");
+};
+export let warn = function(message){
+ console.log('%c Warn: %c ' + message,"background:#000000;color:#FB8C00;","color:#000000;");
+};
\ No newline at end of file
diff --git a/ts/beautylog.classes.ts b/ts/beautylog.classes.ts
index 86cc71c..9218761 100644
--- a/ts/beautylog.classes.ts
+++ b/ts/beautylog.classes.ts
@@ -1,4 +1,6 @@
-///
+///
+import plugins = require("./beautylog.plugins");
+
var tableHelpers = {
makeRow: function(cellCounterArg:number = 2,colorArg:string = "cyan"){
var rowArray = [];
@@ -9,7 +11,7 @@ var tableHelpers = {
}
};
-class ConsoleTable {
+export class ConsoleTable {
tableHead:string[];
rows;
type:string;
@@ -31,7 +33,7 @@ class ConsoleTable {
this.rows.push(row);
}
print() {
- var table = new BeautylogNodeTable.cliTable({
+ var table = new plugins.cliTable({
head: this.tableHead
});
for (var row in this.rows){
diff --git a/ts/beautylog.node.code.ts b/ts/beautylog.node.code.ts
index 277f83a..1c9ac4e 100644
--- a/ts/beautylog.node.code.ts
+++ b/ts/beautylog.node.code.ts
@@ -1,23 +1,18 @@
-///
-module BeautylogNodeCode {
- export var init = function() {
+///
-
- var codeFunction = function(codeString,options?){
- var hlight = require("hlight");
- var codeSnippet = {
- source:codeString,
- highlighted:"default"
- };
- if (typeof codeString != "string"){
- console.log("beautylog.code() expects a string as first argument!");
- return;
- };
- if (typeof options != "undefined"){
- codeSnippet.highlighted = hlight(codeSnippet.source,options.language);
- //console.log(codeSnippet.highlighted)
- }
- };
- return codeFunction;
+var codeFunction = function(codeString,options?){
+ let hlight = require("hlight");
+ var codeSnippet = {
+ source:codeString,
+ highlighted:"default"
+ };
+ if (typeof codeString != "string"){
+ console.log("beautylog.code() expects a string as first argument!");
+ return;
+ };
+ if (typeof options != "undefined"){
+ codeSnippet.highlighted = hlight(codeSnippet.source,options.language);
+ //console.log(codeSnippet.highlighted)
}
-}
\ No newline at end of file
+};
+export = codeFunction;
\ No newline at end of file
diff --git a/ts/beautylog.node.figlet.ts b/ts/beautylog.node.figlet.ts
index b5d7528..ab3d6ef 100644
--- a/ts/beautylog.node.figlet.ts
+++ b/ts/beautylog.node.figlet.ts
@@ -1,38 +1,37 @@
-///
-module BeautylogNodeFiglet {
- var defaultOptions = {
- font:"Star Wars",
- color: "green",
- cb: function(){}
- };
- export var figlet = function(textArg:string,optionsArg?){
- var done = plugins.q.defer();
- var mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
- var options = plugins.lodash.assign(mergeOptions,optionsArg);
- plugins.figlet(textArg,{
- font: options.font,
- horizontalLayout: 'default',
- verticalLayout: 'default'
- }, function(err, data) {
- if (err) {
- console.log('Something went wrong...');
- console.dir(err);
- return;
- }
- console.log(data[options.color]);
- options.cb();
- done.resolve();
- });
- return done.promise;
- };
- export var figletSync = function(textArg:string,optionsArg?){
- var mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
- var options = plugins.lodash.assign(mergeOptions,optionsArg);
- console.log(plugins.figlet.textSync(textArg,{
- font: options.font,
- horizontalLayout: 'default',
- verticalLayout: 'default'
- })[options.color]);
- return true;
- };
-}
+///
+import plugins = require("./beautylog.plugins");
+var defaultOptions = {
+ font:"Star Wars",
+ color: "green",
+ cb: function(){}
+};
+export var figlet = function(textArg:string,optionsArg?){
+ var done = plugins.q.defer();
+ var mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
+ var options = plugins.lodash.assign(mergeOptions,optionsArg);
+ plugins.figlet(textArg,{
+ font: options.font,
+ horizontalLayout: 'default',
+ verticalLayout: 'default'
+ }, function(err, data) {
+ if (err) {
+ console.log('Something went wrong...');
+ console.dir(err);
+ return;
+ }
+ console.log(data[options.color]);
+ options.cb();
+ done.resolve();
+ });
+ return done.promise;
+};
+export var figletSync = function(textArg:string,optionsArg?){
+ var mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
+ var options = plugins.lodash.assign(mergeOptions,optionsArg);
+ console.log(plugins.figlet.textSync(textArg,{
+ font: options.font,
+ horizontalLayout: 'default',
+ verticalLayout: 'default'
+ })[options.color]);
+ return true;
+};
diff --git a/ts/beautylog.node.log.ts b/ts/beautylog.node.log.ts
index a11aa9b..d75e1e5 100644
--- a/ts/beautylog.node.log.ts
+++ b/ts/beautylog.node.log.ts
@@ -1,61 +1,59 @@
-///
-module BeautylogNodeLog {
- export var init = function(){
+///
- var localBl = {
- dirPrefix: plugins.clc.bgXterm(39).xterm(231).bold(' DIR ') + ' ',
- errorPrefix: ' Error: '.bgRed.white.bold + ' ',
- infoPrefix: plugins.clc.bgXterm(198).xterm(231).bold(' INFO ') + ' ',
- normalPrefix: ' Log: '.bgCyan.white.bold + ' ',
- okPrefix: ' '.bgGreen + ' OK! '.bgBlack.green.bold + ' ',
- successPrefix: ' Success: '.bgGreen.white.bold + ' ',
- warnPrefix: ' '.bgYellow + ' Warn: '.bgBlack.yellow.bold + ' '
- };
+import plugins = require("./beautylog.plugins");
- /**
- *
- * @param logText
- * @param logType
- * @returns {boolean}
- */
- var logFunction = function(logText:string = 'empty log', logType:string = 'normal') {
- try {
- switch (logType) {
- case 'dir':
- logText = localBl.dirPrefix + plugins.clc.xterm(26)(logText);
- break;
- case 'error':
- logText = localBl.errorPrefix + logText.red.bold;
- break;
- case 'info':
- logText = localBl.infoPrefix + plugins.clc.xterm(198)(logText);
- break;
- case 'normal':
- logText = localBl.normalPrefix + logText.cyan.bold;
- break;
- case 'ok':
- logText = localBl.okPrefix + logText.bold;
- break;
- case 'success':
- logText = localBl.successPrefix + logText.green.bold;
- break;
- case 'warn':
- logText = localBl.warnPrefix + logText.bold;
- break;
- case 'log':
- default:
- logText.blue.bold;
- console.log(('unknown logType for "' + logText + '"').red.bold);
- break;
- }
- console.log(logText);
- return true;
- }
- catch (error) {
- console.log(localBl.errorPrefix + 'You seem to have tried logging something strange'.red.bold + error);
- return false;
- }
- };
- return logFunction;
+var localBl = {
+ dirPrefix: plugins.clc.bgXterm(39).xterm(231).bold(' DIR ') + ' ',
+ errorPrefix: ' Error: '.bgRed.white.bold + ' ',
+ infoPrefix: plugins.clc.bgXterm(198).xterm(231).bold(' INFO ') + ' ',
+ normalPrefix: ' Log: '.bgCyan.white.bold + ' ',
+ okPrefix: ' '.bgGreen + ' OK! '.bgBlack.green.bold + ' ',
+ successPrefix: ' Success: '.bgGreen.white.bold + ' ',
+ warnPrefix: ' '.bgYellow + ' Warn: '.bgBlack.yellow.bold + ' '
+};
+
+/**
+ *
+ * @param logText
+ * @param logType
+ * @returns {boolean}
+ */
+var logFunction = function(logText:string = 'empty log', logType:string = 'normal') {
+ try {
+ switch (logType) {
+ case 'dir':
+ logText = localBl.dirPrefix + plugins.clc.xterm(26)(logText);
+ break;
+ case 'error':
+ logText = localBl.errorPrefix + logText.red.bold;
+ break;
+ case 'info':
+ logText = localBl.infoPrefix + plugins.clc.xterm(198)(logText);
+ break;
+ case 'normal':
+ logText = localBl.normalPrefix + logText.cyan.bold;
+ break;
+ case 'ok':
+ logText = localBl.okPrefix + logText.bold;
+ break;
+ case 'success':
+ logText = localBl.successPrefix + logText.green.bold;
+ break;
+ case 'warn':
+ logText = localBl.warnPrefix + logText.bold;
+ break;
+ case 'log':
+ default:
+ logText.blue.bold;
+ console.log(('unknown logType for "' + logText + '"').red.bold);
+ break;
+ }
+ console.log(logText);
+ return true;
}
-}
\ No newline at end of file
+ catch (error) {
+ console.log(localBl.errorPrefix + 'You seem to have tried logging something strange'.red.bold + error);
+ return false;
+ }
+};
+export = logFunction;
\ No newline at end of file
diff --git a/ts/beautylog.node.table.ts b/ts/beautylog.node.table.ts
index 6299174..3bc315d 100644
--- a/ts/beautylog.node.table.ts
+++ b/ts/beautylog.node.table.ts
@@ -1,14 +1,10 @@
-///
-module BeautylogNodeTable {
- export var cliTable;
- export function init() {
- cliTable = require("cli-table2");
- var beautylogOsTable:any = {};
+///
+import classes = require("./beautylog.classes");
- beautylogOsTable.new = function(typeArg:string,tableHeadArrayArg?) {
- var newConsoleTable = new ConsoleTable(typeArg,tableHeadArrayArg);
- return newConsoleTable;
- };
- return beautylogOsTable;
- }
-}
\ No newline at end of file
+var beautylogOsTable:any = {};
+
+beautylogOsTable.new = function(typeArg:string,tableHeadArrayArg?) {
+ var newConsoleTable = new classes.ConsoleTable(typeArg,tableHeadArrayArg);
+ return newConsoleTable;
+};
+export = beautylogOsTable;
\ No newline at end of file
diff --git a/ts/beautylog.node.ts b/ts/beautylog.node.ts
index cda82b5..afa6efa 100644
--- a/ts/beautylog.node.ts
+++ b/ts/beautylog.node.ts
@@ -1,71 +1,63 @@
-///
-module BeautylogNode {
- export function init() {
+///
- var beautylogNode:any = {
- log:BeautylogNodeLog.init(),
- code:BeautylogNodeCode.init(),
- figlet:BeautylogNodeFiglet.figlet,
- figletSync:BeautylogNodeFiglet.figletSync
- };
+import log = require("./beautylog.node.log");
+export import table = require("./beautylog.node.table");
+import code = require("./beautylog.node.code");
+import figletModule = require("./beautylog.node.figlet");
- /**
- * logs an directory to console
- * @param logText
- * @returns {boolean}
- */
- beautylogNode.dir = function(logText) {
- return beautylogNode.log(logText, 'dir');
- };
+export let figlet = figletModule.figlet;
+export let figletSync = figletModule.figletSync;
+/**
+ * logs an directory to console
+ * @param logText
+ * @returns {boolean}
+ */
+export let dir = function(logText) {
+ return log(logText, 'dir');
+};
- /**
- * logs an error to console
- * @param logText
- * @returns {boolean}
- */
- beautylogNode.error = function(logText) {
- return beautylogNode.log(logText, 'error');
- };
+/**
+ * logs an error to console
+ * @param logText
+ * @returns {boolean}
+ */
+export let error = function(logText) {
+ return log(logText, 'error');
+};
- /**
- * logs an info to console
- * @param logText
- * @returns {boolean}
- */
- beautylogNode.info = function(logText) {
- return beautylogNode.log(logText, 'info');
- };
+/**
+ * logs an info to console
+ * @param logText
+ * @returns {boolean}
+ */
+export let info = function(logText) {
+ return log(logText, 'info');
+};
- /**
- * logs an 'OK!' message to console
- * @param logText
- * @returns {boolean}
- */
- beautylogNode.ok = function(logText) {
- return beautylogNode.log(logText, 'ok');
- };
+/**
+ * logs an 'OK!' message to console
+ * @param logText
+ * @returns {boolean}
+ */
+export let ok = function(logText) {
+ return log(logText, 'ok');
+};
- /**
- * logs a success to console
- * @param logText string to log as error
- * @returns {boolean}
- */
- beautylogNode.success = function(logText) {
- return beautylogNode.log(logText, 'success');
- };
+/**
+ * logs a success to console
+ * @param logText string to log as error
+ * @returns {boolean}
+ */
+export let success = function(logText) {
+ return log(logText, 'success');
+};
- /**
- * logs a 'warn:' message to console
- * @param logText string to log as error
- * @returns {boolean}
- */
- beautylogNode.warn = function(logText) {
- return beautylogNode.log(logText, 'warn');
- };
-
- beautylogNode.table = BeautylogNodeTable.init();
-
- return beautylogNode;
- }
-}
\ No newline at end of file
+/**
+ * logs a 'warn:' message to console
+ * @param logText string to log as error
+ * @returns {boolean}
+ */
+export let warn = function(logText) {
+ return log(logText, 'warn');
+};
\ No newline at end of file
diff --git a/ts/beautylog.plugins.ts b/ts/beautylog.plugins.ts
index 81cf4f0..9365801 100644
--- a/ts/beautylog.plugins.ts
+++ b/ts/beautylog.plugins.ts
@@ -1,19 +1,16 @@
-///
-module BeautylogPlugins {
- var plugins:any = {};
- export var init = function(){
- plugins = {
- lodash: require("lodash"),
- smartenv: require("smartenv"),
- q: require("q")
- };
- if (plugins.smartenv.getEnv().isNode){
- plugins = plugins.lodash.assign(plugins,{
- colors: require("colors"),
- clc: require("cli-color"),
- figlet: require("figlet")
- });
- }
- return plugins;
- };
-}
\ No newline at end of file
+///
+
+var plugins:any = {
+ lodash: require("lodash"),
+ smartenv: require("smartenv"),
+ q: require("q")
+};
+if (plugins.smartenv.getEnv().isNode){
+ plugins = plugins.lodash.assign(plugins,{
+ cliTable: require("cli-table2"),
+ colors: require("colors"),
+ clc: require("cli-color"),
+ figlet: require("figlet")
+ });
+}
+export = plugins;
\ No newline at end of file
diff --git a/ts/beautylog.promisechain.ts b/ts/beautylog.promisechain.ts
index f0999a9..a37c2a1 100644
--- a/ts/beautylog.promisechain.ts
+++ b/ts/beautylog.promisechain.ts
@@ -1,4 +1 @@
-///
-module BeautylogPromiseChain {
-
-}
\ No newline at end of file
+///
diff --git a/ts/index.ts b/ts/index.ts
index 62f9fbc..9fc7e6a 100644
--- a/ts/index.ts
+++ b/ts/index.ts
@@ -1,28 +1,19 @@
///
-///
-///
-///
-///
-///
-///
-///
-///
-///
-var plugins = BeautylogPlugins.init();
-var beautylog = (function() {
- switch (plugins.smartenv.getEnv().runtimeEnv) {
- case "node":
- var beautylogOs = BeautylogNode.init();
- return beautylogOs;
- break;
- case "browser":
- var beautylogBrowser = BeautylogBrowser.init();
- return beautylogBrowser;
- break;
- default:
- console.log("something is strange about the platform in which you try to use beautylog");
- break;
- }
-})();
-module.exports = beautylog;
+import plugins = require("./beautylog.plugins");
+import BeautylogNode = require("./beautylog.node");
+import BeautylogBrowser = require("./beautylog.browser");
+var beautylog;
+switch(plugins.smartenv.getEnv().runtimeEnv) {
+ case "node":
+ beautylog = BeautylogNode;
+ break;
+ case "browser":
+ beautylog = BeautylogBrowser;
+ break;
+ default:
+ console.log("something is strange about the platform in which you try to use beautylog");
+ break;
+}
+
+export = beautylog;
diff --git a/ts/tsd.json b/ts/tsd.json
deleted file mode 100644
index e31ceb1..0000000
--- a/ts/tsd.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "version": "v4",
- "repo": "borisyankov/DefinitelyTyped",
- "ref": "master",
- "path": "typings",
- "bundle": "typings/tsd.d.ts",
- "installed": {
- "node/node.d.ts": {
- "commit": "efa0c1196d7280640e624ac1e7fa604502e7bd63"
- },
- "colors/colors.d.ts": {
- "commit": "273a567b0a0bcc34cbf2a2470b2febc95796b644"
- }
- }
-}