Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions CASP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# CASP - Canvas And SVG Plotter
<div align="center">
<img src="icons/CASP.svg" width="300px" height="auto">
</div>

## Description

A library that plots static charts using DOM manipulation and HTML Canvas. Written in TypeScript and compiled to Vanilla JavaScript. No dependencies and no frameworks, just regular DOM Manipulation. The library has two formats, an NPM Package and Script-Style. The library is efficient, lightweight and highly customizable. Script-Style version has a standalone file for each chart type, allowing it to be tree-shakable.

## Features

## Publish Formats

- NPM Package
- Script-Style JS

## Branches

- **`main`**
NPM Package
- **`web`**
Terser minified script-style plain JS
- **`doc-src`**
Docusaurus Source Code
- **`gh-pages`**
Docusaurus output, CASP website

## Automations

- **`publish`**
- Triggered by pushing a Tag at `main`
- Creates `dist` and realeases to NPM
- Zips NPM
- Parses `dist` to Script-Style JS and push to `web`
- Zips Script-Style JS
- Reads `CHANGELOG` at `main` and extract latest
- Creates release at `main` with the extracted changelog and two zips.
- **`deploy-doc`**
- Triggered by pushing to `doc-src`
- Build website
- Push output to `gh-pages`
- **`deploy`**
- **Default GitHub Pages Workflow**
- deploy `gh-pages` to [devdiggas.github.io/CASP](https://devdiggas.github.io/CASP)
9 changes: 9 additions & 0 deletions icons/CASP.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.