open-index/open-npm huggingface dataset:
npm package: @mrprim/dice-roller
Description: A typescript library for rolling dice using dice notation.
Author: Sergio Rodriguez
Latest version: 1.0.10

# Dice Roller
A typescript library for rolling dice using dice notation.

## Installation

### NPM
```bash
npm install @mrprim/dice-roller
```

### Yarn
```bash
yarn add @mrprim/dice-roller
```

## Usage

```javascript
import roll from '@mrprim/dice-roller'

const total = roll('1d6+1d4+3')
const details = roll('1d4-1', true) // need to update this api to take an options object
```

### Dice Notation

The input of the `roll` function must be a properly formatted string in dice notation format. EX: ` 2x4d10`

Multiple dice notation strings can be separated by `+` or `-` to roll more than one type of die or add one or more modifiers to a roll.

#### Multiplier (Nx)
Perform the following dice action multiple times - `2x4d10` rolls `4d10` twice.

Valid values: Integer

#### Dice Type (dN)
The type of die to roll.

Valid values: Integer, 'F' (for Fate die), '%' (for Percentile die; equivalent to d100)

#### Keep Highest N Dice (kN, khN)
The number of dice to use to calculate the total of a roll, keeping those with the highest value.

Valid values: Integer

#### Keep Lowest N Dice (klN)
The number of dice to use to calculate the total of a roll, keeping those with the lowest value.

Valid values: Integer

#### Reroll Dice Above N (! or !N)
Dice that roll N or above are rerolled.  If N is left blank then it is set to the maximum value of the dice.

Valid values: Integer
npm package: @mrprim/random-rpg-stuff
Description: A library to randomly generate names, characters, monsters and all manner of rpg stuff
Author: Sergio Rodriguez
Latest version: 1.0.16

# random-rpg-stuff
A Javascript library for generating random names, characters, and all sorts of other things.

## Usage
```javascript
const import randomRpgStuff from 'random-rpg-stuff'

randomRpgStuff('animal') //dog
randomRpgStuff('weapon') //sword
randomRpgStuff(['barbarianName', 'bodyPart']) //wrist
```

## Methods


## Generators

`'animal'` - String

'barbarianName' - String

'bodypart' - String

'class' - String
'descriptor' - String
'job' - String
'noun' - String
'oath' - String
'weapon' - String

umdaarCharacter - Object
npm package: @mrprim/react-dicier
Description: A React wrapper for the Dicier font (designed by Speak the Sky - https://https://speakthesky.itch.io/typeface-dicier)
Author: Sergio Rodriguez
Latest version: 0.0.1

# react-dicier
A React wrapper for the Dicier icon font.

## What is Dicier?

Dicier is an analog game font designed by [Speak the Sky](https://speakthesky.itch.io/). It is released under a [CC BY 4.0 license](https://creativecommons.org/licenses/by/4.0/).

You may download the Dicier typeface at [itch.io](https://speakthesky.itch.io/typeface-dicier).

No modifications have been made to the Dicier font in this project.

## Installation

```bash
npm i @mrprim/react-dicier
```

## Usage

```javascript
import { DicierIcon } from 'react-dicier'

const () =>
  <div>
    <DicierIcon mode='block' weight='light'>4</DicierIcon>
  </div>
```
npm package: @mrpritchett/editorjs-mentions
Description: Mentions Inline Tool for EditorJS
Author: Matt Pritchett
Latest version: 0.2.0

# Mentions

Allows searching of a user API in order to add mentions to an EditorJS instance.

## Installation

### Install via NPM

Get the package

```shell
npm i --save-dev @mrpritchett/editorjs-mentions
```

### Load from CDN

You can use package from jsDelivr CDN.

```html
<script src="https://cdn.jsdelivr.net/npm/@mrpritchett/editorjs-mentions"></script>
```

## Usage

Add a new Tool to the `tools` property of the Editor.js initial config.

```javascript
var editor = EditorJS({
  ...

  /**
   * Tools list
   */
  tools: {
    mention: {
      class: MentionTool,
      config: {
        endpoint: 'http://localhost:3000/',
        queryParam: 'search'
      }
    }
  },

  ...
});
```

## Config Params

Search requests will be sent to the server by `GET` requests with a search string as a query param.

List of server connection params which may be configured.

`endpoint` — URL of the server's endpoint for getting suggestions.

`queryParam` — param name to be sent with the search string.

## Server response data format

For endpoint requests server **should** answer with a JSON containing following properties:

- `success` (`boolean`) — state of processing: `true` or `false`
- `items` (`{name: string, profile_photo?: string}`) — an array of found items. Each item *must* contain `name` param. The `profile_photo`param is optional. You can also return any other fields which will be stored in a link dataset.

Content-Type: `application/json`.

```json
{
  "success": true,
  "items": [
    {
      "profile_photo": "http://placehold.it/300x200",
      "name": "John Doe",
    },
    {
      "href": "http://placehold.it/300x200",
      "name": "Jane Doe",
    }
  ]
}
```

## Output data

Marked text will be wrapped with a `span` tag.

Additional data will be store in element's dataset: `data-name`, `data-profile_photo` and other custom fields.

```json
{
    "type" : "text",
    "data" : {
        "text" : "Create a directory for your module, enter it and run <a href=\"https://codex.so/\" data-name=\"CodeX Site\">npm init</a> command."
    }
}
```

## Shortcut

By default, shortcut `CMD (CTRL) + 2` is used for pasting links as usual.
npm package: @mrpullen/fluentui-carousel
Description: A WebComponent Carousel implementation using the FAST Element Microsoft Web Components library - for eventual integration with @fluentui-carousel web component
Author: Michael Pullen
Latest version: 1.0.7

# FluentUI Carousel

The goal of this project is to build a fluentui-carousel. I intend to use this on my Handlebars WebPart - with other FluentUI WebComponents.

## Fluent Carousel Spec

I would like to be able to have the implementation work similiar to this..

[SPECIFICATION](https://github.com/microsoft/fluentui/blob/master/packages/react-components/react-carousel/library/docs/Spec.md)

I've taken most of the design considerations from the link below into account - will work on shoring this up in the next several revisions.

[FAST CAROUSEL](https://github.com/microsoft/fast/blob/main/specs/carousel/carousel.md)


## Usage

```html

    <fluentui-carousel autoplay="true" autoplay-interval="3000" loop="true">
        <div class="slide">Slide 1</div>
        <div class="slide">Slide 2</div>
        <div class="slide"><h3>This is an example of an incredibly long slide title that should be hidden by the component</h3></div>
        <div class="slide">Slide 4</div>
        <div class="slide">Slide 5</div>
    </fluentui-carousel>

```

## CSS Customizations

```css

fluentui-carousel {
  --carousel-controls: #106ebe;
  --carousel-controls-hover: #022f55;
  --carousel-controls-active: #022f55;
  --carousel-controls-hover-background: rgba(255, 255, 255, 0.4);
  --carousel-slide-transition: transform 0.5s ease; 
  --carousel-indicator-width: 10px;
  --carousel-indicator-height: 10px;
  --carousel-indicator-margin: 0 2px;
  --carousel-indicator-border-radius: 100%;
  --carousel-indicator-opacity: .5;
}


```
npm package: @mrpurushotam/prisma-package
Description: Shared Prisma client and helpers for use across microservices
Author: Purushotam
Latest version: 1.0.2

# Shared Prisma Package

A reusable Prisma client wrapper and helper utility package to be used across multiple microservices in a monorepo.

## 📦 Features

- Centralized Prisma Client generation
- Shared helper functions (e.g. `getApprovedUsers`, `getPublicVideos`)
- Works with `.env` or accepts direct database URL
- Optimized for use in both dev and production (e.g. avoids multiple Prisma instances)

---

## 📁 Folder Structure
npm package: @mrquake/quakecode-agent-core
Description: Quake Code agent runtime with transport abstraction, state management, and tool execution
Author: MrQuake
Latest version: 0.64.1

# @mrquake/quakecode-agent-core

Quake Code Agent Core is the runtime package behind Quake Code.

It provides:
- agent loop
- tool execution
- message/state handling
- event streaming

## Install

```bash
npm install @mrquake/quakecode-agent-core
```
npm package: @mrquake/quakecode-ai
Description: Quake Code AI layer with provider integration, auth, and model discovery
Author: MrQuake
Latest version: 0.64.1

# @mrquake/quakecode-ai

Quake Code AI is the provider and model layer behind Quake Code.

It handles:
- model/provider registration
- OAuth and API-key auth
- provider-specific request/stream handling
- model discovery and capability metadata

## Install

```bash
npm install @mrquake/quakecode-ai
```

## Purpose

This package is intended for Quake Code and related tooling in the Quake ecosystem.
npm package: @mrquake/quakecode-tui
Description: Quake Code terminal UI library with differential rendering for text-based applications
Author: MrQuake
Latest version: 0.64.3

# @mrquake/quakecode-tui

Quake Code TUI is the terminal UI toolkit used by Quake Code.

It powers:
- input components
- overlays
- selectors
- markdown rendering
- terminal rendering primitives

## Install

```bash
npm install @mrquake/quakecode-tui
```
npm package: @mrravipandee/localstorage-js
Description: A lightweight utility to simplify working with localStorage in JavaScript. Includes expiry, backup/restore, and debug helpers.
Author: Ravi Pandey
Latest version: 1.1.0

# localstorage-js

A lightweight and powerful JavaScript utility for handling `localStorage` operations with ease. It supports data expiry, backup/restore, and includes debug tools to simplify development. Works with Vanilla JS, React, Next.js, Vue, Angular, and more.

---

## 🚀 Features

- Simple `set` and `get` methods  
- Expiry support (auto-remove items after time)  
- Backup & restore storage data  
- Debug logging for development  
- Works with all JavaScript frameworks  
- Zero dependencies

---

## 📦 Installation

```bash
npm install localstorage-js
```

---

## 📚 Usage

### Basic Usage (Vanilla JS / ES Module)

```js
import { storage } from 'localstorage-js';

// Set and Get
storage.setItem('user', { name: 'Ravi', role: 'Developer' });
console.log(storage.getItem('user'));
```

### Expiry Support

```js
// Store with 1-minute expiry
storage.setWithExpiry('session', 'abc123', 1);
console.log(storage.getWithExpiry('session'));
```

### Backup & Restore

```js
const backup = storage.backup();
storage.clear();
storage.restore(backup);
```

### Debugging

```js
storage.debugSet('email', 'imravipanday@gmail.com');
storage.debugGet('email');
```

---

## 🧪 Example (HTML Test)

Create a file `test.html`:

```html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Test LocalStorage</title>
  </head>
  <body>
    <h2>Check Console for Output</h2>
    <script type="module">
      import { storage } from '../src/index.js';

      storage.setItem('user', { name: 'Ravi', role: 'Dev' });
      console.log('User:', storage.getItem('user'));

      storage.setWithExpiry('session', 'abc123', 1);
      console.log('Session:', storage.getWithExpiry('session'));

      const backup = storage.backup();
      console.log('Backup:', backup);

      storage.clear();
      console.log('After clear:', storage.getItem('user'));

      storage.restore(backup);
      console.log('Restored:', storage.getItem('user'));

      storage.debugSet('email', 'imravipanday@gmail.com');
      storage.debugGet('email');
    </script>
  </body>
</html>
```

---

## 🛠 Tech Stack
- JavaScript (ES6)
- LocalStorage API

---

## ✍ Author

**Ravi Pandey**  
Web: [https://imravidev.vercel.app](https://imravidev.vercel.app)  
Email: imravipanday@gmail.com

---

## 📦 GitHub Repo

[https://github.com/mrravipandee/node-packages/tree/main/localstorage-js](https://github.com/mrravipandee/node-packages/tree/main/localstorage-js)

---

## 🔒 License

MIT License