open-index/open-npm huggingface dataset:
npm package: @itravelholidays/stylelint-polaris
Description: Polaris Design System Stylelint tooling
Author: iTravelHolidays
Latest version: 14.0.2

# Stylelint Polaris

Collection of Stylelint configs and rules that promote Polaris Design System adoption and coverage

[Stylelint Polaris documentation](https://polaris.shopify.com/tools/stylelint-polaris)
npm package: @itreg/shuffle-array
Description: A small library that takes an array as input and returns a new array that is shuffled.
Author: itreg
Latest version: 0.1.1

# @yourusername/shuffle-array (Class 2 Example)

> A small library that takes an array as input and returns a new array that is shuffled.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
   - [Examples](#examples)
- [Contribution](#contribution)
- [Security](#security)
- [License](#license)

## Installation

Install via npm:

```bash
npm install @yourusername/shuffle-array
```
Install via yarn:

```bash
yarn add @yourusername/shuffle-array
```

## Usage

Basic Usage

```js
import shuffleArray from '@yourusername/shuffle-array';

const startArray = [1, 2, 3, 4, 5];
const newShuffledArray = shuffleArray(startArray);

console.log(startArray);       // e.g., [1, 2, 3, 4, 5]
console.log(newShuffledArray); // e.g., [3, 1, 5, 2, 4]
```

### Examples

Shuffle a list of user IDs:

```js
import shuffleArray from '@yourusername/shuffle-array';

const userIds = ['u1', 'u2', 'u3', 'u4'];
const randomizedOrderOfUserIds = shuffleArray(userIds);

console.log(randomizedOrderOfUserIds); // e.g., ['u1', 'u3', 'u4', 'u2']
```

Use in a game for randomizing cards:

```js
import shuffleArray from '@yourusername/shuffle-array';

const deck = ['Ace of Spades', 'Two of Hearts']; // some card deck
const shuffledDeck = shuffleArray(deck);

console.log(shuffledDeck); // e.g., ['Two of Hearts', 'Ace of Spades', ...]
```

## Contribution

Contributions are welcome! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for more details.

## Security

Please refer to our [SECURITY.md](./SECURITY.md) for information about our security policies, how to report vulnerabilities, and our approach to handling security concerns.

**Important Note**: This library uses non-cryptographic randomness (`Math.random()`). Do not rely on it for security-critical functionality.

## License

This project is licensed under the [MIT License](./LICENSE.md).
npm package: @itreverie/itr-components-basics
Description: A package with the basic component elements for a site.
Author: Brenda Jimenez
Latest version: 0.0.6

# @itreverie/itr-components-basics
A package of basic elements to use along all the the site.

If you would like to use the basic components, you just need to install the basic-components package. 

## Development
```shell
npm install
npm run dev # or 'prod'
```
npm package: @itrigger/dagre
Description: Graph layout for JavaScript
Author: Chris Pettitt
Latest version: 0.8.6-pre

# dagre - Graph layout for JavaScript

[![Build Status](https://secure.travis-ci.org/dagrejs/dagre.svg?branch=master)](http://travis-ci.org/dagrejs/dagre)

Dagre is a JavaScript library that makes it easy to lay out directed graphs on
the client-side.

For more details, including examples and configuration options, please see our
[wiki](https://github.com/dagrejs/dagre/wiki).

## License

dagre is licensed under the terms of the MIT License. See the LICENSE file
for details.
npm package: @itrigger/dagre-d3
Description: A D3-based renderer for Dagre
Author: Chris Pettitt
Latest version: 0.6.6-pre

# dagre-d3 - A D3-based renderer for dagre

[Dagre](https://github.com/dagrejs/dagre) is a JavaScript library that makes it easy to lay out directed graphs on
the client-side. The dagre-d3 library acts as a front-end to dagre, providing
actual rendering using [D3](http://d3js.org).

For more details, including examples and configuration options, please see our
[wiki](https://github.com/dagrejs/dagre-d3/wiki).

## License

dagre-d3 is licensed under the terms of the MIT License. See the LICENSE file
for details.
npm package: @itross/c11n
Description: Node.js app configuration from file, envirnoment variables and remote secrets manager with JSON schema verification and type coercion
Author: Luca Stasio
Latest version: 0.1.2

# @itross/c11n

<p>A na&iuml;f Node.js app configuration from file, envirnoment variables and remote secrets manager with JSON schema verification and type coercion.</p>

## Install

```bash
npm i @itross/c11n
```

## Usage

TODO

## Tests
__NOTE__: *c11n.config.json* is just a sample config file for tests.

To correctly test AWS Secrets Manager client, you must have env vars:
* AWS_REGION=us-east-1
* AWS_ACCESS_KEY_ID=
* AWS_SECRET_ACCESS_KEY=

You can put them in a .env file. AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY can be null, but you need your AWS credentials file in your environment.
## API

TODO

## License

[MIT](LICENSE)
npm package: @itross/cbus
Description: Node.js command bus
Author: Luca Stasio
Latest version: 0.1.2

# @itross/cbus

This module implements a simple command bus to help app components interact via
commands.

## Install

```bash
npm i @itross/cbus
```

## Usage

```js
'use strict'

const CommandBus = require('.')

const cbus = new CommandBus()

// register your handler
cbus.registerHandler('create_user', async (data) => {
  // your handling code

  // call a service or whatever
  const user = await saveUser(data)

  return user
})

async function yourMagicBusiness () {
  // ...

  // send your command
  const user = await cbus.send('create_user', {
    username: 'frank.zappa',
    email: 'fz@test.com'
  })
  console.log(`created user: ${JSON.stringify(user, null, 2)}`)

  // ...
}

yourMagicBusiness()

// somewhere in your business galaxy
async function saveUser (data) {
  // your (async) business

  // for sake of test
  return Promise.resolve({
    id: 1,
    ...data
  })
}
```

## API

### registerHandler(command, handler)
Register an handler for a specific command.
* ```command```: a string representing the command name
* ```handler```: a function accepting an object as the command payload

### hasHandler(command)
Checks if an handler for the input command has been registered.<br>
Returns a boolean value.
* ```command```: a string representing the command name to check handler for

### send(command, data)
Send the command with data payload to the handler.<br>
Returns the command result, if any.<br>
Rejects if no handler has been registered for the command.
* ```command```: a string representing the command name to be sent
* ```data```: an object to be sent as command payload

## License

[MIT](LICENSE)
npm package: @itross/eslint-config-itr
Description: JavaScript ITR Style Guide
Author: Luca Stasio
Latest version: 1.0.3

# @itross/eslint-config-itr

JavaScript base Style Guide for @itross projects.


> **Note**: this Style Guide is heavily based on the one from the [Node.js project](https://github.com/nodejs/node/blob/main/.eslintrc.js).


## License

[MIT](LICENSE)
npm package: @itross/fp-authz
Description: Fastify plugin for JWT authorization with roles
Author: Luca Stasio
Latest version: 0.1.1

# fp-authz

Fastify plugin for JWT authorization with roles.<br>
Authorization can be performed both for all roles and for a subset of them.<br>
However, the user's role must be one of the configured ones.<br>

## Install

```bash
npm i @itross/fp-authz
```

## License

[MIT](LICENSE)
npm package: @itross/fp-cbus
Description: Fastify plugin for @itross/cbus.
Author: Luca Stasio
Latest version: 0.1.2

# fp-cbus

Fastify plugin for [@itross/cbus](https://github.com/itross/cbus).

## Install

```bash
npm i @itross/fp-cbus
```

## License
[MIT](LICENSE)
npm package: @itross/fp-moduloader
Description: Load modules plugin for a Fastify application
Author: Luca Stasio
Latest version: 0.1.1

# @itross/fp-moduloader

Load modules plugin for a Fastify application.

## Install

```bash
npm i @itross/fp-moduloader
```

## TODO
**_Write tests!!_**

## License

[MIT](LICENSE)
npm package: @itross/fp-pager
Description: Fastify plugin to get pagination params from request and return paged resources in response
Author: Luca Stasio
Latest version: 0.1.2

# @itross/fp-pager

Fastify plugin to get pagination params from request and return paged resources in response.

## Install

```bash
npm i @itross/fp-pager
```

## License

[MIT](LICENSE)
npm package: @itross/may-i-run
Description: A process lock manager for Node.js
Author: Luca Stasio
Latest version: 0.1.0

# @itross/may-i-run

A distributed Node.js process locker.

_Locks are distributed only on a single MySQL instance_.

![Architecture](./architecture.png)

## Install

```bash
npm i @itross/may-i-run
```

## Usage

TODO

## API

TODO

## License

[MIT](LICENSE)
npm package: @its-clawdia/ocusage
Description: CLI tool for analyzing OpenClaw token usage and costs from local session logs
Author: its-clawdia
Latest version: 1.0.1
Deprecated: Renamed to clawsage - use npx clawsage instead

# ocusage

OpenClaw Usage — cost analysis CLI for OpenClaw session logs.

## Quick Start

```bash
# Run without installing
npx ocusage@latest
bunx ocusage@latest

# Or install globally
npm install -g ocusage
```

## Usage

```
ocusage [command] [options]

Commands:
  daily    (default) Aggregate costs by date
  weekly   Aggregate costs by ISO week
  monthly  Aggregate costs by month
  session  Per-session breakdown

Options:
  --since YYYYMMDD    Filter sessions on or after this date
  --until YYYYMMDD    Filter sessions on or before this date
  --json              Output as JSON
  --breakdown         Show per-model breakdown
  --timezone TZ       Timezone for date grouping (default: local)
  --path DIR          Custom session directory
  --help, -h          Show help
```

## Examples

```bash
ocusage                     # Daily report
ocusage daily               # Daily report
ocusage monthly             # Monthly report
ocusage weekly              # Weekly report
ocusage session             # Per-session breakdown
ocusage --since 20260301    # Filter from March 2026
ocusage --json              # JSON output
ocusage --breakdown         # Per-model cost breakdown
```

## Data Source

Reads from `~/.openclaw/agents/main/sessions/*.jsonl` by default.
npm package: @its-company/vue-split-progress-bar
Description: A progress bar component for Vue.js
Author: its-company, https://itspace.company/
Latest version: 1.0.2

# vue-split-progress-bar
ProgressBar for vue.js
SVG/Vector based
4 modes: _Line_, _Circle_, _Cylinder_ and _Battery_
v1.0.0

Do you have questions or want a new feature? Use the "Issues" section :point_left:

## Setup
install:
```bash
npm install @its-company/vue-split-progress-bar --save
```

Import: (in your main.js)
```javascript
import ProgressBar from '@its-company/vue-split-progress-bar'
Vue.use(ProgressBar)
```
## Usage
Use: (in your local .vue file/component, html section)

```xml
<progress-bar
  :label="data.label"
  :max="200"
  :data="data.elementData"
/>
```
```javascript
// variant 1
data: {
  label: "Risk of Loss",
  elementData: [
    {
      style: "low",
      name: "Low",
      value: 1,
    },
    {
      style: "middle",
      name: "Middle",
      value: 78,
    },
    {
      style: "high",
      name: "High",
      value: 120,
    },
  ],
}
// variant 2
data: {
  label: "Satisfaction",
  elementData: [
    {
      style: "low",
      name: "Low",
      value: 1,
    },
    {
      style: "middle",
      name: "Middle",
      value: 8,
    },
    {
      style: "high",
      name: "High",
      value: 10,
    },
  ],
}
// variant 3
data: {
  label: "Impact of Loss",
  elementData: [
    {
      style: "low",
      name: "Low",
      value: 40,
    },
    {
      style: "middle",
      name: "Middle",
      value: 144,
    },
    {
      style: "high",
      name: "High",
      value: 16,
    },
  ],
}
// variant 4
data: {
  elementData: [
    {
      style: "low",
      name: "Low",
      value: 140,
    },
    {
      style: "#bee5eb",
      name: "Middle",
      value: 40,
    },
    {
      style: "",
      name: "High",
      value: 16,
    },
  ],
}
```

### Props
| Name     | Type   | Required    | Default     | Description                       |
| ---      | ---    | ---         | ---         |  ---                              |
| data     | Object | true        | null        | Data to fill in the progress bar  |
| label    | String | false       | ''          | Title progress                    |
| max      | Number | false       | 100         | The maximum progress value        |

### Properties
| Name            | Type    | Default           | Description                             |
| ---             | ---     | ---               | ---                                     |
| value           | Number  | 0                 | Hint Quantity Value                     |
| styles          | Array   | ['low', 'middle', 'high', 'none'] | Standard Style Array    |
| showInfo        | Boolean | false             | Tooltip Visibility Control              |
| percent         | String  | ''                | Percent value for tooltip               |
| name            | String  | ''                | The meaning of the name for the tooltip |
| style           | String  | ''                | Tooltip Style Value                     |
| customStyle     | Object  | {}                | Variable for custom styles of the progress bar |
npm package: @its-edmund/eslint-config-react
Description: Shareable ESLint config for TypeScript React projects.
Latest version: 1.0.0

# @its-edmund/eslint-config-react

### Installation

```bash
yarn install --dev @its-edmund/eslint-config-react eslint
```

### Usage

Add this line to your `package.json`

```json
"eslintConfig": {
  "extends": "@its-edmund/eslint-config-react"
}
```
npm package: @its-forked/peerjs-on-node
Description: nodejs wrtc + peerjs
Author: Mantaseus
Latest version: 1.0.3

# Node PeerJS

[![npm version](https://badge.fury.io/js/peerjs-on-node.svg)](https://badge.fury.io/js/peerjs-on-node)

A port of the [PeerJS library](https://github.com/peers/peerjs) which currently only works on browsers. It uses the `wrtc` node module to provide webrtc functionality and fixes various compatibility issues with NodeJS.

## Install

```
npm i --save peerjs-on-node
```

## Usage

Just refer to the PeerJS documentation for a more detailed description of how the module works. You can also take a look at the `examples/` directory in this repo to see a small example using `peerjs-on-node`
- Import the module like this

    ```
    const Peer = require('peerjs-on-node').Peer;
    ```

## Build history

#### v1.0.0

- Based on commit [0645dc3](https://github.com/peers/peerjs/commit/0645dc3ddd51cbc1649ed13af56d9b66958fd62b) of PeerJS
- First release version that tries to make most of the peerJS functionality work on NodeJS
- See file `patch/patch.diff` for all the modification made to the base PeerJS code and get it running on NodeJS
- PeerJS code not included in this repo

#### v1.0.1

- Updated some documentation

#### v1.0.2

- Updated a bit more of the documentation