tcomb-postcss
v1.0.2
Published
Extends the tcomb library with PostCSS irreducible node types.
Downloads
288
Readme
tcomb-postcss
Extends the tcomb
library with PostCSS
irreducible node types.
The following types are added to tcomb:
Usage
var t = require('tcomb-postcss');
var postcss = require('postcss');
var root = postcss.parse('a{}');
t.Root.is(root); // true
t.Rule.is(root.first); // true
t.AtRule.is(root.first); // false