open-index/open-npm huggingface dataset:
npm package: @jelly-verse/coinhain-sdk
Description: SDK for interacting with the Balancer protocol on Coinhain
Latest version: 4.5.6

# SDK

[![npm version](https://img.shields.io/npm/v/@balancer/sdk/latest.svg)](https://www.npmjs.com/package/@balancer/sdk/v/latest)

WIP SDK for Balancer Protocol. Interfaces may have frequent breaking changes until a stable release.

## Local Setup

`pnpm install`

### Requirements

- `fetch`

### Polyfill

If your platform does not support one of the required features, it is also possible to import a polyfill.

- `fetch` -> [node-fetch](https://github.com/node-fetch/node-fetch#providing-global-access)

## Testing

`pnpm test`

Testing runs against a local anvil fork and requires the following RPC URL to be configured in your .env file:
```
ETHEREUM_RPC_URL
POLYGON_RPC_URL
FANTOM_RPC_URL
SEPOLIA_RPC_URL
```
### Anvil Client

To download and install the anvil client, run the following commands (MacOS):
- `curl -L https://foundry.paradigm.xyz | bash`
- `brew install libusb`
- `source /Users/$(whoami)/.zshenv`
- `foundryup`

## Documentation

In-depth documentation on this SDK is available at [docs-v3.balancer.fi/developer-reference/sdk](https://docs-v3.balancer.fi/developer-reference/sdk/).
npm package: @jellybeanci/int
Description: Basic int converter
Author: Goksel KUCUKSAHIN
Latest version: 0.1.1

# int

<a href="https://www.npmjs.com/package/@jellybeanci/int/"><img src="res/npm-banner.png" width="300" alt="npm"/></a>

Integer type caster module for JavaScript/TypeScript.

```bash
npm i @jellybeanci/int
```

### import module
```js
// ES6 Syntax
import {int} from "@jellybeanci/int";

// Commonjs Syntax
const {int} = require("@jellybeanci/int");

// Commonjs with custom name
const integer = require("@jellybeanci/int").int;
```
### usage
```js
const integerNumber = int(floatingPointNumber);

const parsedIntegerNumber = int(stringNumber);
```

### demo
```js
console.log(int(3.1415)); // 3

console.log(int(-6.2342)); // -6

console.log(int("25.3")); // 25

console.log(int("not a number")); // 0
```

### types
```ts
type intFunctionType = (numberValue: number | string) => number;
```
npm package: @jellybeanci/is-empty
Description: Simple Empty Object Checker.
Author: Goksel KUCUKSAHIN
Latest version: 0.0.1

# is-empty

Simple Empty Object Checker.

```bash
npm i @jellybeanci/is-empty
```

### import module

```js
// ES6 Syntax
import {isEmpty} from "@jellybeanci/is-empty";

// Commonjs Syntax
const {isEmpty} = require("@jellybeanci/is-empty");
```

### usage

```js
const myObject = {};
isEmpty(myObject); // true

const person = {name: "Göksel", surname: "KÜÇÜKŞAHİN"};
isEmpty(person); // false
```

### types

```ts
type isEmpty = (object: Object) => boolean;
```
npm package: @jellybeanci/random
Description: Extended random number library.
Author: GokselKUCUKSAHIN
Latest version: 0.1.1

# random

Extended random functions for JavaScript/TypeScript

```bash
npm i @jellybeanci/random
```

### import module

```js
// ES6 Syntax
import {randomRange, randomGaussian, randomGaussianRange, randomBoolean, randomInt} from "@jellybeanci/random";

// Commonjs Syntax
const {randomRange, randomGaussian, randomGaussianRange, randomBoolean, randomInt} = require("@jellybeanci/random");
```

### usage

```js
randomRange(10, 20); // Random Real number between [10, 20]

randomRange(50); // Random Real number between [0, 50]

randomBoolean(); // Random true or false

randomInt(-20, 40); // Random Integer number between [-20, 40]

randomInt(12); // Random Integer number between [0, 12]

randomGaussian(); // Random Gaussian number between [-1, 1]

randomGaussian(5); // Random Gaussian number between [-1, 1] but more steep on 0 point

randomGaussianRange(10); // Random Gaussian number between [0, 10]

randomGaussianRange(-5, 20); // Random Gaussian number between [-5, 20]

randomGaussianRange(24, 42, 5); // Random Gaussian number between [24, 42] but more steep on 33 point (mid point)
```

### types

```ts
type randomGaussian = (degree?: number) => number;

type randomRange = (start: number, end?: number) => number;

type randomGaussianRange = (start: number, end?: number, degree?: number) => number;

type randomBoolean = () => boolean;

type randomInt = (start: number, end?: number) => number;
```
npm package: @jellybeanci/regex
Description: Regular Expression Collection
Author: Goksel KUCUKSAHIN
Latest version: 0.0.2

# regex

Regular Expression Collection

```bash
npm i @jellybeanci/regex
```

### import module
```js
// ES6 Syntax
import * as regex from "@jellybeanci/index";

// Commonjs Syntax
const regex = require("@jellybeanci/index");
```
### usage

```js
```

### demo

```js
```

### types
```ts
```
npm package: @jellybeanci/sleep
Description: Promise based async sleep function.
Author: Goksel KUCUKSAHIN
Latest version: 0.0.1

# sleep

Promise based async sleep function.

```bash
npm i @jellybeanci/sleep
```

### import module

```js
// ES6 Syntax
import {sleep, delay} from "@jellybeanci/sleep";

// Commonjs Syntax
const {sleep, delay} = require("@jellybeanci/sleep");
```

### usage

```js
console.log("See you after 5 sec");
await sleep(5000);
console.log("5 sec passed");
```

```js
console.log("See you after 5 sec");
await delay(5);
console.log("5 sec passed");
```

### types

```ts
type sleep = (millisecond: number) => Promise<unknown>;

type delay = (second: number) => Promise<unknow>;
```
npm package: @jellybrick/electron-chromecast
Description: An implementation of the chrome.cast API in electron
Author: Samuel Attard
Latest version: 1.2.1

Electron Chromecast
------------------

[![Join the chat at https://gitter.im/GPMDP/electron-chromecast](https://badges.gitter.im/GPMDP/electron-chromecast.svg)](https://gitter.im/GPMDP/electron-chromecast?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/GPMDP/electron-chromecast.svg?branch=master)](https://travis-ci.org/GPMDP/electron-chromecast)

> An implementation of the chrome.cast API in electron

## Usage

### Basic

You must consume `electron-chromecast` from within your renderer process, preferably in a `preload` script.

```js
// ES5
require('electron-chromecast');

// ES6
import 'electron-chromecast';
```

This will inject the `chrome.cast` variables and the associated methods globally automatically.  
By default when requesting a new [`Session`](https://developers.google.com/cast/docs/reference/chrome/chrome.cast.Session) through [`chrome.cast.requestSession`](https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.requestSession) you will be provided an active Session with the first Chromecast Device we find.  To change this behaviour read the Advanced section.


### Advanced

```js
// ES5
var chromecast = require('electron-chromecast');

chromecast(function (receivers) {
    return new Promise(function (resolve, reject) {
        // Do some logic to choose a receiver, possibly ask the user through a UI
        var chosenReceiver = receivers[0];
        resolve(chosenReceiver);
    });
});

// ES6
import chromecast from 'electron-chromecast';

chromecast(async (receivers) => {
    // Do some logic to choose a receiver, possibly ask the user through a UI
    const chosenReceiver = receivers[0];
    return chosenReceiver;
});
```

The function returned from `electron-chromecast` should be called with a single parameter; a function that returns a promise that will eventually resolve with a single receiver.  This receiver is the one that will be used by `chrome.cast`.

## Installation

Note: Behind the scenes we use MDNS which has some [system requirements](https://github.com/agnat/node_mdns#installation), make sure your system has the required dependencies.

## TODO
- [ ] All the TODO's in code (We only implemented the functionality required by Google Play Music, however this should be sufficient for MOST applications)

**TODO *(But totally not needed)*:** The `chrome.cast.games` API
npm package: @jellybrick/get-uv-event-loop-napi-h
Description: C function to get the current libuv event loop for N-API
Author: Anna Henningsen
Latest version: 1.0.7

get-uv-event-loop-napi-h
=================================
### C function to get the current libuv event loop for N-API

[![Greenkeeper badge](https://badges.greenkeeper.io/node-ffi-napi/get-uv-event-loop-napi-h.svg)](https://greenkeeper.io/)

[![NPM Version](https://img.shields.io/npm/v/get-uv-event-loop-napi-h.svg?style=flat)](https://npmjs.org/package/get-uv-event-loop-napi-h)
[![NPM Downloads](https://img.shields.io/npm/dm/get-uv-event-loop-napi-h.svg?style=flat)](https://npmjs.org/package/get-uv-event-loop-napi-h)
[![Build Status](https://travis-ci.org/node-ffi-napi/get-uv-event-loop-napi-h.svg?style=flat&branch=master)](https://travis-ci.org/node-ffi-napi/get-uv-event-loop-napi-h?branch=master)
[![Coverage Status](https://coveralls.io/repos/node-ffi-napi/get-uv-event-loop-napi-h/badge.svg?branch=master)](https://coveralls.io/r/node-ffi-napi/get-uv-event-loop-napi-h?branch=master)
[![Dependency Status](https://david-dm.org/node-ffi-napi/get-uv-event-loop-napi-h.svg?style=flat)](https://david-dm.org/node-ffi-napi/get-uv-event-loop-napi-h)

Installation
------------

Install with `npm`:

``` bash
$ npm install get-uv-event-loop-napi-h
```

Usage
-----

In your `binding.gyp`:

```python
    'include_dirs': ["<!@(node -p \"require('get-uv-event-loop-napi-h').include\")"],
```

(Just have `"<!@(node -p \"require('get-uv-event-loop-napi-h').include\")"` somewhere in that list, ok?)

In your C code:

```c
#include <get-uv-event-loop-napi.h>

uv_loop_t* loop = get_uv_event_loop(env);
```
npm package: @jellybrick/mpris-service
Description: Node.js implementation for the MPRIS D-Bus Interface Specification to create a mediaplayer service
Author: JellyBrick
Latest version: 2.1.5

# mpris-service

[![Build Status](https://travis-ci.org/dbusjs/mpris-service.svg?branch=master)](https://travis-ci.org/dbusjs/mpris-service)

Node.js implementation for the MPRIS D-Bus Interface Specification to create a mediaplayer service.

[Documentation](http://specifications.freedesktop.org/mpris-spec/latest/)

[Chat](https://discord.gg/UdbXHVX)

```js
var Player = require('mpris-service');

var player = new Player({
	name: 'nodejs',
	identity: 'Node.js media player',
	supportedUriSchemes: ['file'],
	supportedMimeTypes: ['audio/mpeg', 'application/ogg'],
	supportedInterfaces: ['player']
});
```

Implemented interfaces:
* [`org.mpris.MediaPlayer2`](http://specifications.freedesktop.org/mpris-spec/latest/Media_Player.html)
* [`org.mpris.MediaPlayer2.Player`](http://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html)
* [`org.mpris.MediaPlayer2.TrackList`](http://specifications.freedesktop.org/mpris-spec/latest/Track_List_Interface.html)
* [`org.mpris.MediaPlayer2.Playlists`](http://specifications.freedesktop.org/mpris-spec/latest/Playlists_Interface.html)

Examples are available in [`examples/`](https://github.com/dbusjs/mpris-service/tree/master/examples).

## Default interface

```js
player.on('quit', function () {
	process.exit();
});
```

Events:
* `raise`
* `quit`
* `fullscreen`

Properties:
* `identity`
* `name`
* `supportedUriSchemes`
* `supportedMimeTypes`
* `desktopEntry`

## Player

```js
// See http://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/
player.metadata = {
	'mpris:trackid': player.objectPath('track/0'),
	'mpris:length': 60 * 1000 * 1000, // In microseconds
	'mpris:artUrl': 'https://pbs.twimg.com/profile_images/378800000822867536/3f5a00acf72df93528b6bb7cd0a4fd0c.jpeg',
	'xesam:title': 'Best song',
	'xesam:album': 'Best album',
	'xesam:artist': ['Best singer']
};

player.playbackStatus = 'Playing';
```

See `examples/player.js`.

Events:
* `next`
* `previous`
* `pause`
* `playpause`
* `stop`
* `play`
* `seek`
* `open`
* `loopStatus`
* `rate`
* `shuffle`
* `volume`

Properties:
* `playbackStatus`
* `loopStatus`
* `rate`
* `shuffle`
* `volume`
* `metadata`
* `minimumRate`
* `maximumRate`
* `canGoNext`
* `canGoPrevious`
* `canPlay`
* `canPause`
* `canSeek`
* `canControl`

Methods:
* `seeked(position)`
* `getPosition()` (should be overridden to return the current position)

## TrackList

Events:
* `addTrack`
* `removeTrack`
* `goTo`

Properties:
* `tracks`
* `canEditTracks`

Methods:
* `addTrack(track)`
* `removeTrack(trackId)`

## Playlists

Events:
* `activatePlaylist`

Properties:
* `playlists`
* `activePlaylist`

Methods:
* `setPlaylists(playlists)`
* `setActivePlaylist(playlistId)`
npm package: @jellyfin/client-axios
Description: Jellyfin API client using axios
Author: Jellyfin Contributors
Latest version: 10.7.8
Deprecated: Use the @jellyfin/sdk package instead.

<h1 align="center">Jellyfin API Client for Axios (stable)</h1>
<h3 align="center">Part of the <a href="https://jellyfin.media">Jellyfin Project</a></h3>

---

<p align="center">
<img alt="Logo Banner" src="https://raw.githubusercontent.com/jellyfin/jellyfin-ux/master/branding/SVG/banner-logo-solid.svg?sanitize=true"/>
<br/>
<br/>
<a href="https://github.com/jellyfin/jellyfin-client-axios">
<img alt="MIT License" src="https://img.shields.io/github/license/jellyfin/jellyfin-client-axios.svg"/>
</a>
<a href="https://opencollective.com/jellyfin">
<img alt="Donate" src="https://img.shields.io/opencollective/all/jellyfin.svg?label=backers"/>
</a>
<a href="https://features.jellyfin.org">
<img alt="Feature Requests" src="https://img.shields.io/badge/fider-vote%20on%20features-success.svg"/>
</a>
<a href="https://matrix.to/#/+jellyfin:matrix.org">
<img alt="Chat on Matrix" src="https://img.shields.io/matrix/jellyfin:matrix.org.svg?logo=matrix"/>
</a>
<a href="https://www.reddit.com/r/jellyfin">
<img alt="Join our Subreddit" src="https://img.shields.io/badge/reddit-r%2Fjellyfin-%23FF5700.svg"/>
</a>
</p>

This library is meant to help clients written in JavaScript or TypeScript interact with Jellyfin's REST API using [Axios](https://github.com/axios/axios).
It's generated automatically using [OpenAPITools generator](https://github.com/OpenAPITools/openapi-generator) and it's fully typed
for TypeScript.

This version is built from the current stable version of the server. Source code of this generated package is available
[in our repo](https://github.com/jellyfin/jellyfin-client-axios/tree/master/stable).

You can check the [unstable](https://www.npmjs.com/package/@jellyfin/client-axios/v/unstable) tag if you're looking for the stable version of this package.