{"id":20747605,"url":"https://github.com/s3pweb/keycloak-admin-client-cjs","last_synced_at":"2025-10-05T05:19:11.740Z","repository":{"id":65016017,"uuid":"580747964","full_name":"s3pweb/keycloak-admin-client-cjs","owner":"s3pweb","description":"Keycloak Admin Client compiled in CommonJS.","archived":false,"fork":false,"pushed_at":"2025-03-19T08:40:34.000Z","size":264,"stargazers_count":21,"open_issues_count":1,"forks_count":15,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T19:48:54.514Z","etag":null,"topics":["commonjs","keycloak","nestjs"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s3pweb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-21T10:51:06.000Z","updated_at":"2025-03-30T16:54:45.000Z","dependencies_parsed_at":"2024-06-19T04:01:39.834Z","dependency_job_id":"051eb913-ff38-405a-87d1-3ed110dc06fa","html_url":"https://github.com/s3pweb/keycloak-admin-client-cjs","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":"0.17647058823529416","last_synced_commit":"d4969c5651f963bddd731f77e5a366cf958ee1cf"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3pweb%2Fkeycloak-admin-client-cjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3pweb%2Fkeycloak-admin-client-cjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3pweb%2Fkeycloak-admin-client-cjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s3pweb%2Fkeycloak-admin-client-cjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s3pweb","download_url":"https://codeload.github.com/s3pweb/keycloak-admin-client-cjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311332,"owners_count":21569008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commonjs","keycloak","nestjs"],"created_at":"2024-11-17T08:13:49.934Z","updated_at":"2025-10-05T05:19:11.735Z","avatar_url":"https://github.com/s3pweb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keycloak Admin Client in CommonJS\n\nThis lib exports the [@keycloak/keycloak-admin-client](https://www.npmjs.com/package/@keycloak/keycloak-admin-client) \n(an ECMA Script module) as a CommonJS module, so it can be used in NestJS.\n\nThis repo is based on an idea by [Manuelbaun](https://github.com/Manuelbaun) on this issue https://github.com/keycloak/keycloak-nodejs-admin-client/issues/523\n\nThe version number of this repo will follow the version number of @keycloak/keycloak-admin-client.\n\n## Install\n\n```shell\nnpm i @s3pweb/keycloak-admin-client-cjs\n```\n\n## Usage\n\n```ts\nimport { KeycloakAdminClient } from '@s3pweb/keycloak-admin-client-cjs';\n\n@Injectable()\nexport class KeycloakService {\n    private readonly kcAdminClient: KeycloakAdminClient;\n\n    constructor(logger: LoggingService) {\n        this.log = logger.getLogger(KeycloackService.name);\n        this.kcAdminClient = new KeycloakAdminClient();\n    }\n\n}\n```\n\n## How to release\n\nFirst, compile and build the project:\n\n```shell\nnpm i\nnpm run prepublish\n```\n\nTo release a new version, you can use the `release` script with the keycloak-admin-client version as an argument:\n\n```shell\nnpm run release -- --release-as \u003cNEW_VERSION\u003e\n```\n\nThen push the changes and the new tag to the main branch:\n\n```shell\ngit push origin main --follow-tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs3pweb%2Fkeycloak-admin-client-cjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs3pweb%2Fkeycloak-admin-client-cjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs3pweb%2Fkeycloak-admin-client-cjs/lists"}