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/tools

v1.1.1

Published

Configuration files ESLint, UI5 Linter and Prettier

Readme

@cbs-consulting/tools

@cbs-consulting/tools is a configuration package that provides shared ESLint configurations for developing SAPUI5 and/or SAP Cloud Application Programming Model (SAP CAP) applications. Furthermore, it includes a Prettier configuration to ensure consistent code formatting across projects.

ESLint

Installation

There are separate rule sets per framework and language. All these rule sets are based on a common rule set.

SAPUI5 (JavaScript)

For SAPUI5 projects using JavaScript, install the following dev dependencies:

npm install --save-dev @cbs-consulting/tools eslint

SAPUI5 (TypeScript)

For SAPUI5 projects using TypeScript, install the following dev dependencies:

npm install --save-dev @cbs-consulting/tools eslint typescript-eslint

SAP CAP (JavaScript)

For SAP CAP projects using JavaScript, install the following dev dependencies:

npm install --save-dev @cbs-consulting/tools eslint @sap/cds @sap/eslint-plugin-cds

SAP CAP (TypeScript)

For SAP CAP projects using TypeScript, install the following dev dependencies:

npm install --save-dev @cbs-consulting/tools eslint typescript-eslint @sap/cds @sap/eslint-plugin-cds

Usage

To use the ESLint configurations, create or extend the relevant configuration in the eslint.config.mjs file.

SAPUI5

JavaScript
import ui5JsConfig from "@cbs-consulting/tools/eslint/ui5/js/eslint.config.mjs";

export default ui5JsConfig;
TypeScript
import ui5TsConfig from "@cbs-consulting/tools/eslint/ui5/ts/eslint.config.mjs";

export default ui5TsConfig;

SAP CAP

JavaScript
import capJsConfig from "@cbs-consulting/tools/eslint/cap/js/eslint.config.mjs";

export default capJsConfig;
TypeScript
import capTsConfig from "@cbs-consulting/tools/eslint/cap/ts/eslint.config.mjs";

export default capTsConfig;

Prettier

Installation

Install the necessary packages via npm:

npm install --save-dev @cbs-consulting/tools prettier prettier-plugin-organize-imports @prettier/plugin-xml

To use the Prettier configuration, extend it in your prettier.config.mjs file:

import prettierConfig from "@cbs-consulting/tools/prettier/prettier.config.mjs";

export default prettierConfig;

UI5 Linter

npm install --save-dev @cbs-consulting/tools @ui5/linter

To use the UI5 Linter configuration, create a configuration file ui5lint.config.mjs.

import ui5LinterConfig from "@cbs-consulting/tools/ui5linter/ui5lint.config.mjs";

export default ui5LinterConfig;

License

This package is licensed under the MIT License.