open-index/open-npm huggingface dataset:
npm package: @incubateur-ademe/legal-pages-markdown
Description: Legal pages as components as raw markdown
Author: Incubateur ADEME
Latest version: 0.6.0

# Legal Pages as Markdown

This package provides a way to generate legal pages for your website in Markdown format or HTML format.

Some HTML components used in the markdown are following DSFR classes.

## Installation

```bash
npm install @incubateur-ademe/legal-pages-markdown
```

## Available pages

-   [Privacy Policy](./src/PrivacyPolicy.md)
-   [Cookies Policy](./src/CookiesPolicy.md)
-   [Legal Notice](./src/LegalNotice.md)

All pages are available either with Beta.gouv mention (`*_withBeta.md`) or without.

## Usage

When used, html or markdown should be considered as templates and should be rendered with variables described in
[`types.d.ts`](./types.d.ts).

The variables are following the Mustache syntax.
npm package: @incubateur-ademe/legal-pages-react
Description: Legal pages as components for React
Author: Incubateur ADEME
Latest version: 0.6.0

# Legal Pages as React components

This package provides a way to generate legal pages for your website with available React components.

It uses `@incubateur-ademe/legal-pages-markdown` internally to generate the legal pages and inject Mustache variables from the given props.

## Installation

```bash
npm install @incubateur-ademe/legal-pages-react
```
npm package: @incubateur-ademe/legal-pages-vue3
Description: Legal pages as components for Vue3
Author: Incubateur ADEME
Latest version: 0.6.0

# Legal Pages as Vue3 components

This package provides a way to generate legal pages for your website with available React components.

It uses `@incubateur-ademe/legal-pages-markdown` internally to generate the legal pages and inject Mustache variables from the given props.

## Installation

```bash
npm install @incubateur-ademe/legal-pages-vue3
```
npm package: @incubateur-ademe/nosgestesclimat-scripts
Description: Set of common code used both in the website and the model repository of NGC
Latest version: 0.8.0

<div align="center">
  <h3 align="center">
	<big><code>@incubateur-ademe/nsogstesclimat-scripts</code></big>
  </h3>
  <p align="center">
   <a href="https://github.com/incubateur-ademe/nsogstesclimat-scripts/issues">Report Bug</a>
   •
   <a href="https://incubateur-ademe.github.io/nsogstesclimat-scripts/">API docs</a>
   •
   <a href="https://github.com/incubateur-ademe/nsogstesclimat-scripts/blob/master/CONTRIBUTING.md">Contribute</a>
  </p>

![CI][ci-link] ![NPM][npm-link]

Set of common code used both in the website and the model repository of NGC

</div>

## Features

TODO

## Installation

```
npm install --dev-dependency @incubateur-ademe/nsogstesclimat-scripts

yarn add -D @incubateur-ademe/nsogstesclimat-scripts
```

## Usage in local

When developing in local:

1. you can link the local package with `yarn link`,
2. launch the compilation in watch mode with `yarn watch`,
3. and use it in your project with `yarn link @incubateur-ademe/nsogstesclimat-scripts`.

[ci-link]: https://img.shields.io/github/actions/workflow/status/incubateur-ademe/nsogstesclimat-scripts/build.yml?logo=github&logoColor=white&label=build%20%26%20test
[npm-link]: https://img.shields.io/npm/v/%40incubateur-ademe%2Fnsogstesclimat-scripts?logo=npm&logoColor=white&color=%23185dae
npm package: @incubateur-ademe/publicodes-acv-numerique
Description: Modèle Publicodes de la base de données ACV ADEME sur le numérique
Author: Clément Auger
Latest version: 2.1.0

# publicodes-acv-numerique

Modèle Publicodes de la base de données ACV ADEME sur le numérique

## Installation

```sh
yarn install publicodes-acv-numerique publicodes
```

## Usage

```typescript
import { Engine } from 'publicodes'
import rules from 'publicodes-acv-numerique'

const engine = new Engine(rules)

console.log(engine.evaluate('salaire net').nodeValue)
// 1957.5

engine.setSituation({ 'salaire brut': 4000 })
console.log(engine.evaluate('salaire net').nodeValue)
// 3120
```

## Development

```sh
// Install the dependencies
yarn install

// Compile the Publicodes rules
yarn run compile

// Run the tests
yarn run test

// Run the documentation server
yarn run doc
```
npm package: @incubateur-ademe/publicodes-commun
Description: Ensemble de règles communes utilisées pour l'implémentation des modèles
Author: Clément Auger
Latest version: 2.0.1

# Règles communes Publicodes

Ensemble de règles communes utilisées pour l'implémentation des modèles [Publicodes](https://publi.codes/).

## Installation

```sh
yarn install publicodes-commun publicodes
```

## Development

```sh
// Install the dependencies
yarn install

// Compile the Publicodes rules
yarn run compile

// Run the tests
yarn run test

// Run the documentation server
yarn run doc
```

## Usage

### Directement depuis ce jeux de règles
```typescript
import { Engine } from 'publicodes'
import rules from 'publicodes-commun'

const engine = new Engine(rules)

console.log(engine.evaluate('mix électrique . empreinte carbone').nodeValue)
// 0.0519
```

### Dans un projet Publicodes

```sh
yarn add -D publicodes-commun
```

Dans un fichier `**.publicodes**` :

```yaml
importer!:
  depuis:
    nom: '@incubateur-ademe/publicodes-commun'
    url: https://github.com/incubateur-ademe/publicodes-commun
  dans: commun
  les règles:
    - mix électrique . empreinte carbone
    - mois par an
```

Les règles ainsi importées seront accessibles et utilisables dans le modèle. Par exemple:

```yaml
empreinte électricité:
    formule: commun . mix électrique . empreinte carbone * commun . mois par an * 100 kWh/mois
```
npm package: @incubateur-ademe/publicodes-empreinte-carbone-chauffage
Description: Modèle publicodes pour le calcul d'empreinte carbone de l'énergie en France (données base empreinte ADEME et CEREN)
Author: Clément Auger
Latest version: 1.1.0

# publicodes-empreinte-carbone-chauffage

Modèle publicodes pour le calcul d'empreinte carbone de l'énergie en France (données base empreinte ADEME et CEREN)

## Installation

```sh
yarn install publicodes-empreinte-carbone-chauffage publicodes
```

## Usage

```typescript
import { Engine } from "publicodes";
import rules from "Modèle publicodes pour le calcul d'empreinte carbone de l'énergie en France (données base empreinte ADEME et CEREN)";

const engine = new Engine(rules);

console.log(engine.evaluate("salaire net").nodeValue);
// 1957.5

engine.setSituation({ "salaire brut": 4000 });
console.log(engine.evaluate("salaire net").nodeValue);
// 3120
```

## Development

```sh
// Install the dependencies
yarn install

// Compile the Publicodes rules
yarn compile

// Run the tests
yarn run test

// Run the documentation server
yarn dev
```
npm package: @incubateur-ademe/publicodes-impact-livraison
Description: Modèle Publicodes pour le calcul de l'empreinte carbone de la livraison basé sur l'étude ADEME "Commerce en ligne impacts environnementaux de la logistique des transports et des déplacements"
Author: Clément Auger
Latest version: 0.7.0

# publicodes-impact-livraison

Modèle Publicodes pour le calcul de l'empreinte carbone de la livraison basé sur l'étude ADEME "Commerce en ligne impacts environnementaux de la logistique des transports et des déplacements"

## Installation

```sh
yarn install publicodes-impact-livraison publicodes
```

## Usage

```typescript
import { Engine } from 'publicodes'
import rules from 'publicodes-impact-livraison'

const engine = new Engine(rules)

console.log(engine.evaluate('salaire net').nodeValue)
// 1957.5

engine.setSituation({ 'salaire brut': 4000 })
console.log(engine.evaluate('salaire net').nodeValue)
// 3120
```

## Development

```sh
// Install the dependencies
yarn install

// Compile the Publicodes rules
yarn run compile

// Run the tests
yarn run test

// Run the documentation server
yarn run doc
```
npm package: @incubateur-ademe/publicodes-negaoctet
Description: Modèle Publicodes de la base de données NegaOctet
Latest version: 1.2.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<div align="center">
  <h3 align="center">
	<big>Publicodes x NegaOctet</big>
  </h3>
  <p align="center">
   <a href="https://github.com/incubateur-ademe/publicodes-negaoctet/issues">Report Bug</a>
   •
   <a href="https://incubateur-ademe.github.io/publicodes-negaoctet/">API docs</a>
   •
   <a href="https://github.com/incubateur-ademe/publicodes-negaoctet/blob/master/CONTRIBUTING.md">Contribute</a>
  </p>

![CI][ci-link] ![NPM][npm-link]

Un modèle [Publicodes](https://publi.codes) de la base de données
[NegaOctet](https://negaoctet.org/en/home/#Donnees).

Sa documentation est disponible [en
ligne](https://incubateur-ademe.github.io/publicodes-negaoctet/).

</div>

## Usage

Ajouter le paquet à vos dépendances :

```
yarn add @incubateur-ademe/publicodes-negaoctet
```

Instancier un nouveau moteur Publicode :

```typescript
import Engine from 'publicodes'
import rules from '@incubateur-ademe/publicodes-negaoctet'

const engine = new Engine(rules)

engine.evaluate('construction data center')
```

Utiliser certaines règles dans un autre modèle publicodes :

```yaml
importer!:
  depuis:
    nom: @incubateur-ademe/publicodes-negaoctet
    url: https://github.com/incubateur-ademe/publicodes-negaoctet
  dans: modèle numérique
  les règles:
    - numérique . internet . consommation horaire
    - ordinateur portable . construction
```

### En local

#### Compiler le modèle

> Les règles publicodes du modèle sont disponible dans le workspace
> [`rules/`](https://github.com/incubateur-ademe/publicodes-negaoctet/tree/main/rules).

Pour installer les dépendances et compiler tous les fichiers `.publicodes` en
un seul fichier JSON, il suffit d'exécuter la commande suivante :

```
yarn && yarn run build
```

#### Lancer la documentation

> Le code de la documentation est disponible dans le workspace
> [`doc/`](https://github.com/incubateur-ademe/publicodes-negaoctet/tree/main/doc).

Pour lancer l'app React en local permettant de parcourir la documentation du
modèle, il suffit d'exécuter la commande suivante :

```
yarn i --cwd doc

yarn run doc
```

#### Lancer l'API

> Le code de l'API est disponible dans le workspace
> [`api/`](https://github.com/incubateur-ademe/publicodes-negaoctet/tree/main/api).

Pour lancer le serveur Node permettant d'utiliser l'API REST, il faut utiliser les commandes
suivantes :

```
yarn run api

# En watch-mode
yarn run api:watch
```

## Publier une nouvelle version

Afin de publier une nouvelle version il suffit d'exécuter la commande `npm
version`.

[ci-link]: https://img.shields.io/github/actions/workflow/status/incubateur-ademe/publicodes-negaoctet/packaging.yaml?logo=github&logoColor=white&label=build%20%26%20test
[npm-link]: https://img.shields.io/npm/v/%40incubateur-ademe%2Fpublicodes-negaoctet?logo=npm&logoColor=white&color=salmon
npm package: @incubateur-ademe/publicodes-tools
Description: A set of utility functions to build tools around Publicodes models
Latest version: 0.4.2
Deprecated: Package migrated to @publicodes/tools: https://www.npmjs.com/package/@publicodes/tools

<div align="center">
  <h3 align="center">
	<big><code>@incubateur-ademe/publicodes-tools</code></big>
  </h3>
  <p align="center">
   <a href="https://github.com/incubateur-ademe/publicodes-tools/issues">Report Bug</a>
   •
   <a href="https://incubateur-ademe.github.io/publicodes-tools/">API docs</a>
   •
   <a href="https://github.com/incubateur-ademe/publicodes-tools/blob/master/CONTRIBUTING.md">Contribute</a>
   •
   <a href="https://publi.codes">Publicodes</a>
  </p>

![CI][ci-link] ![NPM][npm-link]

Set of utility functions that could be used to easily write tooling around [Publicodes](https://publi.codes) models.

:warning: <i>The project is currently in under experimentation and maintained
by the nosgestesclimat.fr team.</i> :warning:

</div>

## Features

- 🏗️ Compiles your set of Publicodes files into a standalone JSON file - [[doc](https://incubateur-ademe.github.io/publicodes-tools/modules/compilation.html#md:compile-a-model-from-a-source)]
- 📦 Resolves import from external Publicodes models, from source and from published [NPM packages](https://www.npmjs.com/package/futureco-data) - [[doc](https://incubateur-ademe.github.io/publicodes-tools/modules/compilation.html#md:import-rules-from-a-npm-package)]
- 🪶 Pre-computes your model at compile time and reduces [the number of rules by ~65%](https://github.com/incubateur-ademe/nosgestesclimat/pull/1697) - [[doc](https://incubateur-ademe.github.io/publicodes-tools/modules/optims.html)]

## Installation

```
npm install --dev-dependency @incubateur-ademe/publicodes-tools

yarn add -D @incubateur-ademe/publicodes-tools
```

## Usage in local

When developing in local:

1. you can link the local package with `yarn link`,
2. launch the compilation in watch mode with `yarn watch`,
3. and use it in your project with `yarn link @incubateur-ademe/publicodes-tools`.

[ci-link]: https://img.shields.io/github/actions/workflow/status/incubateur-ademe/publicodes-tools/build.yml?logo=github&logoColor=white&label=build%20%26%20test
[npm-link]: https://img.shields.io/npm/v/%40incubateur-ademe%2Fpublicodes-tools?logo=npm&logoColor=white&color=%23185dae
npm package: @incubatorit/node-redsys-api
Description: Node.js Redsys api implementation with new the key-hashed message authentication code (HMAC) SHA256 for the virtual payment gateway integration. This is a node.js port of the PHP API provided by [Redsys](http://www.redsys.es/)
Author: Santi Pérez
Latest version: 0.0.1

# node-redsys-api

Node.js Redsys api implementation with new the key-hashed message authentication code (HMAC) SHA256 for the virtual payment gateway integration. This is a node.js port of the PHP API provided by [Redsys](http://www.redsys.es/)

## Installation

	npm install node-redsys-api --save
	
## Examples

### Obtain signature and merchant parameters

`````
const Redsys = require('node-redsys-api').Redsys;

function createPayment(description, total, titular, orderId, paymentId) {
  const redsys = new Redsys();
  const mParams = {
    DS_MERCHANT_AMOUNT: total,
    DS_MERCHANT_ORDER: paymentId,
    DS_MERCHANT_MERCHANTCODE: TPVConfig.fucCode,
    DS_MERCHANT_CURRENCY: TPVConfig.currency,
    DS_MERCHANT_TRANSACTIONTYPE: TPVConfig.transaction_type,
    DS_MERCHANT_TERMINAL: TPVConfig.terminal,
    DS_MERCHANT_MERCHANTURL: `${baseDomain + TPVConfig.redirect_urls.callbackBasePath}/${orderId}`,
    DS_MERCHANT_URLOK: `${baseDomain + TPVConfig.redirectPaths.OK}&id=${orderId}`,
    DS_MERCHANT_URLKO: `${baseDomain + TPVConfig.redirectPaths.KO}&id=${orderId}`,
  };

  return { signature: redsys.createMerchantSignature(TPVConfig.secret, mParams), merchantParameters: redsys.createMerchantParameters(mParams), raw: mParams };
}
`````

### Process TPV callback

`````
const merchantParams = response.Ds_MerchantParameters || response.DS_MERCHANTPARAMETERS;
const signature = response.Ds_Signature || response.DS_SIGNATURE;

const merchantParamsDecoded = redsys.decodeMerchantParameters(merchantParams);
const merchantSignatureNotif = redsys.createMerchantSignatureNotif(TPVConfig.secret, merchantParams);
const dsResponse = parseInt(merchantParamsDecoded.Ds_Response || merchantParamsDecoded.DS_RESPONSE, 10);

if (redsys.merchantSignatureIsValid(signature, merchantSignatureNotif) && dsResponse > -1 && dsResponse < 100) {
/* TPV payment is OK;
... */
} else {
/* 'TPV payment is KO;
... */
}
`````

## Tests
	
	npm run test
	
## Alternative implementations

You can download [Java, PHP, .NET implementations](http://www.redsys.es/#descargas)

## Authors

	Santi Pérez

## License

	MIT
npm package: @incubiq/siwc
Description: Sign-In with Cardano JS libs
Author: Eric Duneau
Latest version: 0.0.8

# siwc

Sign-In With Cardano (DEPRECATED).

This package is now replaced by @incubiq/siww which is more generic whilst still providing a full implementation for connecting to Cardano wallets via a JS library

## Install

This module is installed directly using `npm`:

```sh
$ npm install @incubiq/siwc
```

## License

[MIT](LICENSE)

[node-url]: https://nodejs.org/en/download/
npm package: @incubrain/foundry
Description: Nuxt layer for IncuBrain Foundry
Author: IncuBrain
Latest version: 0.6.1

# @incubrain/foundry

A Nuxt layer for building validation landing pages and authority documentation sites. Forked from [Docus](https://docus.dev) by the Nuxt Content team.

## Installation

```bash
npm install @incubrain/foundry
```

Add to your `nuxt.config.ts`:

```ts
export default defineNuxtConfig({
  extends: ['@incubrain/foundry']
})
```

## Features

- **Landing Pages** — Section-driven pages with signal capture (email, presales, bookings)
- **Documentation** — Authority docs with citations, glossary, bibliography, and MCP integration
- **Event Tracking** — Analytics-agnostic event system with webhook streaming and retry
- **RSS Feeds** — Config-driven feed generation from Nuxt Content collections
- **Changelog** — Timeline component for versioned entries with author resolution
- **Comments** — Dev-only documentation review system with text selection and element selection
- **Nuxt Content** — Markdown-first content with MDC component support
- **Nuxt UI** — Pre-styled components with Tailwind v4

## Quick Start

```bash
# Create a new project
npx create-foundry my-project
cd my-project
npm install
npm run dev
```

## Requirements

- Nuxt 4.x
- Node.js 22+

## Documentation

Full documentation: [foundry.incubrain.org](https://foundry.incubrain.org)

## Credits

Foundry's docs module is heavily inspired by [Docus](https://docus.dev) ([GitHub](https://github.com/nuxt-content/docus)), the documentation template by the Nuxt Content team. Docus provides a fully integrated documentation solution with Nuxt UI, MDC components, full-text search, and theming. Foundry builds on this foundation and adds signal capture, event tracking, and webhook streaming for demand validation.

**What changed from Docus:**
- Removed i18n — browser-native translation is improving rapidly with AI, and maintaining translations slows down shipping. Focus on writing great content in one language.
- Added glossary and citation system

For Docus-inherited features (MDC components, content collections, search, theming), the [Docus documentation](https://docus.dev/en) is an excellent reference alongside these docs.

## License

MIT
npm package: @incuca/vue3-toaster
Description: Lightweight toast-notification plugin for Vue 3
Latest version: 1.1.1

# Vue3 Toaster

> Lightweight toast-notification plugin for Vue 3

## Installation

```bash
npm install @incuca/vue3-toaster
```

## Usage

Import in your main.js

```js
import Toaster from "@incuca/vue3-toaster";

createApp(App)
  .use(Toaster)
  .mount("#app");
```

Usage in your components with Options API

```js
this.$toast.show(message, { ...options });
this.$toast.success(`Hey! I'm here`);
this.$toast.error(`Hey! I'm here`);
this.$toast.warning(`Hey! I'm here`);
this.$toast.info(`Hey! I'm here`);
// Close all opened toasts after 3000ms
setTimeout(this.$toast.clear, 3000);
```

Usage with Composition API

```js
import { inject } from "vue";
const toast = inject("toast");
toast.show(message, { ...options });
```

## Available options

The API methods accepts these options:

| Attribute     |      Type      |    Default     | Description                                                              |
| :------------ | :------------: | :------------: | :----------------------------------------------------------------------- |
| message       |     String     |       --       | Message text/html (required)                                             |
| type          |     String     |   `default`    | `success`, `info`, `warning`, `error` or `default`                       |
| position      |     String     | `bottom-right` | `top`, `bottom`, `top-right`, `bottom-right`,`top-left` or `bottom-left` |
| duration      | Number/Boolean |     `4000`     | Visibility duration in milliseconds or `false` that disables duration    |
| dismissible   |    Boolean     |     `true`     | Allow user close by clicking                                             |
| onClick       |    Function    |       --       | Do something when user clicks                                            |
| onClose       |    Function    |       --       | Do something after toast gets dismissed                                  |
| queue         |    Boolean     |    `false`     | Wait for existing to close before showing new                            |
| maxToasts     | Number/Boolean |    `false`     | Defines the max of toasts showed in simultaneous                         |
| pauseOnHover  |    Boolean     |     `true`     | Pause the timer when mouse hover a toast                                 |
| useDefaultCss |    Boolean     |     `true`     | Use default css styles                                                   |

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.