open-index/open-npm huggingface dataset:
npm package: @ignitial/iio-app-client
Description: Ignitial.io web application client library
Author: Victor Andritoiu
Latest version: 5.2.4

# IgnitialIO web application client library

This library allows an web app to take advantage of the
[IIOS](https://github.com/ignitialio/iio-services) services framework.  
It implements several concepts:
- web socket communication using [socket.io](https://www.npmjs.com/package/socket.io)
- unified services: these are services defined server-side that can be called
browser side as if they were seamlesly local to browser. They use web sockets to
do so.
- modules: these are services (you can see this as server app plugins) implemented
server-side and eventually available browser side. If so, unlikely unified
services, they are defined with one instance per all web socket clients (e.g.
connection), while unified services provide one instance per client
- API gateway: is providing an unified service for each available IIO
micro-service. In this way, any micro-service can be used locally to the browser.
- static configuration management for the web app
- static file serve
- REST API capabilities thanks to [connect-rest](https://www.npmjs.com/package/connect-rest)
- AWS S3 or compliant (e.g. Minio S3) file storage
- i18n

## Architecture

### _i18n_  

It provides internationalization features allowing to use transparent translation
for any string.

### _modules_

Base class for implementing client side plugin (for example VueJS plugin) to
remotely access server modules.

### _services_

Base class for implementing client side plugin (for example VueJS plugin) to
remotely access server services (unified services + IIO micro-services).

### _utils_

Base class for implementing utility plugin (for example VueJS plugin).

## Tests  

Tests are mainly done trough the full application. For example:
[IgnitialIO application template](https://github.com/ignitialio/iio-app-template)
npm package: @ignitial/iio-app-server
Description: Ignitial.io Application server library
Author: Victor Andritoiu
Latest version: 5.4.7

# IgnitialIO web application server library

This library allows an web app to take advantage of the
[IIOS](https://github.com/ignitialio/iio-services) services framework.  
It implements several concepts:
- web socket communication using [socket.io](https://www.npmjs.com/package/socket.io)
- unified services: these are services defined server-side that can be called
browser side as if they were seamlesly local to browser. They use web sockets to
do so.
- modules: these are services (you can see this as app plugins) implemented
server-side and eventually available browser side. If so, unlikely unified
services, they are defined with one instance per all web socket clients (e.g.
connection), while unified services provide one instance per client
- API gateway: is providing an unified service for each available IIO
micro-service. In this way, any micro-service can be used locally to the browser.
- static configuration management for the web app
- static file serve
- REST API capabilities thanks to [connect-rest](https://www.npmjs.com/package/connect-rest)
- AWS S3 or compliant (e.g. Minio S3) file storage

## Architecture

### _core/IIOSAppServer_  

It provides:
- static configuration management
- REST API implementation
- server-side web socket communication (using _core/ws.js_)
- modules life cycle management
- S3 file storage

### _core/module.js_

Base class for modules implementation.

### _core/service.js_

Base class for unified services implementation.

### _core/ws.js_

Web socket communication and unified services management.

### Default modules

- _modules/emailer.module.js_: mail services
- _modules/gateway.module.js_: IIOS gateway for utility access to current deployed
services
- _modules/utils.module.js_: utility module

### Default unified services  

- _services/apigateway.service.js_: IIOS gateway providing one unified service per
available micro-service per client
- _config.service.js_: client side access to public configuration (flagged with
_ _unified_ in the congifuraiton file)

## Tests  

Tests are mainly done trough the full application. For example:
[IgnitialIO application template](https://github.com/ignitialio/iio-app-material-template)
npm package: @ignitionai/mcp-template
Description: ModelContextProtocol server with tools, prompts and resources
Author: IgnitionAI
Latest version: 1.0.0

# @ignitionai/mcp-template

Un serveur MCP (Model Context Protocol) avec des outils, des prompts et des ressources.

## Installation

```bash
# Avec npm
npm install @ignitionai/mcp-template

# Avec pnpm (recommandé)
pnpm add @ignitionai/mcp-template
```

## Utilisation

### En ligne de commande

```bash
# Exécuter directement
npx @ignitionai/mcp-template

# Avec l'inspecteur MCP
npx -y @modelcontextprotocol/inspector npx @ignitionai/mcp-template
```

### Dans votre code

```javascript
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { addTool, calculateBmiTool } from "@ignitionai/mcp-template/tools";
```

## Fonctionnalités

### Outils
- `addTool`: Addition de deux nombres
- `substractTool`: Soustraction de deux nombres
- `calculateBmiTool`: Calcul de l'IMC (Indice de Masse Corporelle)

### Prompts
- `greetPrompt`: Génère un message de salutation

### Ressources
- `getGreeting`: Récupère un message de salutation
- `getUserProfile`: Récupère le profil d'un utilisateur
- `listUserProfiles`: Liste tous les profils d'utilisateurs disponibles

## Développement

```bash
# Installer les dépendances
pnpm install

# Construire le package
pnpm build

# Démarrer le serveur
pnpm start
```

## Licence

MIT