open-index/open-npm huggingface dataset:
npm package: @fire-ngx/auth
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.8.
Author: Artur Sobolewski
Latest version: 1.0.8

# @fire-ngx/auth

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.8.

## Description

Library that contains a service to help:

1. Log in using @angular/fire library.
2. Sync users details with firestore.
3. Extracts errors to AuthErrorHandlerService. // You can export FireNgxAuthModule and replace AuthErrorHandlerService provider in a module. In auth-error-codes-enum.ts file you have all error codes library can throw so you can translate them.  This is a future to conect with @fire-ngx/error library.

## Installation

Node Package Manager:
```shell
npm install @fire-ngx/auth
```

Some module in Angular project:
```shell
  imports: [
    AngularFireModule.initializeApp(environment.firebaseConfig),
    AngularFirestoreModule,
    AngularFireAuthModule,
    FireNgxAuthModule.forRoot({ enableFirestoreSync: true, syncUserInService: false, enableAuthErrorService: false }),
  ],
```

enableFirestoreSync - If true library will use AuthSyncService to save user details in firestore. You can replace User class in module so you can make your own user details. User class in my project contain firebase.UserInfo and one extra accDeleted value so for example if user order some thing in a shoop and delete account you still can get user details. Don't know are it is an good practice to do like this.

syncUserInService - If true AuthService in constructor will check are user is signed in and assign to $user observable variable. You may want to observ user in other way. to do that you can set it to false and use syncUser() function to get Observable<User | firebase.User>. You getting User when enableFirestoreSync is true and firebase.User if false.

enableAuthErrorService - If true and you didn't replace AuthErrorHandlerService will throw an error to do that cause it's empty. In a future @fire-ngx/error will replace it.

## Usage

In project/auth-test there is an example application.

github: [https://github.com/mises543/fire-ngx-auth](https://github.com/mises543/fire-ngx-auth)
npm package: @fire-t/tiny
Description: remove all spaces from a string
Latest version: 3.2.2


![](https://img.shields.io/badge/npm-%40fire--t%2Ftiny-brightgreen)
# tiny
remove  spaces from a string 

# Usage
```
const tiny = require("fire-t/tiny");
const str = "tom and jerry"
tiny(str) //tomandjerry
```
npm package: @fire-zu/billclaw-core
Description: BillClaw Core - Framework-agnostic business logic for financial data import
Author: fire-zu
Latest version: 0.1.3

# @fire-zu/billclaw-core

Framework-agnostic core business logic for BillClaw financial data import.

## Overview

This package contains all core functionality with zero dependencies on any AI framework (OpenClaw, OpenHands, etc.). It provides:

- **Data Models**: TypeScript types and Zod schemas for financial data
- **Storage**: Transaction storage with JSON/CSV support, file locking, and streaming
- **Sync**: Plaid and Gmail integration for fetching transactions
- **Exporters**: Beancount and Ledger format exporters
- **Security**: Platform keychain integration and audit logging
- **Performance**: TTL-based memory cache and query indexes
- **Runtime Abstractions**: Logger, ConfigProvider, and EventEmitter interfaces

## Installation

```bash
pnpm add @fire-zu/billclaw-core
```

## Quick Start

```typescript
import { Billclaw } from "@fire-zu/billclaw-core";
import { createRuntimeContext } from "./runtime.js";

// Create a runtime context (framework-specific adapter)
const runtime = createRuntimeContext();

// Initialize BillClaw
const billclaw = new Billclaw(runtime);

// Sync transactions from Plaid
const results = await billclaw.syncPlaid();

// Export to Beancount
const transactions = await billclaw.getTransactions("all", 2024, 1);
const beancount = await exportToBeancount(transactions, {
  accountId: "all",
  year: 2024,
  month: 1,
  commodity: "USD",
});
```

## Architecture

### Core Classes

- **`Billclaw`**: Main class for managing financial data operations
- **`TransactionStorage`**: Handles transaction persistence and queries
- **`MemoryCache`**: TTL-based in-memory caching
- **`AuditLogger`**: Security event logging

### Data Sources

- **Plaid**: Bank account and credit card transactions via Plaid API
- **Gmail**: Bill parsing from email using pattern recognition
- **GoCardless**: European bank accounts via open banking (planned)

### Exporters

- **Beancount**: Plain text accounting format export
- **Ledger**: Ledger CLI format export

## API Reference

### Billclaw

```typescript
class Billclaw {
  constructor(context: RuntimeContext)
  
  // Account management
  getAccounts(): Promise<AccountConfig[]>
  
  // Sync operations
  syncPlaid(accountIds?: string[]): Promise<PlaidSyncResult[]>
  syncGmail(accountIds?: string[], days?: number): Promise<GmailFetchResult[]>
  syncDueAccounts(): Promise<any[]>
  
  // Transaction queries
  getTransactions(accountId: string, year: number, month: number): Promise<Transaction[]>
  
  // Export operations
  exportToBeancount(transactions: Transaction[], options: BeancountExportOptions): Promise<string>
  exportToLedger(transactions: Transaction[], options: LedgerExportOptions): Promise<string>
}
```

### Configuration

```typescript
interface BillclawConfig {
  accounts: AccountConfig[];
  webhooks: WebhookConfig[];
  storage: StorageConfig;
  sync: SyncConfig;
  plaid: PlaidConfig;
  gocardless?: GoCardlessConfig;
  gmail?: GmailConfig;
}
```

## License

MIT
npm package: @fireact.dev/app
Description: React components, contexts, hooks, layouts, and utilities for Fireact applications.
Latest version: 1.0.8

# @fireact.dev/app

This package contains the core React frontend application for Fireact.dev. It is designed to be a comprehensive foundation for building modern SaaS applications with Firebase, React, TypeScript, and TailwindCSS.

## Overview

The `@fireact.dev/app` package provides all the necessary UI components, pages, and client-side logic for a Fireact application. It handles key functionalities such as:

- User authentication and management
- Role-based access control
- Team member invitations
- Subscription interfaces and management

This package is built with Vite, TypeScript, and TailwindCSS, ensuring a modern and efficient development experience.

## Installation

This package is primarily intended to be used as part of a complete Fireact application created via the `create-fireact-app` CLI tool. It is not typically installed or used in isolation.

To create a new Fireact application that includes this package, follow these steps:

1.  **Install the CLI (if you haven't already)**:
    ```bash
    npm install -g create-fireact-app
    ```

2.  **Create a new project**:
    ```bash
    create-fireact-app <your-project-name>
    ```
    Replace `<your-project-name>` with the desired name for your new application.

3.  **Follow the prompts**: The CLI will guide you through selecting your Firebase project and configuring Stripe.

4.  **After creation**:
    Navigate into your new project directory:
    ```bash
    cd <your-project-name>
    ```
    Then, build the application and functions, and start the emulators:
    ```bash
    npm run build && cd functions && npm run build && cd ..
    firebase emulators:start
    ```
    For Stripe webhook testing, in a separate terminal:
    ```bash
    stripe listen --forward-to http://127.0.0.1:5001/<your-firebase-project-id>/us-central1/stripeWebhook
    ```
    Remember to update `functions/src/config/stripe.config.json` with the new webhook endpoint secret and rebuild functions (`cd functions && npm build`) if the webhook secret changes.

## Development

When developing within the main Fireact.dev source repository, changes to this package are managed as part of the monorepo. Refer to the root `source/README.md` for detailed development setup and testing instructions.

## Tech Stack

-   React
-   TypeScript
-   Vite
-   TailwindCSS
-   Firebase (Auth, Firestore)
-   Stripe React SDK

## License

This package is open source and available under the [MIT License](LICENSE).
npm package: @fireact.dev/functions
Description: Firebase Cloud Functions for Fireact applications.
Latest version: 1.0.2

# @fireact.dev/functions

This package contains the Firebase Cloud Functions backend code for Fireact.dev. It provides the server-side logic and API endpoints necessary for a complete Fireact application.

## Overview

The `@fireact.dev/functions` package handles critical backend operations, including:

- Processing Stripe webhooks for subscription management
- Managing database interactions with Firebase Firestore
- Implementing server-side business logic
- Handling payment processing

This package is built with Firebase Cloud Functions and TypeScript, ensuring a robust and scalable backend solution.

## Installation

This package is primarily intended to be used as part of a complete Fireact application created via the `create-fireact-app` CLI tool. It is not typically installed or used in isolation.

To create a new Fireact application that includes this package, follow these steps:

1.  **Install the CLI (if you haven't already)**:
    ```bash
    npm install -g create-fireact-app
    ```

2.  **Create a new project**:
    ```bash
    create-fireact-app <your-project-name>
    ```
    Replace `<your-project-name>` with the desired name for your new application.

3.  **Follow the prompts**: The CLI will guide you through selecting your Firebase project and configuring Stripe.

4.  **After creation**:
    Navigate into your new project directory:
    ```bash
    cd <your-project-name>
    ```
    Then, build the application and functions, and start the emulators:
    ```bash
    npm run build && cd functions && npm run build && cd ..
    firebase emulators:start
    ```
    For Stripe webhook testing, in a separate terminal:
    ```bash
    stripe listen --forward-to http://127.0.0.1:5001/<your-firebase-project-id>/us-central1/stripeWebhook
    ```
    Remember to update `functions/src/config/stripe.config.json` with the new webhook endpoint secret and rebuild functions (`cd functions && npm build`) if the webhook secret changes.

## Development

When developing within the main Fireact.dev source repository, changes to this package are managed as part of the monorepo. Refer to the root `source/README.md` for detailed development setup and testing instructions.

## Tech Stack

-   Firebase Cloud Functions
-   TypeScript
-   Firebase Firestore
-   Stripe API

## License

This package is open source and available under the [MIT License](LICENSE).
npm package: @fireact.dev/saas
Description: A comprehensive SaaS toolkit for Firebase applications, featuring subscription management, billing integration, and user management components. Built on top of @fireact.dev/core with TailwindCSS styling.
Latest version: 1.0.6

# @fireact.dev/saas

The @fireact.dev/saas package provides a starter kit for building SaaS web apps quickly based on the @fireact.dev/core package.

![SaaS Screenshot](https://fireact.dev/img/demos/saas-demo.png)

## Installation

For installation instructions, please visit the [official documentation](https://docs.fireact.dev/saas/getting-started/).

## Key Features

- Multiple subscription plans
- Stripe integration for payments
- Billing portal and invoice management
- Team collaboration and workspaces
- Role-based access control
- Permission level management
- User invitations and team management

## Architecture Overview

The package is built on top of @fireact.dev/core and provides additional SaaS-specific components and utilities. It uses:

- React 18 for UI components
- TailwindCSS for styling
- Firebase for backend services
- React Router for navigation
- i18next for internationalization

## Components Reference

### Subscription Components
- Billing - Subscription billing management
- BillingForm - Billing information form
- CancelSubscription - Subscription cancellation interface
- ChangePlan - Plan change interface
- CreatePlan - Plan creation interface
- ManagePaymentMethods - Payment methods management
- Plans - Plan listing and selection
- SubscriptionDashboard - Subscription overview
- SubscriptionSettings - Subscription settings management
- TransferSubscriptionOwnership - Ownership transfer interface
- UpdateBillingDetails - Billing details update form

### User Management Components
- EditPermissionsModal - User permissions editor
- InviteUser - User invitation interface
- UserList - User listing and management
- UserTable - User data display

### Navigation Components
- MainDesktopMenu - Main desktop navigation
- MainMobileMenu - Main mobile navigation
- SubscriptionDesktopMenu - Subscription desktop navigation
- SubscriptionMobileMenu - Subscription mobile navigation

### Layout Components
- SubscriptionLayout - Layout for subscription pages

### Context Providers
- SubscriptionProvider - Subscription data context
- useSubscription - Subscription context hook

### Protection Components
- ProtectedSubscriptionRoute - Route protection with permission checks

### Hooks
- useSubscriptionInvoices - Invoice data management

## Contributing

We welcome contributions! Please follow these steps:

1. Fork the repository
2. Create a new branch (git checkout -b feature/YourFeatureName)
3. Commit your changes (git commit -m 'Add some feature')
4. Push to the branch (git push origin feature/YourFeatureName)
5. Create a new Pull Request

Please ensure your code follows our coding standards and includes appropriate tests.

## License

MIT

## Documentation

For complete documentation, visit [https://fireact.dev/saas](https://fireact.dev/saas)

## Support

For support and questions, please open an issue on [GitHub](https://github.com/fireact-dev/saas/issues)