@cassolette/luahelpparser
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

luahelpparser

Parser for LuaHelp, an API documentation for the Lua tree from Transformice. Produces an abstract syntax tree (AST)-like object representing the LuaHelp output.

Example usage

import { promises as fsp } from "fs";
import { parse } from "@cassolette/luahelpparser";

const luaHelpAst = parse(
    (await fsp.readFile("./luahelp.txt")).toString()
);

console.log(JSON.stringify(luaHelpAst, null, 2));

Readme

Keywords

none

Package Sidebar

Install

npm i @cassolette/luahelpparser

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

40 kB

Total Files

22

Last publish

Collaborators

  • cassolette