Test Now: @briklab/parsee
Use this page when you want to validate parsing output quickly.
Fast Start (pnpm)
bash
mkdir parsee-test
cd parsee-test
pnpm init
pnpm add @briklab/parseeQuick Smoke Test
Create index.mjs:
js
import { parseWithTsMorph } from "@briklab/parsee";
const source = `
export const version = "1.0.0";
export function sum(a: number, b: number) { return a + b; }
`;
const result = parseWithTsMorph(source, "demo.ts", {
Name: "include",
Type: "include",
Arguments: "include"
});
console.log(result);Run:
bash
node index.mjsWhat To Expect
You should get an array of parsed items (for example VariableItem, FunctionItem) with metadata based on ParseOptions.
Live Demo
Live parsee Parse
Paste TS/JS and parse it directly from this page.
Run to see parsed output.