open-index/open-npm huggingface dataset:
npm package: @sankiicant/library
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.1.0.
Latest version: 0.0.1

# Library

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

## Code scaffolding

Run `ng generate component component-name --project library` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project library`.
> Note: Don't forget to add `--project library` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build library` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build library`, go to the dist folder `cd dist/library` and run `npm publish`.

## Running unit tests

Run `ng test library` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @sankofa/browser
Description: The official browser SDK for [Sankofa](https://sankofa.deva), a powerful, self-hosted analytics and session replay platform.
Latest version: 0.1.2

# @sankofa/browser

The official browser SDK for [Sankofa](https://sankofa.deva), a powerful, self-hosted analytics and session replay platform.

## Installation

```bash
npm install @sankofa/browser
```

## Quick Start

```javascript
import { Sankofa } from '@sankofa/browser';

// Initialize the SDK
Sankofa.init({
  host: 'https://api.sankofa.dev',
  apiKey: 'YOUR_PROJECT_API_KEY',
});

// Track an event
Sankofa.track('button_clicked', {
  button_name: 'signup',
  plan: 'pro'
});

// Identify a user
Sankofa.identify('user_123', {
  email: 'user@example.com',
  name: 'John Doe'
});
```

## Using via CDN

If you're not using a bundler, you can include Sankofa via a script tag:

```html
<script src="https://cdn.jsdelivr.net/npm/@sankofa/browser/dist/sankofa.min.js"></script>
<script>
  Sankofa.init({
    host: 'https://api.sankofa.dev',
    apiKey: 'YOUR_PROJECT_API_KEY'
  });
</script>
```

## Features

- **Autocapture**: Automatically track page views, clicks, and form submissions.
- **Identity Management**: Easily track user journeys across sessions.
- **Privacy First**: Built-in support for PII masking and GDPR compliance.
- **Pluggable**: Extend functionality with plugins like Session Replay.

## License

MIT
npm package: @sankofa/replay-rrweb
Description: Session Replay plugin for the Sankofa Browser SDK, powered by [rrweb](https://github.com/rrweb-io/rrweb). View the source at [Sankofa-HQ/sankofa_sdk_web](https://github.com/Sankofa-HQ/sankofa_sdk_web).
Latest version: 0.1.2

# @sankofa/replay-rrweb

Session Replay plugin for the Sankofa Browser SDK, powered by [rrweb](https://github.com/rrweb-io/rrweb). View the source at [Sankofa-HQ/sankofa_sdk_web](https://github.com/Sankofa-HQ/sankofa_sdk_web).

## Installation

```bash
npm install @sankofa/browser @sankofa/replay-rrweb
```

## Usage

```javascript
import { Sankofa } from '@sankofa/browser';
import { rrwebReplayPlugin } from '@sankofa/replay-rrweb';

Sankofa.init({
  host: 'https://api.sankofa.dev',
  apiKey: 'YOUR_PROJECT_API_KEY',
  plugins: [
    rrwebReplayPlugin({
      maskAllInputs: true, // Privacy first: masks all input fields by default
    })
  ]
});
```

## Using via CDN

```html
<script src="https://cdn.jsdelivr.net/npm/@sankofa/browser/dist/sankofa.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@sankofa/replay-rrweb/dist/sankofa-replay.min.js"></script>

<script>
  Sankofa.init({
    host: 'https://api.sankofa.dev',
    apiKey: 'YOUR_PROJECT_API_KEY',
    plugins: [
      SankofaReplay.rrwebReplayPlugin()
    ]
  });
</script>
```

## Configuration

The `rrwebReplayPlugin` accepts the following options:

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `enabled` | `boolean` | `true` | Enable or disable recording |
| `maskAllInputs` | `boolean` | `true` | If true, all input values will be masked |
| `flushIntervalMs` | `number` | `5000` | How often to upload recording chunks |
| `maxEventsPerChunk` | `number` | `250` | Maximum number of events before a forced upload |

## License

MIT
npm package: @sankyu/circle-flags-core
Description: Shared core utilities for circle-flags packages
Latest version: 1.6.5

# @sankyu/circle-flags-core

Internal shared utilities and types for circle-flags-ui packages.

**This is a private package** - not published to npm. It provides shared functionality for:

- `@sankyu/react-circle-flags`
- `@sankyu/vue-circle-flags` (beta)
- `@sankyu/solid-circle-flags` (beta)

## Exports

- `FlagComponentProps` - Base props interface for flag components
- `FlagMetadata` - Metadata structure for generated flags
- `BuildMeta` - Build metadata interface
- `FlagSizes` - Standard flag size presets
- `FLAG_REGISTRY` - Generated mapping of flag codes to component names
- `FlagCode` - Union type of all valid flag codes
- `codeToEmoji()` - Convert country code to emoji flag
- `codeToComponentName()` - Convert country code to PascalCase component name
- `getSizeName()` - Get size preset name from pixel value

## License

MIT