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

parse

import { parse } from "https://raw.githubusercontent.com/ycw/svg-path/main/src/mod.ts";

Convert path data into path segments.

function parse(d: string, opt?: LexOpt): Seg[];
§
parse(d: string, opt?: LexOpt): Seg[]
[src]

§Parameters

§
d: string
[src]

Path data.

§
opt?: LexOpt optional
[src]

Lexer options.

§Return Type

§

Array of path segments.