Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.63 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.63 KB

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