parsers/native

Module: parsers/native

A module that exposes a single function for parsing CanvasNative text into line objects

(require("parsers/native"))(native) → {Array.<Type>}

Parse a CanvasNative-formatted string and return an array of line objects.

Parameters
Name Type Description
native string

The native text to parse

Returns

An array of CanvasNative line objects

Type
Array.<Type>