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

@makersclub/brandbot-app-login

v1.0.19

Published

BrandBot App Login Web Component - Angular-based authentication component

Readme

BrandBot Login Web Component

A customizable Angular-based web component for authentication with Google, Microsoft, and BrandBot login options.

Installation

npm install @makersclub/brandbot-app-login

Usage

As a Web Component (Recommended)

After installing the package, you can use it directly in any HTML page:

<!DOCTYPE html>
<html>
<head>
    <script src="node_modules/@makersclub/brandbot-app-login/brandbot.login/browser/main.js"></script>
</head>
<body>
    <brandbot-login></brandbot-login>
</body>
</html>

Using CDN

<!DOCTYPE html>
<html>
<head>
    <script src="https://unpkg.com/@makersclub/brandbot-app-login@latest/brandbot.login/browser/main.js"></script>
</head>
<body>
    <brandbot-login></brandbot-login>
</body>
</html>

In a Framework

The component can be used in any framework that supports custom elements:

React

import '@makersclub/brandbot-app-login/brandbot.login/browser/main.js';

function App() {
  return (
    <div>
      <brandbot-login></brandbot-login>
    </div>
  );
}

Vue

<template>
  <brandbot-login></brandbot-login>
</template>

<script>
import '@makersclub/brandbot-app-login/brandbot.login/browser/main.js';

export default {
  name: 'App'
}
</script>

Angular

import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import '@makersclub/brandbot-app-login/brandbot.login/browser/main.js';

@Component({
  selector: 'app-root',
  template: '<brandbot-login></brandbot-login>',
  schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AppComponent { }

Features

  • 🔐 Multiple authentication providers (Google, Microsoft, BrandBot)
  • 🌍 Multi-language support
  • 🎨 Customizable styling
  • 📱 Responsive design
  • ⚡ Lightweight and fast
  • 🔧 Framework agnostic

Events

The component emits custom events that you can listen to:

const loginComponent = document.querySelector('brandbot-login');

// Listen for authentication success
loginComponent.addEventListener('loginSuccess', (event) => {
  console.log('User logged in:', event.detail);
});

// Listen for authentication errors
loginComponent.addEventListener('loginError', (event) => {
  console.log('Login error:', event.detail);
});

Configuration

You can configure the component using attributes:

<brandbot-login 
  language="es"
  theme="dark"
  providers="google,microsoft">
</brandbot-login>

Available Attributes

  • language: Set the interface language (default: 'en')
  • theme: Set the theme ('light' or 'dark')
  • providers: Comma-separated list of enabled providers

Development

This component is built with Angular and compiled as a standalone web component.

Building from Source

git clone https://github.com/Makersclub-Team/brandbot.login.git
cd brandbot.login
npm install
npm run build:npm

Browser Support

  • Chrome 60+
  • Firefox 63+
  • Safari 10.1+
  • Edge 79+

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.

Support

For support, please open an issue on our GitHub repository.