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

@sap/create-leanix-custom-report

v3.0.3

Published

Creation tool to quickly create new SAP LeanIX custom reports

Readme

@sap/create-leanix-custom-report

Creating Your First SAP LeanIX Custom Report

Compatibility Note: Requires Node.js >=22.0.0 (excluding 26.0.0).

With NPM:

$ npm create @sap/leanix-custom-report@latest

With Yarn:

$ yarn create @sap/leanix-custom-report

With PNPM:

$ pnpm create @sap/leanix-custom-report

Then follow the prompts!

You can also directly specify the project name via command line:

# npm
npm create @sap/leanix-custom-report@latest my-custom-report

# yarn
yarn create @sap/leanix-custom-report my-custom-report

# pnpm
pnpm create @sap/leanix-custom-report my-custom-report

All projects are created using React with TypeScript, providing a modern, type-safe development experience with excellent IDE support and maintainability.

Authentication uses OAuth via a browser login — no API token required. The npm package name doubles as the report identity in your workspace.

Non-Interactive / CI Usage

Every interactive prompt can be bypassed by passing the corresponding flag. This is useful for CI pipelines, automation scripts, or any environment where stdin is not a TTY.

npm create @sap/leanix-custom-report@latest my-report \
  --title "My Report" \
  --description "A custom report" \
  --overwrite

To skip SAP LeanIX authentication entirely (e.g. for offline creation):

npm create @sap/leanix-custom-report@latest my-report \
  --skipAuth \
  --title "My Report" \
  --description "A custom report"

All available flags

| Flag | Type | Description | | --------------- | ---------- | ---------------------------------------------------------- | | project-name | positional | Directory name for the new project | | --title | string | Title shown in SAP LeanIX when the report is installed | | --description | string | Short description of the report | | --proxyURL | string | HTTP/S proxy URL — also suppresses the proxy toggle prompt | | --overwrite | boolean | Overwrite target directory if it already exists | | --skipAuth | boolean | Skip SAP LeanIX authentication entirely | | --help | boolean | Print this flag reference and exit |

Any flag that is omitted will fall back to its interactive prompt, so partial automation is fully supported.

Authentication and lxr.json

Credentials are stored in lxr.json. The tools look for this file at two levels:

  1. Project-level (./lxr.json in the current working directory) — takes precedence. Useful for workspace-specific credentials.
  2. User-level (~/.leanix/lxr.json on macOS/Linux, %APPDATA%\leanix\lxr.json on Windows) — shared across all reports on the machine.

The login command always writes to the user-level file. If a project-level lxr.json is present, it is used instead for all operations in that directory.

Always add lxr.json to your .gitignore — the file contains OAuth tokens and client secrets.