open-index/open-npm huggingface dataset:
npm package: @logicleai/llmosaic
Description: JavaScript toolkit for calling LLM APIs in OpenAI format
Author: enricobellato
Latest version: 0.2.6

<h1 align="center">
    LLMosaic
</h1>
<p align="center">
    <p align="center">A TypeScript library for calling APIs of various LLMs using the OpenAI format [Azure, Anthropic, Ollama, Together AI, Groq, OpenAI]
    <br>
</p>
<h4 align="center">
    <a href="https://www.npmjs.com/package/@logicleai/llmosaic" target="_blank">
        <img src="https://img.shields.io/npm/v/%40logicleai%2Fllmosaic" alt="NPM Version">
    </a>
</h4>

## Installation

```sh
npm install @logicleai/llmosaic
```

## Usage

```ts
import { Provider, ProviderType } from '@logicleai/llmosaic';

const openai = new Provider({
  apiKey: process.env['OPENAI_API_KEY'],
  providerType: ProviderType.Anthropic,
});

async function main() {
  const chatCompletion = await openai.completion({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'claude-3-opus-20240229',
  });
}

main();
```

### Streaming responses

```ts
import { Provider, ProviderType } from '@logicleai/llmosaic';

const openai = new Provider({
  providerType: ProviderType.TogetherAI,
});

async function main() {
  const stream = await openai.completion({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
    stream: true,
  });
  for await (const chunk of stream) {
    process.stdout.write(chunk.choices[0]?.delta?.content || '');
  }
}

main();
```

## Supported Providers

| **Provider** | **Completion** | **Streaming** | **Models** |
|:------------:|:--------------:|:-------------:|:----------:|
|    openai    |        ✅       |       ✅       |      ✅     |
|   anthropic  |        ✅       |       ✅       |      ✅     |
|  togetherai  |        ✅       |       ✅       |      ✅     |
|     groq     |        ✅       |       ✅       |      ✅     |
|    localai   |        ✅       |       ✅       |      ✅     |

## Contributing

### Clone the repo
```
git clone https://github.com/logicleai/llmosaic.git
```

### Install dependencies
```
npm install
```

### Build the project
```
npm run build
```
npm package: @logicline/aws-xray-sequelize-postgres
Description: AWS X-Ray integration for sequelize with postgres
Author: Meykel Gruel
Latest version: 0.0.5

# aws-xray-sequelize-postgres

The `aws-xray-sequelize-postgres` module is a [`Sequelize`](http://sequelizejs.com/) extension for [AWS X-Ray](https://aws.amazon.com/xray/) to capture PostgreSQL queries.
This module requires the [`pg`](https://www.npmjs.com/package/pg) module.

## Installation

```
npm install --save @logicline/aws-xray-sequelize-postgres
```

## Usage

```
var Sequelize = require('sequelize');

var db = new Sequelize({
    dialect: 'postgres',
    dialectModulePath: '@logicline/aws-xray-sequelize-postgres',
});
```
npm package: @logicline/material-ui-image
Description: Material style image with loading animation
Author: logicline GmbH
Latest version: 1.4.1

# Material UI Image
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Build Status](https://travis-ci.org/TeamWertarbyte/material-ui-image.svg?branch=master)](https://travis-ci.org/TeamWertarbyte/material-ui-image)
[![Greenkeeper badge](https://badges.greenkeeper.io/TeamWertarbyte/material-ui-image.svg)](https://greenkeeper.io/)

Images are ugly until they're loaded. Materialize it with material image! It will show a random material color as background and a loading animation until it's fully loaded.

See this component in [action](https://teamwertarbyte.github.io/material-ui-image)

This package is customized to use the scoped `@logicline/material-ui` package. Everything stayed the same.  
The original package is available from npm via [`material-ui-image`](https://www.npmjs.com/package/material-ui-image).

## Installation
```shell
npm i --save @logicline/material-ui-image
```

## Usage

Use this component just like a regular img tag.

```js
import Image from '@logicline/material-ui-image'

// ...

render() {
  return (
    <div>
      <Image
        src="http://loremflickr.com/300/200"
      />
    </div>
  )
}
```

### Material UI Image Properties

|Name            |Type        |Default                                   |Description
|----------------|------------|------------------------------------------|--------------------------------
|src*            | `string`   |                                          | Specifies the URL of an image.
|color           | `string`   | random color                             | Override the background color.
|disableError    | `bool`     | false                                    | Disables the error icon if set to `true`.
|disableSpinner  | `bool`     | false                                    | Disables the loading spinner if set to `true`.
|errorSize       | `integer`  | 48                                       | Set the size of the error icon.
|imageStyle      | `object`   | { width: 'inherit', height: 'inherit' }  | Override the inline-styles of the image.
|loadingSize     | `integer`  | 40                                       | Set the size of the refresh indicator.
|loadingStyle    | `object`   | { position: 'relative' }                 | Override the inline-styles of the refresh indicator.
|onTouchTap      | `func`     |                                          | Fired when the user clicks on the image happened.
|style           | `object`   | { width: 300, height: 200 }              | Override the inline-styles of the root element.

\* required property

## License

The files included in this repository are licensed under the MIT license.
npm package: @logicline/react-lightning-design-system
Description: Salesforce Lightning Design System components built with React, based on mashmatrix/react-lightning-design-system
Author: logicline GmbH
Latest version: 2.4.1-beta.0

# [React Lightning Design System](https://mashmatrix.github.io/react-lightning-design-system/)
[![Build Status](https://travis-ci.org/mashmatrix/react-lightning-design-system.svg?branch=master)](https://travis-ci.org/mashmatrix/react-lightning-design-system)

[Salesforce Lightning Design System](http://www.lightningdesignsystem.com/) components built with React.

See the [demo](https://mashmatrix.github.io/react-lightning-design-system/).


## Install

```
$ npm install react-lightning-design-system
```

## Example

```javascript
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-lightning-design-system';

function click() { alert('Clicked'); }

ReactDOM.render(
  <div>
    <Button onClick={ click }>Simple</Button>
    <Button type='neutral' onClick={ click }>Neutral</Button>
    <Button type='brand' onClick={ click }>Brand</Button>
    <Button type='neutral' icon='download' iconAlign='left' onClick={ click }>Icon #1</Button>
    <Button type='neutral' disabled>Disabled Neutral</Button>
    <Button type='brand' disabled>Disabled Brand</Button>
  </div>
, document.body);
```

See more examples in [examples](https://github.com/mashmatrix/react-lightning-design-system/tree/master/stories) directory.


## Running example stories locally

This repo ships with a react storybook based story scripts.
To run stories and get component examples, follow these steps:

1. run ```npm install```
2. run ```npm run storybook```
3. Find the stories running on [localhost:9001](http://localhost:9001).

## Snapshot testing in react storybook

This repo ships with story snapshots to examine differences in rendering as a result of changes to source code.

To identify render differences run ```npm run test:storyshots```.  If  all changes are intentional run ```npm run test:storyshots -- -u```.  To learn about other run options including *interactive mode*, read
[Snapshot Testing in React Storybook](https://voice.kadira.io/snapshot-testing-in-react-storybook-43b3b71cec4f)
npm package: @logicmap/mcp-server
Description: MCP server for reading LogicMap architecture blueprints and design system rules
Author: Matthew Goodman
Latest version: 1.0.0

# @logicmap/mcp-server

An [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server that gives AI coding agents direct access to [LogicMap](https://logicmap.app) architecture blueprints and design system rules.

## What it does

LogicMap lets you export your visual app architecture as `.json` files and your global design rules as `design_system.md`. This MCP server exposes both to any AI agent (Claude, Cursor, etc.) through two simple tools:

| Tool | Description |
|---|---|
| `list_logicmap_flows` | Lists all available `.json` blueprint files in your export directory |
| `read_blueprint` | Returns a blueprint's JSON **and** your `design_system.md` in one call |

## Requirements

- Node.js ≥ 18
- An MCP-compatible client (Claude Desktop, Cursor, etc.)

## Installation

### Global (recommended for CLI use)

```bash
npm install -g logicmap-mcp
```

### Local (npx / one-shot)

```bash
npx logicmap-mcp
```

## Configuration

Set the `LOGICMAP_DIR` environment variable to the folder where LogicMap exports its files.

| Variable | Default | Description |
|---|---|---|
| `LOGICMAP_DIR` | `<cwd>/logicmap-exports` | Path to your LogicMap exports directory |

## Connecting to Cursor

Add to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "logicmap": {
      "command": "logicmap-mcp",
      "args": [],
      "env": {
        "LOGICMAP_DIR": "/path/to/your/logicmap-exports"
      }
    }
  }
}
```

> If installed locally instead of globally, replace `"command": "logicmap-mcp"` with:
> ```json
> "command": "node",
> "args": ["/absolute/path/to/logicmap-mcp/dist/index.js"]
> ```

## Connecting to Claude Desktop

Open `~/Library/Application Support/Claude/claude_desktop_config.json` and add the same block under `"mcpServers"`. Restart Claude Desktop.

## Export directory layout

```
logicmap-exports/
├── auth.json            ← a blueprint
├── onboarding.json      ← another blueprint
├── payments.json
└── design_system.md     ← global design rules (optional but recommended)
```

Drop any `.json` files LogicMap generates here. They appear instantly on the next `list_logicmap_flows` call — no server restart needed.

## Development

```bash
# Install deps
npm install

# Build
npm run build

# Watch mode
npm run dev

# Run directly
node dist/index.js
```

## License

MIT