1.0.2 • Published 9 years ago

tcomb-postcss v1.0.2

Weekly downloads
640
License
MIT
Repository
github
Last release
9 years ago

tcomb-postcss

NPM version npm license Travis Build Status AppVeyor Build Status

npm

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