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

@malysus/krepresentation

v0.4.0

Published

Generate quick representation of keycloak realm configuration based on plantuml

Readme

Keycloak realm graphical representation

The main goal of this project is to generate quick representation of realm configuration based on plantuml. This service would make easier understanding and conception of authentication process with Keycloak.

Table of Contents

Prerequisites

Installing

npm install @malysus/krepresentation -g

Usage

krepresentation -h
or
npx @malysus/krepresentation -h

example:

docker run --rm -d  -p 8180:8080 -e KEYCLOAK_USER=keycloak -e KEYCLOAK_PASSWORD=keycloak jboss/keycloak
krepresentation -u keycloak -p keycloak -s http://localhost:8180 -r master -o example/master.puml -o example/master.png -f "(test|test1)"
code master.puml

Versioning

We use SemVer for versioning.

Changelog

0.4.0

  • Display roles
  • Add legend -k to skip roles generation
  • Group service accounts

0.3.3

  • Update plantuml dependency

0.3.0

  • Support plantuml export (svg|png)
  • fix bugs

0.2.0

  • Add template override -t
  • Add legend -l

0.1.0

  • Manage roles, realm, client
  • Filter default clients and roles
  • Convert description to notes using -n option
  • Add help command
  • Add regexp filter
  • Create a standalone version
  • Add options to filter default clients and roles

TODO

  • Improve roles representation

Limitations

I want to generate huge diagrams!

I want to generate huge diagrams!Back to topEdit using Dokuwiki syntaxEdit using Asciidoc syntaxEdit using Markdown syntax PlantUML limits image width and height to 4096. There is a environment variable that you can set to override this limit: PLANTUML_LIMIT_SIZE. You have to define this variable before launching PlantUML, something like:

set PLANTUML_LIMIT_SIZE=8192 or

setenv PLANTUML_LIMIT_SIZE 8192 Another way is an option in the command line:

java -DPLANTUML_LIMIT_SIZE=8192 -jar /path/to/plantuml.jar ... Note that if you generate very big diagrams, (for example, something like 20 000 x 10 000 pixels), you can have some memory issues. The solution is to add this parameter to the java vm : -Xmx1024m.

Authors

Malys