tcomb-postcss

1.0.2 • Public • Published

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

/tcomb-postcss/

    Package Sidebar

    Install

    npm i tcomb-postcss

    Weekly Downloads

    47

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • jedmao