SWF Tree (Typescript) Typescript implementation of the SWF Abstract Syntax Tree (AST). Usage # Run as a simple user npm install -S swf-tree import {readFileString} from "fs";import {Movie} from "swf-tree"; // Deserializeconst jsonString: string = readFileString("ast.json").toString("utf8");const parsedJson: Movie.Json = JSON.parse(jsonString);const movie: Movie = Movie.Type.read("json", parsedJson); // Serializeconst emittedJson: Movie.Json = Movie.Type.write("json", movie);console.log(JSON.stringify(jsonMovie, null, 2));