@recital/stage-parser
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Stage Parser

Script parser for Recital. Converts the Recital document format into a list of scenes with MDX content, which can then be converted into dynamic or interactive stories.

Usage

import { parse } from '@recital/stage-parser'

const scenes = parse(text);

for (let scene of scenes) {
    const { frontmatter, text } = scene
    // handle the scene how you want here
}

Readme

Keywords

none

Package Sidebar

Install

npm i @recital/stage-parser

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

713 kB

Total Files

82

Last publish

Collaborators

  • amorphous