npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-baml-app

v1.0.7

Published

<p align="center"> <img src="https://github.com/ashayas/create-baml-app/raw/master/.github/assets/lamb.png" width="250" alt="Create BAML App"/> </p>

Readme

Create BAML App 🐑

A CLI tool to set up a BAML project with your preferred language and package manager. BAML is the AI framework from Boundary ML that adds engineering to prompt engineering.

What is BAML? 🤔

BAML (Basically A Made-up Language) is a programming language for building AI applications. It provides:

  • Type-safe structured outputs from LLMs
  • Robust JSON parsing (fixes broken JSON, trailing commas, etc.)
  • Function-calling for every model
  • Support for multiple programming languages
  • Better prompt management

BAML lets you define schema classes and functions that can be called from your preferred language (Python, TypeScript, Ruby, and more).

Installation & Usage 🚀

Create a new BAML project using npx:

# Create a new project with interactive prompts
npx create-baml-app

# Create a new project in a specific directory
npx create-baml-app my-baml-app

# Create a new project in the current directory
npx create-baml-app my-baml-app --use-current-dir
# or
npx create-baml-app my-baml-app -.

# Show help menu
npx create-baml-app --help

When using the interactive prompts:

  • Enter your project name (defaults to 'my-app')
  • Use "." to create the project in the current directory
  • Or enter a name to create a new directory

The CLI will then:

  1. Create a new directory for your project (unless "." or --use-current-dir is specified)
  2. Help you select a programming language (Python, TypeScript, Ruby)
  3. Choose your preferred package manager
  4. Set up a complete BAML project structure

Supported Languages and Package Managers 🛠️

Python

  • pip: Standard Python package manager
    • Requires: Python installed on your system
  • poetry: Modern Python dependency management
  • uv: Fast Python package installer
    • Requires: uv installed

TypeScript

  • npm: Standard Node.js package manager
  • pnpm: Fast, disk space efficient package manager
    • Requires: pnpm installed
  • yarn: Alternative Node.js package manager
    • Requires: Yarn installed
  • deno: Secure runtime for JavaScript and TypeScript
    • Requires: Deno installed
    • Note: For Deno in VSCode, add { "deno.unstable": ["sloppy-imports"] } to your settings

Ruby

  • bundle: Ruby's package manager

Project Structure 📁

After running create-baml-app, you'll have a basic BAML project with:

  • The BAML CLI installed
  • Basic project structure with configuration files
  • Initial BAML source files

Development Workflow 🧑‍💻

  1. Write BAML function definitions in .baml files
  2. Generate client code with baml-cli generate
  3. Import and use the generated code in your application

Resources 📚

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request.

License 📄

This project is licensed under the MIT License. See the LICENSE file for details.