Skip to content

Installing @briklab/parsee

Follow the common installation tutorial

This tutorial provides comprehensive instructions on how to install @briklab/parsee and other BrikLab packages.

Quick Install

Using pnpm

bash
pnpm add @briklab/parsee

Using npm

bash
npm install @briklab/parsee

Verify Installation

Test that the installation was successful by importing the parser:

ts
import { parseWithTsMorph } from "@briklab/parsee";

const source = `export const hello = "world";`;
const items = parseWithTsMorph(source, "test.ts", { Name: "include" });

console.log("@briklab/parsee installed successfully!");
console.log(items.length); // Should be 1

Next Steps