Skip to content

lexich/postcss-stream

Repository files navigation

Work in progress

PostCSS Stream Build Status

PostCSS plugin add support stream.

Add support to postcss stream api.

const postcssStream = require('postcss-stream');

const stream1 = postcssStream.createStream({
  // select only nodes with type="decl" prop="color" value="red"
  decl: {
      prop: "color",
      value: "red",
      enter(decl) {
        decl.value = "green";
      }
  }
});

postcssStream([
  stream, ...
]);

Documentation in process.

##Reimplementation existing postcss-plugins: Original: postcss-color-function
Stream: postcss-color-function

Original: postcss-grid
Stream: postcss-grid

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published