still keycloak-js but removed credentials
npm install keycloak-js-without-credentials
The documentation can be found in the Keycloak documentation.