<commit_before>cartocss2leaflet
================

A node module for converting CartoCSS map styles to Leaflet styles.


Usage
-----

You can use it as a module or as a command line script. To do the latter, clone
this repo, `npm install -g` and invoke the script:

    cartocss2leaflet <file>


TODO
----

 * zoom (https://github.com/mapbox/carto/blob/master/lib/carto/tree/zoom.js#L112-L118)
 * variables
 * :: attachments
 * command line script


Contributing
------------

All code changes should be made in `src/index.js` and compiled using Babel into
the resulting `index.js`. Run `npm run watch` while editing to continuously
compile using Babel.


License
-------

MIT.<commit_msg>WON'T DO<commit_after>cartocss2leaflet
================

A node module for converting CartoCSS map styles to Leaflet styles.


Usage
-----

You can use it as a module or as a command line script. To do the latter, clone
this repo, `npm install -g` and invoke the script:

    cartocss2leaflet <file>


TODO
----

 * zoom (https://github.com/mapbox/carto/blob/master/lib/carto/tree/zoom.js#L112-L118)
 * variables
 * :: attachments
 * command line script


WON'T DO
--------

The plan is to support only those CartoCSS properties that map onto the
Leaflet's SVG path properties. As such, there is no plan to support the 
following properties:

 * `background-*`
 * `building-*`
 * `comp-op`
 * `point-*`
 * `raster-*`
 * `shield-*`
 * `text-*`


Contributing
------------

All code changes should be made in `src/index.js` and compiled using Babel into
the resulting `index.js`. Run `npm run watch` while editing to continuously
compile using Babel.


License
-------

MIT.
{'fraction_non_alphanumeric': 0.13975903614457832, 'fraction_numerical': 0.00963855421686747, 'mean_word_length': 3.1838790931989926, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '996712', 'n_tokens_mistral': 546, 'n_tokens_neox': 504, 'n_words': 197}