A node module for converting CartoCSS map styles to JSON.
This is a first step toward converting CartoCSS to other formats (eg, Leaflet styles), what is returned is a simplified parse tree of the CartoCSS.
You can use it as a module or as a command line script. To do the latter, clone
npm install -g and invoke the script:
cartocss2json < <file>
All code changes should be made in
src/index.js and compiled using Babel into
npm run watch while editing to continuously
compile using Babel.