open-index/open-npm huggingface dataset:
npm package: @jitsi-provisioner/api
Description: Jitsi Provisioner JavaScript API
Author: Miguel Peixe
Latest version: 0.0.8

# Jitsi Provisioner JS API

JavaScript API for the Jitsi Provisioner

## Installation

```
$ npm install --save @jitsi-provisioner/api
```

## Usage

```js
const io = require("socket.io-client");
const JitsiProvisionerAPI = require("@jitsi-provisioner/api");

const api = new JitsiProvisionerAPI({
  io: io,
  url: "https://meet.peixe.co",
  storage: window.localStorage, // Optional
});

// Terminating `my-instance`
api.instances.find({ query: { name: "my-instance" } }).then((instances) => {
  api.instances.terminate(instances[0]._id);
});
```
npm package: @jitsi-provisioner/aws-utils
Description: AWS utils for Jitsi Provisioner
Author: Miguel Peixe
Latest version: 0.0.2

# Jitsi Provisioner AWS Utils

AWS Utils for Jitsi Provisioner

```
$ npm install --save @jitsi-provisioner/aws-utils
```

---

## Regions

```
import { regions } from "@jitsi-provisioner/aws-utils";

console.log(regions);
```

## Instances

Instances from ec2instances.info

```
import { instances } from "@jitsi-provisioner/aws-utils";

instances().then((data) => {
  console.log(data);
});
```
npm package: @jitsi/eslint-config
Description: eslint rules for Jitsi projects
Latest version: 6.0.4

# eslint-config-jitsi

A shareable eslint config for Jitsi's projects.

## Install

```bash
npm install --save-dev @jitsi/eslint-config
```

### Installing peerDependencies

```bash
npm install --save-dev babel-eslint eslint-plugin-import
```

## Usage

Add the following to your `.eslintrc.js`.

```
{
  'extends': '@jitsi/eslint-config'
}
```

### Additional

If you want to enforce `jsdoc` rules used by Jitsi.

```bash
npm install --save-dev eslint-plugin-jsdoc
```

```
{
  'extends': [
    '@jitsi/eslint-config',
    '@jitsi/eslint-config/jsdoc'
  ]
}
```

If you are using `react`.

```bash
npm install --save-dev eslint-plugin-react
```

```
{
  'extends': [
    '@jitsi/eslint-config',
    '@jitsi/eslint-config/react'
  ]
}
```

If you are using `typescript`:

```bash
 npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser @stylistic/eslint-plugin
```

```
{
  'extends': [
    '@jitsi/eslint-config',
    '@jitsi/eslint-config/typescript'
  ]
}
```
npm package: @jitsi/js-utils
Description: Utilities for Jitsi JS projects
Latest version: 6.2.0

# js-utils

Collection of utilities for Jitsi JavaScript projects.

## Requirements

This library is designed to be used with a bundler (webpack, rollup, vite, etc.). The package uses `moduleResolution: "bundler"` in its TypeScript configuration and publishes compiled JavaScript targeting ES2019 with ES2020 module syntax.

**Important:** If you're consuming this library, ensure your build tool is configured to handle ES modules. Direct usage in Node.js without a bundler or transpilation may not work as expected.

## Development

### Building

The project is written in TypeScript and compiles to the `dist/` directory:

```bash
npm run build        # Compile TypeScript to dist/
npm run clean        # Remove the dist/ directory
npm run lint         # Run ESLint on source files
```

### Project Structure

- Source files are in TypeScript (`.ts`) in the root and module directories
- Compiled output (`.js` and `.d.ts`) goes to `dist/`
- The package exports multiple subpaths for individual utilities

### Publishing

The package is automatically published to npm when changes are pushed to the master branch. The `prepack` script ensures the package is built before publishing.