Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 722 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 722 Bytes

SassTree NPM Version wercker status

⚠️ No longer maintained. Take a look at postcss-scss for an alternative.

SassTree is a JavaScript SCSS parser.

Usage

As a Node module:

var sasstree = require('sasstree');
sasstree.parse('.test { color: red }');

From the command line:

npm install -g sasstree
sasstree <INPUT_FILE>

Development

npm install
./bin/sasstree tests/input.scss