Socket
Socket
Sign inDemoInstall

kosmtik-magnacarto

Package Overview
Dependencies
27
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kosmtik-magnacarto

Kosmtik plugin to support Magnacarto renderer


Version published
Maintainers
1
Created

Readme

Source

kosmtik-magnacarto

Support for the Go implementation of CartoCSS (Magnacarto) for Kosmtik. This implementation is available as a native extension for Node.js. Currently the native extension is available for Linux and MacOS X systems only and is still considered experimental.

Magnacarto is much faster than Carto, but may not support the full range of features. However, the feature set is very close to the JavaScript reference implementation.

Benchmark

Due to the internal use of Go vs. JavaScript Magnacarto is much faster in parsing complex stylesheets. For openstreetmap-carto the difference is as large as 1.24s for Magnacarto vs. 10.08s for Carto (January 2016).

Install

While in your Kosmtik root, run:

node index.js plugins --install kosmtik-magnacarto

Usage

Specify the alternate renderer with the --renderer command line option. E.g.:

node index.js serve --renderer magnacarto ...

Keywords

FAQs

Last updated on 03 Apr 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc