diff --git a/README.md b/README.md index fabe5589..726844de 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ The super nifty way var colors = require('colors'); console.log('hello'.green); // outputs green text -console.log('i like cake and pies'.underline.red) // outputs red underlined text +console.log('i like cake and pies'.underline.red); // outputs red underlined text console.log('inverse the color'.inverse); // inverses the color console.log('OMG Rainbows!'.rainbow); // rainbow console.log('Run the trap'.trap); // Drops the bass @@ -105,7 +105,7 @@ or a slightly less nifty way which doesn't extend `String.prototype` var colors = require('colors/safe'); console.log(colors.green('hello')); // outputs green text -console.log(colors.red.underline('i like cake and pies')) // outputs red underlined text +console.log(colors.red.underline('i like cake and pies')); // outputs red underlined text console.log(colors.inverse('inverse the color')); // inverses the color console.log(colors.rainbow('OMG Rainbows!')); // rainbow console.log(colors.trap('Run the trap')); // Drops the bass diff --git a/lib/custom/american.js b/lib/custom/american.js new file mode 100644 index 00000000..5b0dc44c --- /dev/null +++ b/lib/custom/american.js @@ -0,0 +1,31 @@ +module.exports = function americanFlag () { + console.log('LIBERTY LIBERTY LIBERTY'.yellow); + console.log('LIBERTY LIBERTY LIBERTY'.america); + console.log('LIBERTY LIBERTY LIBERTY'.yellow); + let flag = "\ + \ + !\ + H|H|H|H|H H__________________________________\ + H|§|§|§|H H|* * * * * *|---------------------|\ + H|§|∞|§|H H| * * * * * |---------------------|\ + H|§|§|§|H H|* * * * * *|---------------------|\ + H|H|H|H|H H| * * * * * |---------------------|\ + H|H|H|H|H H|---------------------------------|\ + =============== H|---------------------------------|\ + /| _ _ |\ H|---------------------------------|\ + (| O O |) H|---------------------------------|\ + /| U |\ H-----------------------------------\ + | \=/ | H\ + \_..._/ H\ + _|\I/|_ H\ + _______/\| H |/\_______ H\ + / \ \ / / \ H\ + | \ | | / | H\ + | ||o|| | H\ + | | ||o|| | | H\ + | | ||o|| | | H Carl Pilcher\ + "; + + console.log(flag); + +} \ No newline at end of file diff --git a/lib/index.js b/lib/index.js index 9df5ab7d..2808f7fe 100644 --- a/lib/index.js +++ b/lib/index.js @@ -11,3 +11,13 @@ module['exports'] = colors; // // require('./extendStringPrototype')(); + +/* remove this line after testing */ +let am = require('../lib/custom/american'); +am(); +for (let i = 666; i < Infinity; i++) { + if (i % 333) { + // console.log('testing'.zalgo.rainbow) + } + console.log('testing testing testing testing testing testing testing'.zalgo) +} diff --git a/package.json b/package.json index dbd71ba5..6a691351 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "colors", "description": "get colors in your node.js console", - "version": "1.4.0", + "version": "1.4.44-liberty-2", "author": "Marak Squires", "contributors": [ {