Skip to content

Getting started (TypeScript)


First, install the Bebop runtime:

Terminal window
npm add bebop

Followed by the Bebop compiler:

Terminal window
npm add bebop-tools

Next, init your project:

Terminal window
npx bebopc init

Open the generated bebop.json file and add a TypeScript generator:

"include": [
"generators": {
"ts": {
"outFile": "src/bops.gen.ts"

Now, you can compile your Bebop schemas to TypeScript:

Terminal window
npx bebopc build