/pretty

A wrapper for browsers that support console.log css stylings

Primary LanguageJavaScriptMIT LicenseMIT

Pretty

Pretty styles console log output in browsers.

API

  • log(text, [Array of colors], [Array of sizes])

Usage

https://cdn.jsdelivr.net/gh/EddieCornelious/pretty/pretty.js

Pretty.log("Black and Yellow", ["black", "yellow"], ["25px", "30px"]);

Pretty.log("USA! USA!", ["red", "silver", "blue"]);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Follow the link below to see the project in action :

https://codepen.io/anon/pen/pqLXWY?editors=0010