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

@cbs-consulting/generator-btp

v1.2.10

Published

Yeoman generator for bootstrapping CAP/UI5 projects with TypeScript, ESLint, and other essential configurations

Readme

CAP/UI5 Foundation Generator

A Yeoman generator for creating the foundation of CAP/UI5 projects with TypeScript, ESLint, Prettier, and other essential development configurations.

Features

This generator sets up a solid foundation for your CAP/UI5 projects with:

  • TypeScript - Full TypeScript configuration with strict settings
  • ESLint - Code quality and linting rules optimized for TypeScript
  • Prettier - Consistent code formatting
  • Husky - Git hooks for pre-commit quality checks
  • Jest - Testing framework with TypeScript support
  • GitHub Actions - CI/CD pipeline for automated testing and building
  • VS Code - Optimized settings and recommended extensions
  • Docker - Container configuration for deployment (optional)

Installation

First, install Yeoman and this generator globally:

npm install -g yo
npm install -g @cbs-consulting/generator-btp

Or install locally in your project:

npm install --save-dev @cbs-consulting/generator-btp

Usage

This generator is split into two sub-generators.

  1. CAP flow
mkdir my-cap
cd my-cap
yo @cbs-consulting/btp:cap
# read and execute the printed steps shown in the terminal
  1. UI5 flow
mkdir my-ui5
cd my-ui5
# ensure you have a UI5 project skeleton (or after cds init)
yo @cbs-consulting/btp:ui5
# read and execute the printed steps in the terminal

The CAP sub-generator copies all templates from generators/app/templatesCAP into your project and merges additions from generators/app/additionsCAP into existing files. The scripting.txt is shown but not executed automatically.

Generated Project Structure

my-project/
├── src/                     # Source TypeScript files
├── tests/                   # Test files (if Jest is selected)
├── dist/                    # Compiled output (after build)
├── .github/workflows/       # GitHub Actions CI/CD (if selected)
├── .vscode/                 # VS Code settings (if selected)
├── .eslintrc.js            # ESLint configuration
├── .prettierrc             # Prettier configuration
├── .gitignore              # Git ignore rules
├── tsconfig.json           # TypeScript configuration
├── jest.config.js          # Jest configuration (if selected)
├── package.json            # Project dependencies and scripts
└── README.md               # Project documentation

Available Scripts

The generated project includes these npm scripts:

  • npm run build - Compile TypeScript to JavaScript
  • npm run build:watch - Watch mode compilation
  • npm run lint - Run ESLint on your code
  • npm run lint:fix - Fix auto-fixable ESLint issues
  • npm run format - Format code with Prettier
  • npm run format:check - Check if code is properly formatted
  • npm test - Run Jest tests (if enabled)
  • npm run test:watch - Run tests in watch mode
  • npm run test:coverage - Generate test coverage report

Development

To develop this generator locally:

  1. Clone this repository
  2. Install dependencies: npm install
  3. Link the generator: npm link
  4. Test in a new directory: yo @cbs-consulting/btp

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request