Skip to content

4.0.0

Choose a tag to compare

@IonicaBizau IonicaBizau released this 12 Jun 12:29
· 44 commits to master since this release
  • Added .blah templates.
  • Rewritten the code, almost from scratch.
  • Relicensed under The KINDLY License.
  • Added tests.
  • Replaced strikethrough with strike.

Features

  • Using objects:

    var c = new Couleurs("Hello World");
    c.bg("#somecolor").fg("#fgcolor").bold();
    console.log(c.toString());
  • For a single foreground color:

    console.log(Couleurs("Hello World", "color"));
  • Modifying String prototype

    Couleurs.proto();
    console.log("Hello World".italic().strike());

⭐ 🌟