open-index/open-npm huggingface dataset:
npm package: @fixhbone/agentmap-setup
Description: One-shot setup for AgentMap + Claude Code hooks
Latest version: 0.1.0

# @diop/agentmap-setup

One-shot setup for [AgentMap](https://github.com/0xfishbone/agentMap) + Claude Code hooks. Connects any repo to your AgentMap project so spec context is automatically synced during Claude Code sessions.

## Usage

```sh
npx @diop/agentmap-setup <PROJECT_KEY>
```

Get your `<PROJECT_KEY>` from the AgentMap web dashboard under **Settings > Setup**.

## What it does

1. Creates `.agentmap/.env` with API credentials
2. Generates `.agentmap/sync.sh` — pull context + push diffs
3. Configures `.claude/settings.json` with three lifecycle hooks:
   - **SessionStart** — pulls latest project context
   - **PostToolUse** (Write/Edit) — tracks modified files
   - **Stop** — pushes session diff to AgentMap
4. Adds sensitive paths to `.gitignore`

## Requirements

- Node.js >= 18
- [Claude Code](https://claude.ai/claude-code) CLI installed

## License

MIT
npm package: @fixhq/sweetalert2
Description: A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert
Latest version: 11.10.8

Fork of SweetAlert2
===================
- v11.10.8
- Removed Protestware
- Upgraded devDependencies
- Tests pass

[View Changes in Commits here](https://github.com/fixhq/sweetalert2/commits/main/)
Please visit the [original repository](https://github.com/sweetalert2/sweetalert2) for docs/collaboration
npm package: @fixieai/fixie
Description: This package contains an SDK and command-line interface to the [Fixie.ai](https://fixie.ai) platform.
Latest version: 1.2.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Fixie Platform SDK

This package contains an SDK and command-line interface to the [Fixie.ai](https://fixie.ai) platform.

## Dev Notes

To publish this package, run `npm publish` in this directory.
npm package: @fixies/ng2-material-dropdown
Description: Angular material-like dropdown component
Author: Giancarlo Buomprisco
Latest version: 0.12.0-RC.0

# Angular2 Dropdown Component

Material-like dropdown component for Angular2.

## Install

    npm install ng2-material-dropdown --save

## Usage

Once installed, import the directives and use it them your container component:

```html
<ng2-dropdown>
    <ng2-dropdown-button>
        Open Menu
    </ng2-dropdown-button>
    <ng2-dropdown-menu>
        <ng2-menu-item *ngFor="let page of pages">
            {{ page }}
        </ng2-menu-item>

        <div class='ng2-menu-divider'></div>

        <ng2-menu-item>
            With Divider
        </ng2-menu-item>
    </ng2-dropdown-menu>
</ng2-dropdown>
```

```javascript
// import module
import { Ng2DropdownModule } from 'ng2-material-dropdown';

@NgModule({
    imports: [ Ng2DropdownModule ]
    // ..
})
export class MyModule {}
```

## API

`ng2-dropdown`
- **`dynamicUpdate`** - **`[?boolean]`** : option to disable the dynamic update of the position on scroll events (defaults to `true`)
- **`onItemSelected()`** - **`[(onItemSelected($event)]`** : event that emits the currently selected/hovered item
- **`onItemClicked()`** - **`[(onItemClicked($event)]`** : event that emits the item clicked on
- **`onShow()`** - **`[(onItemClicked($event)]`** : event that emits when the dropdown gets shown
- **`onHide()`** - **`[(onItemClicked($event)]`** : event that emits when the dropdown gets hidden

`ng2-dropdown-menu`
- **`focusFirstElement`** - **`[?boolean]`** : by default the first element is immediately focused. You can disable by setting this option to false
- **`width`** - **`[?number]`**: this determines the width of the menu. Possible values are 2, 4 and 6. By default, this is set to 4
- **`offset`** - **`[?string]`**: offset to adjust the position of the dropdown with absolute values
- **`appendToBody`** - **`[?boolean]`** : by default the dropdown is appended to the body, but you can disable this by setting it to `false`


`ng2-dropdown-button`
- **`showCaret`** - **`[?boolean]`** : if present, a caret will be appended to the button's text

`ng2-menu-item`
- **`preventClose`** - `[?boolean]` : if present, this attribute prevents the menu to hide when the menu item is clicked
- **`value` - `[?any]`** : any value that you may want to attach to a menu item. Useful for using this component with other components.
npm package: @fixies/primeng
Description: [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![npm downloads](https://img.shields.io/npm/dm/primeng.sv
Latest version: 11.4.4-RC.1


[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng)
[![npm downloads](https://img.shields.io/npm/dm/primeng.svg)](https://www.npmjs.com/package/primeng)
[![Build Status](https://travis-ci.org/primefaces/primeng.svg?branch=master)](https://travis-ci.org/primefaces/primeng)
[![Discord Chat](https://img.shields.io/discord/557940238991753223.svg?color=7289da&label=chat&logo=discord)](https://discord.gg/gzKFYnpmCY)

[![PrimeNG Hero](https://www.primefaces.org/wp-content/uploads/2021/05/primeng-11.png)](https://www.primefaces.org/primeng)

### Website

Visit the [PrimeNG Website](https://www.primefaces.org/primeng/) for general information, demos and documentation.
npm package: @fixmysaas/sdk
Description: SDK for fixmysaas platform.
Author: FixMySaaS
Latest version: 0.1.0

# @fixmysaas/sdk

A JavaScript SDK for integrating the FixMySaaS widget into your web applications. This SDK provides a simple interface to load and control the FixMySaaS widget dynamically.

## Installation

```sh
pnpm add @fixmysaas/sdk
```

## Quick Start

```ts
import loadSdk from '@fixmysaas/sdk';

// Load the widget with your project configuration
const sdk = await loadSdk.loadWidget({
  project: 'your-project-id'
});
npm package: @fixture-inc/tracker-browser
Description: Browser tracking script for Fixture - drop-in replacement for tracker.js
Latest version: 0.1.2

# @fixture-inc/tracker-browser

Browser tracking script for Fixture. Drop-in replacement for the legacy tracker.js.

## Installation

### Script Tag (Recommended for external sites)

```html
<script
  src="https://fixture.app/tracker.js"
  data-web_property_id="your-property-id"
></script>
```

Optional attributes:

- `data-api_url` - Override API endpoint (for local development)

### npm (For bundled applications)

```bash
pnpm add @fixture-inc/tracker-browser
```

```typescript
import { BrowserTracker } from '@fixture-inc/tracker-browser'

const tracker = new BrowserTracker({
  propertyId: 'your-property-id',
})

// Initial pageview is tracked automatically
// SPA navigations are tracked automatically
```

## Features

- **Automatic pageview tracking** - Tracks on load and SPA navigation
- **SPA support** - Intercepts `pushState`, `replaceState`, and `popstate`
- **DOM event tracking** - Track clicks via `data-fixture-event-*` attributes
- **Cookie-based visitor ID** - Persists visitor ID in `fxid` cookie (1 year)
- **Reliable delivery** - Uses `fetch` with `keepalive`

## API

### Script Tag API

```javascript
// Track a pageview manually
window.fixture.trackPageview()

// Track a custom event
window.fixture.trackEvent('signup_click', { plan: 'pro' })

// With context
window.fixture.trackEvent('purchase', { amount: 99 }, { source: 'checkout' })
```

### BrowserTracker API

```typescript
interface BrowserTrackerConfig {
  propertyId: string
  apiUrl?: string              // Default: 'https://api.fixture.app'
  debug?: boolean
  cookieName?: string          // Default: 'fxid'
  cookieDays?: number          // Default: 365
  cookieDomain?: string        // For cross-subdomain tracking
  trackSpaNavigation?: boolean // Default: true
  trackDomEvents?: boolean     // Default: true
}

class BrowserTracker {
  getVisitorId(): string
  resetVisitorId(): string
  trackPageview(options?: { url?: string }): void
  trackEvent(name: string, properties?: Record<string, unknown>): void
  destroy(): void  // Cleanup SPA and DOM tracking
}
```

## DOM Event Tracking

Track clicks automatically using data attributes:

```html
<button
  data-fixture-event-name="signup_click"
  data-fixture-event-plan="pro"
>
  Sign Up
</button>
```

Or CSS classes (useful when you can't add data attributes):

```html
<button class="fixture-event-name=signup_click fixture-event-plan=pro">
  Sign Up
</button>
```

The tracker searches up to 15 parent elements to find event annotations.

## Local Development

Override the API endpoint for local testing:

```html
<script
  src="/tracker.js"
  data-web_property_id="test"
  data-api_url="http://localhost:8000"
></script>
```
npm package: @fixture-inc/tracker-core
Description: Core tracking logic for Fixture - environment agnostic
Latest version: 0.1.2

# @fixture-inc/tracker-core

Environment-agnostic core tracking logic for Fixture.

## Installation

```bash
pnpm add @fixture-inc/tracker-core
```

## Usage

```typescript
import { Tracker, MemoryStorage, NoopTransport } from '@fixture-inc/tracker-core'

const tracker = new Tracker({
  propertyId: 'your-property-id',
  apiUrl: 'https://api.fixture.app', // optional, this is the default
  debug: false,
  storage: new MemoryStorage(),      // or implement StorageAdapter
  transport: new NoopTransport(),    // or implement TransportAdapter
})

tracker.trackPageview()
tracker.trackEvent('button_click', { location: 'header' })
```

## API

### `Tracker`

```typescript
interface TrackerConfig {
  propertyId: string
  apiUrl?: string           // Default: 'https://api.fixture.app'
  debug?: boolean
  storage?: StorageAdapter  // Pluggable storage for visitor ID
  transport?: TransportAdapter // Pluggable transport for sending data
}

class Tracker {
  getVisitorId(): string
  resetVisitorId(): string
  trackPageview(options?: { url?: string }): void
  trackEvent(name: string, properties?: Record<string, unknown>): void
}
```

### Adapters

Implement these interfaces to customize storage and transport:

```typescript
interface StorageAdapter {
  get(): string | null
  set(value: string): void
}

interface TransportAdapter {
  send(url: string, payload: TrackPayload): void
}
```

Built-in adapters:

- `MemoryStorage` - In-memory storage (for testing/SSR)
- `NoopTransport` - No-op transport (for testing/SSR)

## When to Use

Use `tracker-core` directly when:

- Building a custom tracker for a non-browser environment
- You need full control over storage and transport
- Building your own framework integration

For most use cases, use:

- `@fixture-inc/tracker-browser` - Script tag or browser bundler
- `@fixture-inc/tracker-react` - React applications
npm package: @fixture-inc/tracker-react
Description: React hooks and provider for Fixture tracking
Latest version: 0.1.2

# @fixture-inc/tracker-react

React hooks and provider for Fixture tracking.

## Installation

```bash
pnpm add @fixture-inc/tracker-react
```

## Usage

### Provider Setup

Wrap your app with `FixtureProvider`:

```tsx
import { FixtureProvider } from '@fixture-inc/tracker-react'

function App() {
  return (
    <FixtureProvider propertyId="your-property-id">
      <YourApp />
    </FixtureProvider>
  )
}
```

Page tracking happens automatically - no additional setup needed.

### Track Events

Use the `useFixture` hook to track custom events:

```tsx
import { useFixture } from '@fixture-inc/tracker-react'

function SignupButton() {
  const { trackEvent } = useFixture()

  return (
    <button onClick={() => trackEvent('signup_click', { plan: 'pro' })}>
      Sign Up
    </button>
  )
}
```

### Convenience Hooks

```tsx
import { useTrackEvent, useVisitorId } from '@fixture-inc/tracker-react'

function Component() {
  // Stable callback for tracking (good for event handlers)
  const trackClick = useTrackEvent('button_click', { location: 'header' })

  // Get current visitor ID
  const visitorId = useVisitorId()

  return <button onClick={trackClick}>Click ({visitorId})</button>
}
```

## API

### FixtureProvider

```tsx
interface FixtureProviderProps {
  children: ReactNode
  propertyId: string
  apiUrl?: string              // Default: 'https://api.fixture.app'
  debug?: boolean
  cookieName?: string          // Default: 'fxid'
  cookieDays?: number          // Default: 365
  cookieDomain?: string        // For cross-subdomain tracking
  trackSpaNavigation?: boolean // Default: true
  trackDomEvents?: boolean     // Default: true
}
```

### useFixture

```tsx
const {
  trackEvent,    // (name: string, properties?: object) => void
  trackPageview, // () => void
  getVisitorId,  // () => string | null
  tracker,       // BrowserTracker | null (for advanced use)
} = useFixture()
```

### useTrackEvent

```tsx
// Returns a stable callback
const trackClick = useTrackEvent('event_name', { optional: 'properties' })
```

### useVisitorId

```tsx
const visitorId = useVisitorId() // string | null
```

## SSR Safety

The provider handles SSR automatically:

- No `window` access during server render
- Tracker initializes on client mount only
- Hooks return no-op functions during SSR

## Features

- **Automatic page tracking** - SPA navigation detected via history API
- **SSR safe** - Works with Next.js, Remix, etc.
- **TypeScript** - Full type definitions included
- **Minimal** - 2.2 KB, zero dependencies beyond tracker-browser
npm package: @fiyareuse/firebase-core
Description: Shared Firebase Admin initialization utilities for CoachAI apps
Author: CoachAI
Latest version: 0.1.3

# @fiyareuse/firebase-core

Shared Firebase Admin initialization helpers for CoachAI apps.

## Install

```bash
npm install @fiyareuse/firebase-core firebase-admin
```

## Usage

```ts
import { getFirestore, initializeFirebaseAdminApp } from "@fiyareuse/firebase-core";

initializeFirebaseAdminApp();
const db = getFirestore();
```

## Requirements

- Node.js 18+
- A Firebase service account JSON set via `FIREBASE_SERVICE_ACCOUNT` or a local JSON file path.

## License

MIT