extwee
Version:
A story compiler tool using Twine-compatible formats
10 lines (9 loc) • 363 B
TypeScript
/**
* Parses Twee 3 text into a Story object.
* @see {@link https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md Twee 3 Specification}
* @function parse
* @param {string} fileContents - File contents to parse
* @returns {Story} story
*/
export function parse(fileContents: string): Story;
import { Story } from '../Story.js';