open-index/open-npm huggingface dataset:
npm package: @localazy/generic-connector-client
Description: Node.js module that allows to interact with the Localazy Generic Connector.
Author: Localazy
Latest version: 0.3.0

# 📦 Localazy Generic Connector Client

> Node.js module that allows to interact with the Localazy Generic Connector.

## 🔧 Install

```bash
npm install @localazy/generic-connector-client
# or you can use yarn or pnpm
```

## 🚀 Usage

###### ESM

```javascript
import { GenericConnectorClient, getOAuthAuthorizationUrl } from '@localazy/generic-connector-client';

const api = new GenericConnectorClient({ pluginId: 99 }); // Create Api client with your `pluginId`

const keys = await GenericConnectorClient.public.keys(); // Get read and write keys for OAuth.
const url = getOAuthAuthorizationUrl({
  clientId: 'your-client-id',
  customId: 'your-write-key',
}); // Get OAuth authorization URL.
window.open(url);
const pollResult = await GenericConnectorClient.oauth.continuousPoll({
  readKey: keys.readKey,
}); // Poll for the result.

console.log(pollResult); // Print the result with access token.
```

###### TypeScript

```javascript
import { GenericConnectorClient, getOAuthAuthorizationUrl, GeneratedKeys, PollResponseCompleted } from '@localazy/generic-connector-client';

const api: GenericConnectorClient = new GenericConnectorClient({ pluginId: 99 });             // Create Api client with your `pluginId`

const keys: GeneratedKeys = await GenericConnectorClient.public.keys();              // Get read and write keys for OAuth.
const url: string = getOAuthAuthorizationUrl({
  clientId: 'your-client-id',
  customId: 'your-write-key',
});                                                                   // Get OAuth authorization URL.
window.open(url);
const pollResult: PollResponseCompleted = await GenericConnectorClient.oauth.continuousPoll({
  readKey: keys.readKey,
});                                                                   // Poll for the result.

console.log(pollResult);                                              // Print the result with access token.
```
npm package: @localazy/prettier-config
Description: Unified Prettier configuration for Localazy projects
Author: Localazy
Latest version: 1.2.0

<div align="center">

[<img src="https://localazy.com/directus9/assets/9fc36b9c-81b7-4dbf-bd82-b64cd984090f" width="285" height="50" alt="Localazy" >](https://localazy.com)

### 📦 `@localazy/prettier-config`

_Unified Prettier configuration for Localazy projects_

</div>

## 🚀 Quick Start

Install the package using your preferred package manager:

```shell
# Using npm
npm install prettier @localazy/prettier-config --save-dev

# Using yarn
yarn add prettier @localazy/prettier-config --dev

# Using pnpm
pnpm add prettier @localazy/prettier-config --save-dev
```

## 🔧 Usage

Add `prettier` directly inside your `package.json` file:

```json
{
  "prettier": "@localazy/prettier-config"
}
```

### 📄 Extending the Configuration

To customize your Prettier configuration, create or update your `.prettierrc.js` file. You can extend the default
settings provided by `@localazy/prettier-config` while overriding specific options as needed.

```javascript
import localazyConfig from '@localazy/prettier-config';

/** @type {import('prettier').Config} */
const config = {
  ...localazyConfig,
};

export default config;
```

## 📚 Documentation

For more details on Prettier configuration, visit the [Prettier documentation](https://prettier.io/docs/).

## 📜 License

This project is licensed under the MIT License.

See [LICENSE](LICENSE) for details.
npm package: @localazy/tsconfig
Description: Unified TypeScript configuration for Localazy projects
Author: Localazy
Latest version: 1.1.1

<div align="center">

[<img src="https://localazy.com/directus9/assets/9fc36b9c-81b7-4dbf-bd82-b64cd984090f" width="285" height="50" alt="Localazy" >](https://localazy.com)

### 📦 `@localazy/tsconfig`

_Unified TypeScript configuration for Localazy projects_

</div>

## 🚀 Quick Start

Install the package using your preferred package manager:

```shell
# Using npm
npm install typescript @localazy/tsconfig --save-dev

# Using yarn
yarn add typescript @localazy/tsconfig --dev

# Using pnpm
pnpm add typescript @localazy/tsconfig --save-dev
```

## 🔧 Usage

In your tsconfig.json, extend the configuration:

```json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@localazy/tsconfig/tsconfig.library.json"
}
```

```json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@localazy/tsconfig/tsconfig.monorepo-library.json"
}
```

```json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@localazy/tsconfig/tsconfig.node.library.json"
}
```

```json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@localazy/tsconfig/tsconfig.node.monorepo-library.json"
}
```

## 📜 License

This project is licensed under the MIT License.

See [LICENSE](LICENSE) for details.
npm package: @localazy/vue-i18n-extract
Description: Localazy's fork of vue-i18n-extract
Author: Jamie Spittal
Latest version: 1.2.0

# Localazy's fork of vue-i18-extract
This is a fork of [vue-i18-extract](https://github.com/Spittal/vue-i18n-extract) with the added support for typescript file format.

The credit goes fully to the authors of the original repository.
npm package: @localbotify/proton
Description: A loader for the Proton.js framework.
Author: DinoscapeProgramming
Latest version: 1.0.2

# Proton.js

This library purely exists to have a clean way to load [LocalBotify](https://localbotify.com)'s internal Proton.js framework before it can initialize its own module loading system.

## Usage

```js
require("@localbotify/proton");
```

## License 📄

MIT License — free to use, modify, and distribute!

---

*Made with ❤️ (and probably caffeine) by [Dinoscape](https://github.com/DinoscapeProgramming)*
npm package: @localcryptos/bitcoin-ops
Description: bitcoin OP codes
Author: Daniel Cousens
Latest version: 1.4.2

# bitcoin-ops

[![build status](https://secure.travis-ci.org/bitcoinjs/bitcoinjs-ops.png)](http://travis-ci.org/bitcoinjs/bitcoin-ops)
[![Version](http://img.shields.io/npm/v/bitcoinjs-ops.svg)](https://www.npmjs.org/package/bitcoin-ops)


## License [MIT](LICENSE)
npm package: @locale-kit/locale-kit
Description: A i18n/l10n library from Deno to Node ❤️
Latest version: 2.2.0

# locale-kit

A small library to handle translations and localisations. It may be rough around the edges for now, but suits my needs (and hopefully yours) decently enough.

An updated README is coming soon!

[![NPM Build and Publish](https://github.com/locale-kit/locale-kit/actions/workflows/npm_publish.yml/badge.svg)](https://github.com/locale-kit/locale-kit/actions/workflows/npm_publish.yml)

## Docs

See our docs over at [\[LocaleKit Docs\]](https://locale-kit.github.io/docs/)

## Authors

- [@brocococonut](https://www.github.com/brocococonut)

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @locale-tools/currency
Description: World currency data
Author: Sara Pope
Latest version: 0.2.0

# @locale-tools/currency

List of all currencies and a currency conversion tool.

## Installation

Install a given package with npm or yarn.

```bash
npm install @locale-tools/currency

yarn add @locale-tools/currency
```

## Usage

A full list of all circulated currencies can be found in `src/data/currencies.json`.

```ts
import { currencies } from "@locale-tools/currency";
```

### Types

```ts
// currency object type
type Currency = {
  name: CurrencyNamesByISO4217 | string;
  shortName: CurrencyNamesByISO4217;
  iso_4217: ISO4217;
  symbol: CurrencySymbolsByISO4217 | string;
  subunit: string | null;
  subunitToUnit: number | null;
  prefix: string | null;
  suffix: string | null;
  decimalMark: string | null;
  decimalPlaces: number | null;
  thousandsSeparator: string | null;
};

// ISO4217 currency codes
enum ISO4217 {}
ISO4217.USD; // "USD"

// currency names by ISO4217 codes
enum CurrencyNamesByISO4217 {}
CurrencyNamesByISO4217.USD; // "United States Dollar"

// currency 'short' names by ISO4217
enum CurrencyShortNamesByISO4217 {}
CurrencyShortNamesByISO4217.USD; // "dollar"

// currency symbols by ISO4217
enum CurrencySymbolsByISO4217 {}
CurrencySymbolsByISO4217.USD; // "$"
```

### Methods

#### `getConversionRate({ from, to }): number | Error`

Returns the conversion rate between 2 currencies. Returns an error if one is encountered, this function utilizes the free version of the [currconv api](https://www.currencyconverterapi.com/).

| Parameter | Type      | Description                               | Default      |
| --------- | --------- | ----------------------------------------- | ------------ |
| from      | `ISO4217` | The ISO4217 currency code to convert from | **Required** |
| to        | `ISO4217` | The ISO4217 currency code to convert to   | **Required** |

```ts
import { getConversionRate, ISO4217 } from "@locale-tools/currency";

// returns the conversion rate from us dollar to euro
const conversionRate = getConversionRate({
  from: ISO4217.USD, // you can also pass the string code if you prefer
  to: ISO4217.EUR
});
```
npm package: @locale-tools/languages
Description: World languages data
Author: Sara Pope
Latest version: 0.2.0

# @locale-tools/languages

List of all languages.

## Installation

Install a given package with npm or yarn.

```bash
npm install @locale-tools/languages

yarn add @locale-tools/languages
```

## Usage

A full list of all documented languages can be found in `src/data/languages.json`.

```ts
import { languages } from "@locale-tools/languages";
```

### Types

```ts
type Language = {
  name: {
    common: string;
    native: string | null;
    alternates?: string[];
  };
  iso639_3: ISO639_3;
  bcp47: BCP47;
  iso15924: ISO15924;
  iana: string[];
  countries?: ISO3166_1_Alpha2;
  isExtinct: boolean;
  isSpurious: boolean;
};

// ISO639-3 language codes
enum ISO639_3 {}
ISO639_3.eng; // "eng"

// BCP47 language tags
enum BCP47 {}
BCP47.abq_Cyrl; // "abq-Cyrl"

// ISO15924 codes
enum ISO15924 {}
ISO15924.cyrl; // "Cyrl"
```