SAP LeanIX custom report tools: command line interface to initialize, develop and upload custom reports for LeanIX Enterprise Architecture Management.
@lxr/core- Core utilities and types for SAP LeanIX reporting@sap/create-leanix-custom-report- Scaffolding tool to quickly bootstrap new SAP LeanIX custom reports@sap/vite-plugin-leanix-custom-report- Vite plugin for fast development with hot reload and seamless deployment
- 🚀 Fast development with Vite's hot module replacement
- 📦 Automatic bundling and optimization for LeanIX reports
- 🔧 Built-in TypeScript support
- 📤 One-command deployment to LeanIX workspace
- 🎯 Framework agnostic (works with vanilla JS, React, Vue, etc.) but provides
react/react-tstemplate out of the box
For detailed documentation on each package see:
- @sap/vite-plugin-leanix-custom-report - Vite plugin documentation
- @sap/create-leanix-custom-report - Project scaffolding documentation
- Node.js 24+ and npm/yarn/pnpm
- A SAP LeanIX workspace with API access
- A valid SAP LeanIX API token
You can either use published artifacts (on npmjs.com) or build and use the tools manually.
Install all depepdencies using npm install and
npm run create-custom-report-localThis script will:
- Build all packages
- Run the @sap/create-leanix-custom-report scaffolding tool (and create a scaffolded report in
../REPORT_NAME) - Automatically link the local @sap/vite-plugin-leanix-custom-report to your new project
Create a folder/repository and install the tools from npmjs.com. Use:
# npm
npm create @sap/leanix-custom-report@latest
# yarn
yarn create @sap/leanix-custom-report
# pnpm
pnpm create @sap/leanix-custom-reportto scaffold the report.
This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.
Always ensure to add lxr.json to your .gitignore to avoid committing sensitive credentials like API tokens.
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright 2026 SAP SE or an SAP affiliate company and leanix-custom-report-tools contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.