open-index/open-npm huggingface dataset:
npm package: @speaqr/javascript-sdk
Description: A lightweight JavaScript SDK for real-time audio and text processing via Speaqr's public api.
Author: Speaqr Technologies S.L.
Latest version: 2.1.1

# **Speaqr JavaScript SDK**

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

Speaqr Javascript SDK is a lightweight client to interact with the Speaqr API in real time. It allows you to handle events, send audio and text, and get translations or voice synthesis.

### 🔗 Web [https://speaqr.ai](https://speaqr.ai)
---

## 📑 **Main features**
- **Speech recognition (STT):** Converts audio to text in real time.
- **Translation:** Translates text or audio into several supported languages.
- **Speech synthesis (TTS):** Generates audio from text in real time.
- **Speech recognition + translation + speech synthesis (STS)** Generates translated audio from the audio heard in real time.
- **Real-time connection:** Uses sockets for seamless communication with the api.
- **Compatibility:** Compatible with browsers and Node.js environments.

## 📰 **Requirements**
- A valid api key. You can get one [here](https://speaqr.ai/en-us/technical/hire).

## 💻 **Installation**

#### Via npm:
```bash
npm install @speaqr/javascript-sdk
````

#### Via cdn
```html
<script src="https://unpkg.com/@speaqr/javascript-sdk@latest/dist/sdk.min.js"></script>
````

#### Download files
- [Download sdk.min.js](https://unpkg.com/@speaqr/javascript-sdk@latest/dist/sdk.min.js)

- [Download sdk.js](https://unpkg.com/@speaqr/javascript-sdk@latest/dist/sdk.js)

## 📖 **Documentation**
The entire SDK and API are documented [here](https://speaqr.ai/en-us/technical).

## 🔧 **Examples**
The *dist/examples* folder contains examples of how to instantiate the SDK in different environments and several usage examples.

Please note that in order to run these examples you will need to have a valid API key, and you must change it in the variable *const apiKey = 'xxxx'*

## 🌐 License
This SDK is licensed under the MIT license. See the LICENSE.txt file for more details.

## ✉️ Support
If you have questions or need help, contact us [here](https://speaqr.ai/en-us/contact).
npm package: @spear-ai/commitlint-config
Description: Spear AI commitlint config
Author: Spear AI
Latest version: 3.2.1

# @spear-ai/commitlint-config

A [commitlint](https://commitlint.js.org) config.

## Installation

```shell
yarn add -D @spear-ai/commitlint-config @commitlint/types commitlint
```

## Usage

Add the following to your `commitlint.config.ts` file:

```ts
import type { UserConfig } from "@commitlint/types";

const commitlintConfig: UserConfig = {
  extends: ["@spear-ai/commitlint-config"],
};

export default commitlintConfig;
```
npm package: @spear-ai/eslint-config
Description: Spear AI ESLint config
Author: Spear AI
Latest version: 21.1.0

# @spear-ai/eslint-config

An [ESLint](https://eslint.org) config with all batteries included.

## Installation

```shell
yarn add -D eslint @spear-ai/eslint-config
```

## Usage

Add the following to your `eslint.config.js` file:

```ts
import { baseEslintConfig } from "@spear-ai/eslint-config";

const eslintConfig = [...baseEslintConfig];

export default eslintConfig;
```
npm package: @spear-ai/grafserv-next-server
Description: Graserv server for Next.js
Author: Spear AI
Latest version: 1.0.1

# @spear-ai/grafast-next-server

A [Grafserv](https://grafast.org/grafserv) server for [Next.js](https://nextjs.org).

## Installation

```shell
yarn add @spear-ai/grafserv-next-server
```
npm package: @spear-ai/graphile-sort-schema-plugin
Description: Graphile plugin to sort your schema
Author: Spear AI
Latest version: 2.0.1

# @spear-ai/graphile-sort-schema-plugin

A [Graphile](https://www.graphile.org) plugin to lexicographically sort your schema.

## Installation

```shell
yarn add -D @spear-ai/graphile-sort-schema-plugin
```

## Usage

Add the plugin to your graphile preset:

```ts
import { sortSchemaPlugin } from "@spear-ai/graphile-sort-schema-plugin";

const createPreset: GraphileConfig.Preset = {
  // …
  plugins: [
    // …
    sortSchemaPlugin,
  ],
};
```
npm package: @spear-ai/logo
Description: Spear AI Logo
Author: Spear AI
Latest version: 2.1.1

<div align="center">
  <p>
    <img alt="Logo" src="https://raw.githubusercontent.com/spear-ai/logo/main/src/assets/logo.svg" width="192">
  </p>
  <p>
    <b>Spear AI Logo</b>
  </p>
  <p>
    <a href="https://github.com/spear-ai/logo/actions/workflows/checks.yml">
      <img alt="checks" src="https://img.shields.io/github/workflow/status/spear-ai/logo/checks?labelColor=3A3a40&color=04C835&label=checks&logo=github">
    </a>
    <a href="https://conventionalcommits.org">
      <img alt="Conventional Commits" src="https://img.shields.io/badge/Conventional_Commits-1.0.0-ff206E.svg?labelColor=3A3a40">
    </a>
  </p>
</div>
npm package: @spear-ai/npm-package-json-lint-config
Description: Spear AI `npm-package-json-lint` config files
Author: Spear AI
Latest version: 3.1.2

# @spear-ai/npm-package-json-lint-config

A collection of [npm-package-json-lint](https://npmpackagejsonlint.org) config files.

## Installation

```shell
yarn add -D npm-package-json-lint @spear-ai/npm-package-json-lint-config
```

## Usage

Add the following to your `npmpackagejsonlint.config.cjs` file:

```js
const npmPackageJsonLintConfig = {
  extends: ["@spear-ai/npm-package-json-lint-config/spear-library"],
};

module.exports = npmPackageJsonLintConfig; // eslint-disable-line unicorn/prefer-module
```
npm package: @spear-ai/prettier-config
Description: Spear AI Prettier config
Author: Spear AI
Latest version: 3.0.0

# @spear-ai/prettier-config

A [Prettier](https://prettier.io) config.

## Installation

```shell
yarn add -D @spear-ai/prettier-config @types/prettier prettier
```

## Usage

Add the following to your `prettier.config.cjs` file:

```cjs
const basePrettierConfig = require("@spear-ai/prettier-config");

/** @type {import("prettier").Config} */
const prettierConfig = {
  ...basePrettierConfig,
};

module.exports = prettierConfig;
```
npm package: @spear-ai/relay-environment
Description: Spear AI Relay Environment
Author: Spear AI
Latest version: 3.0.0

# @spear-ai/relay-environment

General purpose [Relay Environment](https://relay.dev).

## Installation

```shell
yarn add relay-runtime @spear-ai/relay-environment
```

## Usage

Add the following to your React Relay Provider:

```tsx
import { createEnvironment } from "@spear-ai/relay-environment";
import React, { useMemo } from "react";
import { RelayEnvironmentProvider } from "react-relay";

const apiUrl = "/api/graphql";
const environment = createEnvironment({ apiUrl });

export const RelayProvider = (properties: { children: JSX.Element }) => {
  const { children } = properties;
  return <RelayEnvironmentProvider environment={environment}>{children}</RelayEnvironmentProvider>;
};
```
npm package: @spear-ai/ruff-config
Description: Spear AI Ruff config
Author: Spear AI
Latest version: 0.0.1

# @spear-ai/ruff-config

A [Ruff](https://docs.astral.sh/ruff) config.

## Installation

```shell
poetry add -D spear_ai_ruff_config
```

## Usage

Configure `poetry.toml` to save the virtual environment to your local project:

```
[virtualenvs]
in-project = true
```

Add the following to your `ruff.toml` file:

```toml
extend = "./.venv/lib/python3.11/site-packages/spear_ai_ruff_config/config.toml"
```