open-index/open-npm huggingface dataset:
npm package: @fluxchat/fluxchat
Description: A decentralized, peer-to-peer, encrypted chat written in TypeScript.
Author: Christian Mayer
Latest version: 0.0.0

# FluxChat

A decentralized, peer-to-peer, encrypted chat written in TypeScript.

## External Documentation

- https://gist.github.com/sohamkamani/b14a9053551dbe59c39f83e25c829ea7
- https://stackoverflow.com/questions/74224922/how-do-i-encrypt-a-private-and-public-key-with-a-pass-phrase-using-nodejs
npm package: @fluxcontrolsdk/node-sdk
Description: FluxControl Server-Side SDK for Node.js
Author: FluxControl Team
Latest version: 0.2.0

# @fluxcontrolsdk/node-sdk

Official Node.js SDK for FluxControl - Enterprise Feature Flagging & Experimentation Platform

## Installation

```bash
npm install @fluxcontrolsdk/node-sdk
```

## Quick Start

```typescript
import { FluxClient } from '@fluxcontrolsdk/node-sdk';

// Initialize the client
const client = new FluxClient('your-sdk-key', {
  endpoint: 'https://api.fluxcontrol.io'
});

// Start the client (fetches ruleset)
await client.start();

// Evaluate a boolean flag
const context = {
  userId: 'user-123',
  attributes: {
    plan: 'premium',
    country: 'US'
  }
};

const isEnabled = client.boolVariation('new-feature', context, false);

if (isEnabled) {
  // New feature code
} else {
  // Legacy code
}

// Clean up when shutting down
client.close();
```

## Configuration Options

```typescript
const client = new FluxClient('sdk-key', {
  endpoint: 'https://api.fluxcontrol.io',  // Required: FluxControl API endpoint
  pollIntervalMs: 30000,                    // Optional: Polling interval (default: 30s)
  backupFilePath: './flux_ruleset.json',   // Optional: Local backup file
  offlineMode: false                        // Optional: Start in offline mode
});
```

**Configuration Parameters:**
- `endpoint` - **Required**. FluxControl API URL (e.g., `'https://api.fluxcontrol.io'`)
- `pollIntervalMs` - Optional. Polling interval in milliseconds (default: 30000)
- `backupFilePath` - Optional. Path to local backup file (default: `'./flux_ruleset.json'`)
- `offlineMode` - Optional. Start in offline mode (default: false)

## Offline Mode

For testing or air-gapped environments:

```typescript
const client = FluxClient.loadFromFile('./ruleset.json');
await client.start();
```

## Features

- **Local Evaluation**: Sub-millisecond flag evaluation with no network calls
- **Automatic Polling**: Keeps rulesets up-to-date in the background
- **Offline Fallback**: Uses local backup if network is unavailable
- **TypeScript Support**: Full type definitions included
- **Targeting Rules**: Complex user targeting with AND/OR conditions
- **Percentage Rollouts**: Gradual feature rollouts with consistent hashing

## API Reference

### `FluxClient`

#### Constructor
```typescript
new FluxClient(sdkKey: string, config: FluxConfig)
```

#### Methods
- `start(): Promise<void>` - Initialize and start polling
- `boolVariation(key: string, context: Context, defaultValue: boolean): boolean` - Evaluate boolean flag
- `close(): void` - Stop polling and clean up

### `Context`

```typescript
interface Context {
  userId: string;                                    // Required for percentage rollouts
  attributes?: Record<string, string | number | boolean>;  // Custom attributes
}
```

## Documentation

Full documentation: https://docs.fluxcontrol.io

## Support

- GitHub Issues: https://github.com/manojsu/ubiquitous-spork/issues
- Email: support@fluxcontrol.io

## License

MIT
npm package: @fluxcore/button
Description: ![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)
Latest version: 1.0.14

# FluxCore | Button

![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)

**Flux Button Component for React**


## Installation 

To install and set up the library, run:

```sh
$ npm install @fluxcore/button
```

Or if you prefer using Yarn:

```sh
$ yarn add @fluxcore/button
```


## How to Use

| PropName      | Required   | PropTypes    |
| ---           | ---        | ---          |
| children      | true       | Node         |
| onClick       | true       | Func         |
| externalClass | false      | String       |
| type          | false      | String       |
| disabled      | false      | Bool         |
npm package: @fluxcore/dropdown
Description: ![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)
Latest version: 1.0.14

# FluxCore | Dropdown

![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)

**Flux Dropdown Component for React**


## Installation 

To install and set up the library, run:

```sh
$ npm install @fluxcore/dropdown
```

Or if you prefer using Yarn:

```sh
$ yarn add @fluxcore/dropdown
```
npm package: @fluxcore/icon
Description: ![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)
Latest version: 1.0.5

# FluxCore | Icon

![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)

**Flux Icon Component for React**


## Installation 

To install and set up the library, run:

```sh
$ npm install @fluxcore/icon
```

Or if you prefer using Yarn:

```sh
$ yarn add @fluxcore/icon
```
npm package: @fluxcore/input
Description: ![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)
Latest version: 1.0.8

# FluxCore | Input

![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)

**Flux Input Component for React**


## Installation 

To install and set up the library, run:

```sh
$ npm install @fluxcore/input
```

Or if you prefer using Yarn:

```sh
$ yarn add @fluxcore/input
```
npm package: @fluxcore/link
Description: ![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)
Latest version: 1.0.3

# FluxCore | Link

![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)

**Flux Link Component for React**


## Installation 

To install and set up the library, run:

```sh
$ npm install @fluxcore/link
```

Or if you prefer using Yarn:

```sh
$ yarn add @fluxcore/link
```
npm package: @fluxcore/list
Description: ![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)
Latest version: 1.0.3

# FluxCore | List

![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)

**Flux List Component for React**


## Installation 

To install and set up the library, run:

```sh
$ npm install @fluxcore/list
```

Or if you prefer using Yarn:

```sh
$ yarn add @fluxcore/list
```
npm package: @fluxcore/navigation
Description: ![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)
Latest version: 1.0.2

# FluxCore | Navigation

![alt text](https://cdn-d.tentangle.com/brand/flux-logo.jpg)

**Flux Navigation Component for React**


## Installation 

To install and set up the library, run:

```sh
$ npm install @fluxcore/navigation
```

Or if you prefer using Yarn:

```sh
$ yarn add @fluxcore/navigation
```