open-index/open-npm huggingface dataset:
npm package: @flowtasks/sdk
Description: JavaScript/TypeScript SDK for the Flowtasks Intelligence Engine API
Author: Flow Tasks
Latest version: 0.2.0

# Flow SDK for JavaScript / TypeScript

Official client for the [Flow Intelligence Engine](https://flowtasks.io) API.

## Installation

```bash
npm install @flowtasks/sdk
```

## Quick Start

```typescript
import { FlowClient } from "@flowtasks/sdk";

const client = new FlowClient({
  baseUrl: "https://flowtasks.io",
  apiKey: "YOUR_API_KEY",
  organizationId: "YOUR_ORG_ID",
});

// Chat with your documents
const answer = await client.chat("What are the termination conditions?");
console.log(answer);

// Search the knowledge graph
const results = await client.searchGraph("termination clause");
console.log(results);

// Ask the knowledge graph (LLM-powered)
const response = await client.askGraph("Which contracts allow termination without cause?");
console.log(response.answer);

// Legal analysis
const clauses = await client.legalQuery("indemnity clauses", { mode: "deterministic" });
console.log(clauses);
```

## Available Methods

### Documents
- `listDocuments()` -- List all documents
- `getDocument(id)` -- Get document metadata
- `deleteDocument(id)` -- Delete a document

### Chat / RAG
- `chat(message, options?)` -- AI-powered query with source citations

### Knowledge Graph
- `searchGraph(query)` -- Search entities and relationships
- `getGraphStats()` -- Node and edge counts
- `askGraph(question)` -- Natural-language graph query (LLM)
- `reasonGraph(question, options?)` -- Intent-aware reasoning
- `getGraphVisualization(limit?)` -- Full graph data for rendering
- `getEntityNeighbors(name, depth?)` -- Explore entity connections

### Legal Analysis
- `legalClauseTypes()` -- Available clause types
- `legalClauses(docId)` -- Extract clauses from a document
- `legalDiff(docA, docB)` -- Compare clauses between documents
- `legalQuery(query, options?)` -- Query across all clauses

### Ontology
- `listDomains()` -- Built-in domain ontologies
- `createOntology(params)` -- Create custom ontology
- `listCustomOntologies()` -- List custom ontologies
- `getResolvedOntology(domain)` -- Merged core + custom ontology

### Agent
- `agentRun(params?)` -- Trigger an agent run
- `listAgentRuns()` -- Past agent runs
- `listRiskSignals()` -- Detected risk signals

### Workflows
- `listWorkflows()` / `createWorkflow(params)` / `runWorkflow(id)`

### Compliance
- `listComplianceChecks()` / `runComplianceScan(params?)`

### Webhooks
- `listWebhooks()` / `createWebhook(params)`

### Usage
- `getUsage()` -- Current usage and quota

## Error Handling

```typescript
import { FlowClient, FlowAPIError } from "@flowtasks/sdk";

try {
  const result = await client.chat("Summarize the agreement");
} catch (err) {
  if (err instanceof FlowAPIError) {
    console.error(`API error ${err.statusCode}: ${err.detail}`);
  }
}
```

## Links

- [Interactive API Docs](https://flowtasks.io/docs)
- [OpenAPI Schema](https://flowtasks.io/openapi.json)

## License

MIT
npm package: @flowtitude/ft-variables
Description: Flowtitude plugin that creates CSS variables from your Tailwind configuration.
Author: Flowtitude
Latest version: 1.0.0

# FLowtitude Basic

Plugin gratuito para Tailwind CSS adaptado para su uso junto con WordPress

## Como instalarlo

import flowtitude from 'https://esm.sh/flowtitude';
...
 plugins: [
 	...
	flowtitude,
	...
],

...
npm package: @flowup/rich-text-types
Description: Rich text type definitions (JSON Schema & Typescript)
Author: hello@flowup.cz
Latest version: 1.0.3

# rich-text-types

Type definitions for rich text fields for Headless.

## Installation

```sh
npm i [-D] @flowup/rich-text-types
```

## Usage

Use Typescript type annotations:

```ts
import { RichTextDocument } from '@flowup/rich-text-types';

const document: RichTextDocument = {
  type: 'document',
  children: [
    {
      type: 'paragraph',
      children: [{ type: 'text', value: 'Hello, world.' }],
    },
  ],
};
```

Use JSON schema (e.g. for runtime validation):

```js
import { richTextSchema } from '@flowup/rich-text-types';
import { validate } from 'jsonschema';

console.log(
  validate(
    {
      type: 'document',
      children: [
        {
          type: 'heading-1',
          children: [{ type: 'text', value: 'Hello, world!' }],
        },
      ],
    },
    richTextSchema,
  ),
);
```
npm package: @flowviz/react
Description: React component for FlowViz flow visualization engine
Author: mayankrajput
Latest version: 0.1.1

# ⬡ @flowviz/react

**React wrapper for the FlowViz flow visualization engine.**

Drop-in `<FlowViz />` component that renders animated particle flows over directed graphs using Canvas2D.

[![npm](https://img.shields.io/npm/v/@flowviz/react)](https://www.npmjs.com/package/@flowviz/react)
[![license](https://img.shields.io/npm/l/@flowviz/react)](https://github.com/hackelite01/flowviz/blob/main/LICENSE)

---

## Install

```bash
npm install @flowviz/react @flowviz/core
```

> `@flowviz/core` is a dependency and will be installed automatically, but you'll want it for the type imports.

## Quick Start

```tsx
import { FlowViz } from '@flowviz/react';
import type { NodeDefinition, EdgeDefinition, FlowConfig } from '@flowviz/core';

const nodes: NodeDefinition[] = [
  { id: 'a', label: 'Ingest',  layer: 0, shape: 'rect',
    color: '#060c1a', borderColor: '#3b82f6', glowColor: '#3b82f6', glowRadius: 8, size: 46 },
  { id: 'b', label: 'Process', layer: 1, shape: 'rect',
    color: '#060c1a', borderColor: '#22d3ee', glowColor: '#22d3ee', glowRadius: 8, size: 46 },
];

const edges: EdgeDefinition[] = [
  { from: 'a', to: 'b', color: '#3b82f6', width: 2 },
];

const config: FlowConfig = {
  autoLayout: true,
  flowSpeed: 0.6,
  particleDensity: 0.5,
  edgeStyle: 'bezier',
  background: '#060c1a',
};

export default function App() {
  return (
    <FlowViz
      nodes={nodes}
      edges={edges}
      config={config}
      width={900}
      height={500}
    />
  );
}
```

## Props

| Prop | Type | Description |
|------|------|-------------|
| `nodes` | `NodeDefinition[]` | Array of node objects |
| `edges` | `EdgeDefinition[]` | Array of edge objects |
| `config` | `FlowConfig` | Engine & render configuration |
| `width` | `number` | Canvas width in pixels |
| `height` | `number` | Canvas height in pixels |
| `className` | `string?` | CSS class for the canvas element |
| `style` | `CSSProperties?` | Inline styles for the canvas |

## Features

- **Declarative** — pass nodes/edges/config as props, the component handles the rest
- **Auto-cleanup** — engine is destroyed on unmount, no memory leaks
- **Reactive** — config/node/edge changes are picked up automatically
- **Lightweight** — thin wrapper around `@flowviz/core`, tree-shakeable

## Core Engine

See [`@flowviz/core`](https://www.npmjs.com/package/@flowviz/core) for the headless engine API, vanilla JS usage, and full type reference.

## Documentation

Full API reference and examples: [GitHub README](https://github.com/hackelite01/flowviz#readme)

## License

MIT © [mayankrajput](https://github.com/hackelite01)