Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as svgPath from "https://raw.githubusercontent.com/ycw/svg-path/main/src/mod.ts";

§Classes

LexErr

Lexer error.

Seg abstract

Path segment.

Tk abstract

Token.

§Functions

analyze

Check grammar and re-group tokens.

generate

Generate path data ( string ) from path segments ( Seg[] ).

parse

Convert path data into path segments.

tokenize

Generate tokens from path data.

transform

Transform path segments.

§Interfaces

GenOpt

Generator options.

LexOpt

Lexer options.