open-index/open-npm huggingface dataset:
npm package: @tabujs/plugin-markdown
Description: Markdown plugin for tabu
Author: Gary Doublé
Latest version: 0.4.0

# `@tabujs/plugin-markdown`
An aesthetically simple, peculiarly modular, blog-aware, static site generator

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

> **IMPORTANT NOTICE**  
> This project is under development and as such the information and implementation is likely to be incorrect and/or incomplete and may change at any time without warning or be revised entirely.  
> 
> Please avoid using in production until this notice has been removed, unless you understand and accept the risks involved.  
> Thank you and happy coding.


**This module contains the Tabu markdown plugin**
npm package: @tabujs/plugin-sass
Description: sass plugin for tabu
Author: Gary Doublé
Latest version: 0.4.0

# `@tabujs/plugin-sass`
An aesthetically simple, peculiarly modular, blog-aware, static site generator

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

> **IMPORTANT NOTICE**  
> This project is under development and as such the information and implementation is likely to be incorrect and/or incomplete and may change at any time without warning or be revised entirely.  
> 
> Please avoid using in production until this notice has been removed, unless you understand and accept the risks involved.  
> Thank you and happy coding.


**This module contains the Tabu sass plugin**
npm package: @tabujs/plugin-stylus
Description: Stylus plugin for tabu
Author: Gary Doublé
Latest version: 0.4.0

# `@tabujs/plugin-stylus`
An aesthetically simple, peculiarly modular, blog-aware, static site generator

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

> **IMPORTANT NOTICE**  
> This project is under development and as such the information and implementation is likely to be incorrect and/or incomplete and may change at any time without warning or be revised entirely.  
> 
> Please avoid using in production until this notice has been removed, unless you understand and accept the risks involved.  
> Thank you and happy coding.


**This module contains the Tabu stylus plugin**
npm package: @tabular-state/api-feathers
Description: This package provides a simple [Feathers](https://feathersjs.com/) client adapter for [@tabular-state/store](../store/README.md).
Author: Gridventures GmbH
Latest version: 1.0.1-alpha.4

# Feathers Client Adapter

This package provides a simple [Feathers](https://feathersjs.com/) client adapter for [@tabular-state/store](../store/README.md).

## Installation

```bash
npm install @tabular-state/api-feathers
```

```bash
pnpm install @tabular-state/api-feathers
```

```bash
yarn add @tabular-state/api-feathers
```

## Usage

```ts
import { createFeathersClientAdapter, toFeathersQuery } from '@tabular-state/api-feathers';

const feathersClient = feathers();
// ... configure feathers client

// you do not need to handle response values from feathersClient!
// response values are handled by hooks inside createFeathersClientAdapter

const store = createStore<Tables>();

store.plugin({
  mount: () => {
    const disposeGetRow = store.hook('before', 'getRow', (ctx) => {
      const { table, rowId } = ctx.params;
      feathersClient
        .service(table)
        .get(rowId)
        .catch((error) => {
          // handle error
        });
    });

    const disposeQueryRows = store.hook('before', 'queryRows', (ctx) => {
      const { table, query } = ctx.params;
      const feathersQuery = toFeathersQuery(query);
      feathersClient
        .service(table)
        .find({
          query: feathersQuery,
        })
        .catch((error) => {
          // handle error
        });
    });

    return () => {
      disposeGetRow();
      disposeQueryRows();
    };
  },
});

feathers.configure(
  createFeathersClientAdapter({
    store,
    services: {
      users: {
        events: ['created', 'updated', 'patched', 'removed'], // listen to socket events if socket.io-client is used
        idField: 'id',
        tableName: 'users',
      },
    },
    dynamicServices(path) {
      const regex = /^(\/?)custom-service\/(?<uuid>[a-zA-Z0-9-]*)\/sub-custom-service(\/?)$/d;
      const isCustomService = regex.exec(path);
      if (isCustomService && isCustomService.groups) {
        const { uuid } = isCustomService.groups;
        return {
          idField: 'id',
          tableName: `custom-service/${uuid}/sub-custom-service`,
        };
      }
      return null;
    },
  }),
);
```

## Explanation

This package provides a simple [Feathers](https://feathersjs.com/) client adapter for [@tabular-state/store](../store/README.md) by using hooks and socket events.

It uses the hooks `after.find`, `after.get`, `after.create`, `after.update`, `after.patch` and `after.remove` to update the store.
npm package: @tabuleo/prettier-config
Description: Tabuleo's default prettier configuration
Author: Oualid HASSAN
Latest version: 1.0.0

# Tabuleo's default prettier configuration

### Install

npm i --save-dev @tabuleo/prettier-config

### Use

In your `package.json` file, add :

    {
        //...
        "prettier": "@tabuleo/prettier-config"
        //...
    }
npm package: @taceo/poseidon2
Description: Poseidon2 hash function over the BN254 scalar field (state sizes t=2,3,4,8,12,16)
Latest version: 0.2.0

# @taceo/poseidon2

Poseidon2 permutation for the BN254 scalar field, with **parity** to the Rust [taceo-poseidon2](https://github.com/TaceoLabs/poseidon2) crate.

Based on [Poseidon2 (eprint.iacr.org/2023/323)](https://eprint.iacr.org/2023/323). Parameters are compatible with the [HorizenLabs parameter script](https://github.com/HorizenLabs/poseidon2/blob/main/poseidon2_rust_params.sage).

## Installation

```bash
pnpm add @taceo/poseidon2
```

## Usage

```ts
import { bn254 } from '@taceo/poseidon2';

// State sizes t=2, t=3, t=4, t=8, t=12, t=16
const state = [0n, 1n, 2n, 3n];
const out = bn254.t4.permutation(state); // returns new array
bn254.t4.permutationInPlace(state); // mutates in place
```

Field elements are BN254 scalar field elements (`bigint` in the range `[0, p)`), we use `@noble/curves`’s `bn254_Fr` internally.

## API

- **`bn254.t2` … `bn254.t16`** — permutation for state size 2, 3, 4, 8, 12, 16
  - **`permutation(state: readonly bigint[]): bigint[]`** — returns new state
  - **`permutationInPlace(state: bigint[]): void`** — mutates state

## License

MIT or Apache 2.0