JSPM

tcomb-postcss

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q64535F
  • License MIT

Extends the tcomb library with PostCSS irreducible node types.

Package Exports

  • tcomb-postcss

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tcomb-postcss) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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