turbo-cartocss

0.5.1 • Public • Published

Turbo CartoCSS

AKA CartoCSS preprocessor

tl;dr Enables adding functions to CartoCSS that can be evaluated asynchronously.

Build Status

TBC.

Limitations

  • TBA

Dependencies

  • Node >=0.10
  • npm >=2.x

Install

To install the rest of the dependencies just run:

npm install

Some examples

Current examples expect to have CartoDB's SQL API running at http://development.localhost.lan:8080/. It should have a publicly accessible populated_places_simple table.

Examples using a cli tool:

$ ./tools/cli.js examples/populated_places.css # will use a dummy datasource, check tools/cli.js source 
$ ./tools/cli.js examples/populated_places.css --datasource sql --query 'select * from populated_places_simple'

Visit examples/index.html, it also .

Tests

Tests suite can be run with:

npm test

That will check code style and run the tests.

TODO

See https://github.com/CartoDB/turbo-cartocss/issues

Readme

Keywords

none

Package Sidebar

Install

npm i turbo-cartocss

Weekly Downloads

1

Version

0.5.1

License

BSD-3-Clause

Last publish

Collaborators

  • cartodb