postcss-day

1.0.0 • Public • Published

postcss-day

PostCSS plugin to acknowledge that another CSS Day went by, how many days until the next edition and to give you a bitterbal.

Installation

npm install postcss-day

Quick Start

Example 1:

import fs from "fs";
import postcss from "postcss";
import cssday from "postcss-day";

const css = fs.readFileSync("input.css", "utf8");

const output = postcss().use(cssday()).process(css).css;

console.log("\n====>Output CSS:\n", output);

Or just:

const output = postcss(cssday()).process(css).css;

input.css:

body {
  color: rebeccapurple;
}

You will get:

body {
  color: rebeccapurple;
}

This plugin doesn't do anything to your CSS! Just check your CLI output.


PS

Please remind me to update the dates when needed.

Package Sidebar

Install

npm i postcss-day

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.08 kB

Total Files

4

Last publish

Collaborators

  • mrtnvh