common-graphics
Graphics utilities for the Kalisio ekosystem
Overview
common-graphics is a lightweight library that provides graphics utilities that work in both browsers and Node.js.
It is organized around 2 modules:
- utilities — general purpose utility functions
- shapes — build marker shapes and render them as SVG or PNG.
Installation
Install with your preferred package manager:
bash
pnpm add @kalisio/common-graphicsbash
npm install @kalisio/common-graphicsbash
yarn add @kalisio/common-graphicsOr use it directly from a CDN:
html
<script type="module">
import { shapes } from 'https://unpkg.com/@kalisio/common-graphics/dist/index.es.js'
</script>