This repository has been archived by the owner. It is now read-only.
🌳 An SCSS AST parser built in JavaScript.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
tests
.editorconfig
.gitignore
.npmignore
README.md
favicon.ico
index.html
package.json
wercker.yml

README.md

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