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

@aether-baas/cli

v3.2.0

Published

CLI oficial para gerenciar projetos Aether - Enterprise Ready com CI/CD

Readme

@aether-baas/cli

CLI oficial para gerenciar projetos Aether - Enterprise Ready com CI/CD

npm version License

🚀 Instalação

# Instalação global
npm install -g @aether-baas/cli

# Ou via npx (sem instalação)
npx @aether-baas/cli <comando>

📋 Comandos

Autenticação

# Login interativo
aether login

# Ver status da sessão
aether whoami

# Logout
aether logout

Projetos

# Vincular pasta a um projeto
aether link

# Ver configuração atual
aether config --show

# Configurar API URL (opcional)
aether config --api-url https://api.aether.app

Functions

# Fazer deploy de todas as functions
aether deploy

# Deploy em paralelo (mais rápido)
aether deploy --parallel

# Listar functions do projeto
aether list

# Ver logs
aether logs

# Executar function manualmente
aether invoke <nome-da-function>

# Deletar function
aether delete <nome-da-function>

🔐 CI/CD (GitHub Actions, GitLab, etc.)

O CLI suporta autenticação via Service API Key para pipelines automatizados:

# .github/workflows/deploy.yml
name: Deploy Aether Functions

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      
      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'
      
      - name: Deploy to Aether
        env:
          AETHER_SERVICE_KEY: ${{ secrets.AETHER_SERVICE_KEY }}
          AETHER_PROJECT_ID: ${{ secrets.AETHER_PROJECT_ID }}
        run: npx @aether-baas/cli deploy

Variáveis de Ambiente

| Variável | Descrição | |----------|-----------| | AETHER_SERVICE_KEY | API Key do projeto (substitui login) | | AETHER_PROJECT_ID | ID do projeto (substitui aether.json) | | AETHER_API_URL | URL da API (opcional) |

📁 Estrutura do Projeto

my-project/
├── aether.json          # Configuração do projeto
├── functions/           # Pasta das functions
│   ├── onNewUser.ts
│   ├── sendEmail.ts
│   └── processPayment.ts
└── ...

aether.json

{
    "projectId": "seu-project-id",
    "functions": "functions"
}

🔧 Configuração

Prioridade de Autenticação

  1. AETHER_SERVICE_KEY (env var) - CI/CD
  2. AETHER_ACCESS_TOKEN (env var)
  3. Token salvo via aether login

Prioridade de Project ID

  1. AETHER_PROJECT_ID (env var) - CI/CD
  2. aether.json na pasta atual
  3. Projeto linkado via aether link
  4. Config global do CLI

📝 Exemplo de Function

// functions/onNewUser.ts
export default async function(context: AetherContext) {
    const { data, db, push } = context;
    
    // Salvar no banco
    await db.collection('welcome_emails').create({
        userId: data.userId,
        sentAt: new Date()
    });
    
    // Enviar push notification
    await push.send({
        to: data.userId,
        title: 'Bem-vindo!',
        body: 'Obrigado por se cadastrar'
    });
    
    return { success: true };
}

🆘 Suporte

📄 Licença

ISC © Aether BaaS