open-index/open-npm huggingface dataset:
npm package: @royalarchives/catalog-boxing
Description: Scans archives in your catalog for sanctioned boxing matches
Author: server
Latest version: 1.0.1

# Documentation for catalog-boxing

A module for [Catalog](https://github.com/royalarchives/catalog) that indexes boxing match `MKV` and `MP4` videos and fetches match information from [BoxRec.com](https://boxrec.com).
npm package: @royalarchives/catalog-favorites
Description: Adds a 'favorite' list of objects from your catalog
Author: server
Latest version: 1.0.6

# Library: Favorites

A module for [Library](https://github.com/royalarchives/library) that allows you to maintain a list of your favorite objects.

### Documentation

- [How to use](#how-to-use)
- [Index data structure](#index-data-structure)
- [Using the API with NodeJS](#using-the-media-index-with-nodejs)

## How to use

First install the module with `NPM`:

    $ npm install @royalarchives/library-favorites

If you are using [Library](https://github.com/royalarchives/library) from the command-line include the module name in your arguments:

    $ node scanner.js @royalarchives/library-favorites /path/to/files

If you are using [Library](https://github.com/royalarchives/library) with NodeJS include the module name in the parameters:

    const Library = require('@royalarchives/library')
    await Library.scan(['@royalarchives/library-favorites'], ['/path/to/files'])

## Index data structure

[Top of page](#documentation)

## Using the API with NodeJS

[Top of page](#documentation)

## License

MIT
npm package: @royalarchives/catalog-music
Description: Scans Catalog to index your music collection
Author: server
Latest version: 1.0.5

# Library: Music

A module for [Library](https://github.com/royalarchives/library) that indexes the files and extracts `MP3` and `FLAC` tracks and uses [Music-MetaData](https://github.com/borewit/music-metadata/) to read embedded information.

Songs, albums, genres, and any persons associated with them are indexed into `library.tracks`, `.library.albums`, `library.genres`, and `library.<persontype>` arrays that can be sorted, filtered and paginated using the API.

### Documentation

- [How to use](#how-to-use)
- [Index data structure](#index-data-structure)
- [Using the API with NodeJS](#using-the-media-index-with-nodejs)

## How to use

First install the module with `NPM`:

    $ npm install @royalarchives/library-music

If you are using [Library](https://github.com/royalarchives/library) from the command-line include the module name in your arguments:

    $ node scanner.js @royalarchives/library-music /path/to-music

If you are using [Library](https://github.com/royalarchives/library) with NodeJS include the module name in the parameters:

    const Library = require('@royalarchives/library')
    await Library.scan('@royalarchives/library-music', [
      '/music-1/music',
      '/music-2/music',
      '/music-3/music'
    ])

## Index data structure

[Top of page](#documentation)

## Using the API with NodeJS

[Top of page](#documentation)


## License

MIT
npm package: @royalarchives/catalog-playlists
Description: Adds smart and normal playlists to Catalog
Author: server
Latest version: 1.0.5

# Library: Playlists

A module for [Library](https://github.com/royalarchives/library) that adds normal and smart playlists.  Smart playlists use rules to filter your content.

### Documentation

- [How to use](#how-to-use)
- [Index data structure](#index-data-structure)
- [Using the API with NodeJS](#using-the-media-index-with-nodejs)

## How to use

First install the module with `NPM`:

    $ npm install @royalarchives/library-playlists

If you are using [Library](https://github.com/royalarchives/library) from the command-line include the module name in your arguments:

    $ node scanner.js @royalarchives/library-playlists /path/to/files

If you are using [Library](https://github.com/royalarchives/library) with NodeJS include the module name in the parameters:

    const Library = require('@royalarchives/library')
    await Library.scan(['@royalarchives/library-playlists'], ['/path/to/files'])

## Index data structure

[Top of page](#documentation)

## Using the API with NodeJS

[Top of page](#documentation)

## License

MIT
npm package: @royalarchives/catalog-radio
Description: Adds SHOUTcast radio stations and genres to Catalog
Author: server
Latest version: 1.0.5

# Library: Radio

A module for [Library](https://github.com/royalarchives/library) that adds SHOUTcast radio station genre browsing and streaming.

### Documentation

- [How to use](#how-to-use)
- [Index data structure](#index-data-structure)
- [Using the API with NodeJS](#using-the-media-index-with-nodejs)

## How to use

First install the module with `NPM`:

    $ npm install @royalarchives/library-radio

If you are using [Library](https://github.com/royalarchives/library) from the command-line include the module name in your arguments:

    $ node scanner.js @royalarchives/library-radio /path/to/files

If you are using [Library](https://github.com/royalarchives/library) with NodeJS include the module name in the parameters:

    const Library = require('@royalarchives/library')
    await Library.scan(['@royalarchives/library-radio'], ['/path/to/files'])

## Index data structure

[Top of page](#documentation)

## Using the API with NodeJS

[Top of page](#documentation)

## License

MIT
npm package: @royalfig/share-button
Description: Adds a web-component share button to your website
Author: Ryan Feigenbaum
Latest version: 1.0.26

# Sharing Button Web Component

Use this web component to add a button for sharing the current page to social media (Twitter/X, Facebook, LinkedIn) or copying the URL.

## Installation

**Install with NPM**

```bash
npm install @royalfig/share-button
```

See the [official docs](https://royalfig.github.io/share-button/) for more installation options and for customization options.
npm package: @royalfig/size-writer
Description: A utility to generate optimal image sizes for the CSS sizes attribute
Author: Ryan Feigenbaum
Latest version: 1.1.1

# @royalfig/size-writer

A utility to generate optimal image sizes for the CSS `sizes` attribute. This tool helps you create responsive images by determining the appropriate image sizes for different viewport widths.

## Installation

You can use this tool directly with npx:

```bash
# Always use the latest version
npx @royalfig/size-writer@latest

# Or force npx to download the latest version
npx --no-install @royalfig/size-writer
```

Or install it globally:

```bash
npm install -g @royalfig/size-writer
```

Or install it as a project dependency:

```bash
npm install --save-dev @royalfig/size-writer
```

## Usage

Run the tool with:

```bash
npx @royalfig/size-writer
```

The tool will prompt you for:

1. The URL of the webpage containing the image
2. The CSS selector for the image
3. The available image sizes (comma-separated)

After providing this information, the tool will:

1. Visit the webpage
2. Measure the image size at different viewport widths
3. Generate the optimal `sizes` attribute for your image
4. Automatically copy the result to your clipboard

### Example

```
Enter the URL of the webpage: https://example.com
Enter the CSS selector of the image: .hero-image
Enter available image sizes: 300, 400, 500, 600, 700, 800, 900, 1000

Output:
sizes="(max-width: 600px) 500px, (max-width: 900px) 700px, (max-width: 1200px) 900px, 1000px"
✅ Copied to clipboard! You can now paste it into your img tag's sizes property.
```

## How It Works

Size Writer uses Puppeteer to:

1. Load the webpage at different viewport widths
2. Measure the actual rendered size of the image
3. Find the closest available image size for each viewport width
4. Generate a `sizes` attribute that optimizes image loading

## Development

### Installation

```bash
git clone https://github.com/royalfig/size-writer.git
cd size-writer
npm install
```

### Testing

Run the tests with:

```bash
npm test
```

Or run tests in watch mode:

```bash
npm run test:watch
```

## Requirements

- Node.js 14 or higher
- A modern web browser (automatically installed with Puppeteer)

## License

MIT

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.
npm package: @royalhalo/royalhalo-sdk
Description: An SDK for building applications on top of RoyalHalo.
Latest version: 1.1.8

# RoyalHalo SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/royalhalo-io/royalhalo-sdk.git
```

Move into the royalhalo-sdk working directory

```sh
cd royalhalo-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @royalhalo/uikit
Description: Set of UI components for royalhalo projects
Latest version: 0.0.1

# 🥞 RoyalHalo UIkit

[![Version](https://img.shields.io/npm/v/@royalhalo-libs/uikit)](https://www.npmjs.com/package/@royalhalo/uikit) [![Size](https://img.shields.io/bundlephobia/min/@royalhalo/uikit)](https://www.npmjs.com/package/@royalhalo/uikit)

RoyalHalo UIkit is a set of React components and hooks used to build pages on RoyalHalo's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @royalhalo/uikit`

## Setup

### Theme

Before using RoyalHalo UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@royalhalo/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@royalhalo/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://royalhalo.github.io/royalhalo-uikit/)
npm package: @royalmar/vue-input-number
Description: Number input component for Vue.js (from https://fengyuanchen.github.io/vue-number-input)
Author: Chen Fengyuan
Latest version: 0.0.8

# vue-number-input

[![Build Status](https://img.shields.io/travis/fengyuanchen/vue-number-input.svg)](https://travis-ci.org/fengyuanchen/vue-number-input) [![Coverage Status](https://img.shields.io/codecov/c/github/fengyuanchen/vue-number-input.svg)](https://codecov.io/gh/fengyuanchen/vue-number-input) [![Downloads](https://img.shields.io/npm/dm/@chenfengyuan/vue-number-input.svg)](https://www.npmjs.com/package/@chenfengyuan/vue-number-input) [![Version](https://img.shields.io/npm/v/@chenfengyuan/vue-number-input.svg)](https://www.npmjs.com/package/@chenfengyuan/vue-number-input)

> Number input component for [Vue.js](https://vuejs.org/).

- [Docs](src/README.md)
- [Demo](https://fengyuanchen.github.io/vue-number-input)

## Main

```text
dist/
├── vue-number-input.js        (UMD)
├── vue-number-input.min.js    (UMD, compressed)
├── vue-number-input.common.js (CommonJS, default)
└── vue-number-input.esm.js    (ES Module)
```

## Getting started

### Installation

```shell
npm install vue @royalmar/vue-input-number
```

In browser:

```html
<script src="/path/to/vue.js"></script><!-- Vue.js is required -->
<script src="/path/to/vue-number-input.js"></script><!-- Register automatically once loaded -->
```

### Usage

```js
import Vue from 'vue';
import VueNumberInput from '@royalmar/vue-input-number';

Vue.use(VueNumberInput);
// Or
Vue.component(VueNumberInput.name, VueNumberInput);
// Or
Vue.component('vue-number-input', VueNumberInput);
```

```html
<number-input controls></number-input>
```

## Browser support

- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Opera (latest)
- Edge (latest)
- Internet Explorer 9+

## Versioning

Maintained under the [Semantic Versioning guidelines](https://semver.org/).

## License

[MIT](https://opensource.org/licenses/MIT) © [Chen Fengyuan](https://chenfengyuan.com/)