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

zee.athena

v2.2.0

Published

Knowledge center component for Zee.Dog projects

Readme

Athena

Knowledge center component for Zee.Dog projects

Motivation

Nós da Zee.Dog desenvolvemos esse componente com o intuito de usa-lo em diferentes projetos da Zee.Dog ou até mesmo em projetos a parte, pois ele também pode ser customizável para poder usar outros botões além dos padrões da Zee.Dog.

Installing / Getting started

NPM: npm install --save zee.athena
Yarn: yarn add zee.athena

Developing

Built With

Usage

// ES6 Modules or TypeScript
import Athena from 'zee.athena';
Athena.init();

// CommonJS
const Athena = require('zee.athena');
Athena.init();

Examples

Default buttons

Starting component

OBS: Por padrão ele inicia o componente em inglês e com todos os botões padrões incluídos.

Athena.init();

Customizing

Para alterar a linguagem do componente para português é preciso usar o seguindo trecho de código:

Athena.init({ language: 'pt-br' });

Para customizar o botão inicial de ajuda que faz abrir a lista de botões, passar um objeto onde irão conter as propriedades que customizam o botão principal:

Athena.init({ mainButtonStyle: {
 title: 'Help',
 icon: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18.3 12.8"><path d="M1.4.038c-.2 0-.4.1-.6.1l7.7 7.8c.4.4.9.4 1.3 0l7.8-7.8c-.2-.1-.4-.1-.6-.1H1.4zm16.8.7l-5.8 5.9 5.8 5.4c.1-.2.1-.4.1-.6v-10.1c0-.2 0-.4-.1-.6zM.1.738c-.1.2-.1.4-.1.6v10.1c0 .2 0 .4.1.6l5.8-5.4L.1.738zm11.6 6.6l-1.3 1.3c-.7.7-1.9.7-2.6 0l-1.3-1.3-5.8 5.4c.2.1.4.1.6.1h15.6c.2 0 .4 0 .6-.1l-5.8-5.4z"></path></svg>',
 configStyleButton: {
   backgroundColor: 'black',
   backgroundColorHover: 'black',
   fontColor: 'white',
   colorIcon: 'white'
 },
} });

Se você não quiser usar os botões padrão já inseridos pelo componente e usar outros a sua escolha, é só usar o seguinte trecho de código, você pode usar true ou false, onde true mostram todos e false não mostra nenhum:

Athena.init({ showAllButtons: false }); //Não mostra nenhum dos botões padrão.
Athena.init({ showAllButtons: true }); //Mostra todos botões padrão.

Para customizar os botões padrão, você pode retirar alguns botões padrão, ou customiza-los, passando um array com as configurações de cada um em um objeto:

  Athena.init({showAllButtons: false, configButtons: [
    {
      type: 'size',
      show: true,
      classButton: 'sizes',
      configStyleButton: {
        backgroundColor: '#37474f',
        backgroundColorHover: '#90a4ae',
        colorIcon: '#0091ea',
      },
    }
  ]});

Para usar seus próprios botões e e seus próprios conteúdos, usar o seguinte trecho de código, passando um array contendo os botões que serão usados:

Athena.init({ showAllButtons: false, newButtons: [
 {
   title: 'teste',
   icon: 'teste',
   classButton: 'test',
   template: `
   <section class="test-content inner__content">
     <header class="custom-content__header">
       <h6 class="title">Custom Element</h6>
     </header>
     <section class="custom-content__body">
       <p>Custom Text</p>
     </section>
   </section>
 `,
   configStyleButton: {
     backgroundColor: '#00796b',
     backgroundColorHover: '#26a69a',
     fontColor: '#00b0ff',
   },
 },
 {
   title: 'teste2',
   icon: 'teste2',
   classButton: 'test2',
   template: `
   <section class="test2-content inner__content">
     <header class="custom-content__header">
       <h6 class="title">Custom Element2</h6>
     </header>
     <section class="custom-content__body">
       <p>Custom Text</p>
     </section>
   </section>
 `,
   configStyleButton: {
     backgroundColor: '#2196f3',
     backgroundColorHover: '#4caf50',
   },
 },
 {
   title: 'teste3',
   icon: 'teste3',
   classButton: 'test3',
   template: `
   <section class="test3-content inner__content">
     <header class="custom-content__header">
       <h6 class="title">Custom Element2</h6>
     </header>
     <section class="custom-content__body">
       <p>Custom Text</p>
     </section>
   </section>
   `,
 },
]});

Browser compatibility