open-index/open-npm huggingface dataset:
npm package: @linux-remote/local-unpkg
Description: CDN to local. URL like unpkg.com
Author: hezedu
Latest version: 0.0.3
Deprecated: gone

# local-unpkg
更新后需在 https://github.com/linux-remote/client-mount/blob/master/src/pkg-map.json 同步以下数据。

如本项目更新： `client-mount` 亦需要更新。<br>
本项目是 `client` 的依赖，所以是随着 `client` 更新的。

以下数据由 `npm run readmd` 生成。
```json
{
  "_self": "0.0.3",
  "jquery": {
    "url": "/jquery@3.4.1/dist/jquery",
    "version": "3.4.1",
    "type": "js"
  },
  "vue.runtime": {
    "url": "/vue@2.6.11/dist/vue.runtime",
    "version": "2.6.11",
    "type": "js"
  },
  "vuex": {
    "url": "/vuex@3.0.1/dist/vuex",
    "version": "3.0.1",
    "type": "js"
  },
  "vue-router": {
    "url": "/vue-router@3.0.1/dist/vue-router",
    "version": "3.0.1",
    "type": "js"
  },
  "amd": {
    "url": "/@hezedu/amd@0.0.2/dist/amd",
    "version": "0.0.2",
    "type": "js",
    "suffix": ".min.js"
  },
  "pako": {
    "url": "/pako@1.0.10/dist/pako",
    "version": "1.0.10",
    "type": "js",
    "amd": true
  },
  "xterm": {
    "url": "/xterm@4.3.0/lib/xterm",
    "amd": true,
    "suffix": ".js",
    "version": "4.3.0",
    "type": "js"
  },
  "xterm-addon-fit": {
    "url": "/xterm-addon-fit@0.3.0/lib/xterm-addon-fit",
    "amd": true,
    "suffix": ".js",
    "version": "0.3.0",
    "type": "js"
  },
  "xterm.css": {
    "url": "/xterm@4.3.0/css/xterm.css",
    "type": "css",
    "amd": true,
    "version": "4.3.0"
  },
  "@linux-remote/open-icon": {
    "url": "/@linux-remote/open-icon@1.0.3/icons/",
    "version": "1.0.3",
    "type": "dir"
  }
}
```
npm package: @linux123123/jspteroapi
Description: A pterodactyl v1 api using node-fetch
Author: Linux123123
Latest version: 2.9.8
Deprecated: Use jspteroapi package instead

# JSPteroAPI

[![NPM](https://nodeico.herokuapp.com/@linux123123/jspteroapi.svg)](https://npmjs.com/package/@linux123123/jspteroapi)

[![GitHub](https://img.shields.io/github/license/linux123123/jspteroapi)](https://github.com/Linux123123/JSPteroAPI/blob/main/LICENSE)
[![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/linux123123/jspteroapi/node-fetch)](https://www.npmjs.com/package/node-fetch)
![Node.js Package](https://github.com/Linux123123/JSPteroAPI/workflows/Node.js%20Package/badge.svg)
[![GitHub issues](https://img.shields.io/github/issues/linux123123/jspteroapi)](https://github.com/Linux123123/JSPteroAPI/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/linux123123/jspteroapi)](https://github.com/Linux123123/JSPteroAPI/pulls)

<h3>A simple Pterodactyl API library using node-fetch</h3>
<span>(written in typescript)</span>
    
# To install:

<h5>Install from the command line:</h5>

**Npm**

`npm install @linux123123/jspteroapi`

**Yarn**

`yarn add @linux123123/jspteroapi`

Then include it in your application:

```javascript
const node = require('@linux123123/jspteroapi');
const application = new node.Application('HOST', 'TOKEN'); // for application API
const client = new node.Client('HOST', 'TOKEN'); // for Client API
```

# How to use

You can use any application funtion you want:

```javascript
application.function(parameters).then((response) => {
  // response
});
```

or using async / await

```javascript
const res = await application.function(parameters);
```

# Documentation

<h3><a href="https://jspteroapi.linux123123.com/classes/JSPteroAPI.Application.html">Application</a></h3>
<h3><a href="https://jspteroapi.linux123123.com/classes/JSPteroAPI.Client.html">Client</a></h3>

# Versions

**How versions work:**

- The first number is the release.
- The second number is the function release.
- The third number is the bug fix release.

# Disclaimer

I am not responsible for any damages that you cause to your servers/nodes by using **this API**.

**Remember: This API can potentially be dangerous with the ability to Delete Servers/Nodes at an instant!**

# Contributors

Created and maintained by [Linux123123](https://github.com/linux123123)
npm package: @linux123123/laravel-precognition
Description: Laravel Precognition.
Author: Laravel
Latest version: 0.7.3

# Laravel Precognition

<a href="https://github.com/laravel/precognition/actions"><img src="https://github.com/laravel/precognition/workflows/tests/badge.svg" alt="Test Status"></a>
<a href="https://github.com/laravel/precognition/actions"><img src="https://github.com/laravel/precognition/workflows/build/badge.svg" alt="Build Status"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/dt/laravel-precognition" alt="Total Downloads"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/v/laravel-precognition" alt="Latest Stable Version"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/l/laravel-precognition" alt="License"></a>

## Introduction

Laravel Precognition allows you to anticipate the outcome of a future HTTP request. One of the primary use cases of Precognition is the ability to provide "live" validation in your frontend application.

## Official Documentation

Documentation for Laravel Precognition can be found on the [Laravel website](https://laravel.com/docs/precognition).

## Contributing

Thank you for considering contributing to Laravel Precognition! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

## Security Vulnerabilities

Please review [our security policy](https://github.com/laravel/precognition/security/policy) on how to report security vulnerabilities.

## License

Laravel Precognition is open-sourced software licensed under the [MIT license](LICENSE.md).
npm package: @linux123123/laravel-precognition-react
Description: Laravel Precognition (React).
Author: Laravel
Latest version: 0.7.3

# Laravel Precognition

<a href="https://github.com/laravel/precognition/actions"><img src="https://github.com/laravel/precognition/workflows/tests/badge.svg" alt="Test Status"></a>
<a href="https://github.com/laravel/precognition/actions"><img src="https://github.com/laravel/precognition/workflows/build/badge.svg" alt="Build Status"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/dt/laravel-precognition" alt="Total Downloads"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/v/laravel-precognition" alt="Latest Stable Version"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/l/laravel-precognition" alt="License"></a>

## Introduction

Laravel Precognition allows you to anticipate the outcome of a future HTTP request. One of the primary use cases of Precognition is the ability to provide "live" validation in your frontend application.

## Official Documentation

Documentation for Laravel Precognition can be found on the [Laravel website](https://laravel.com/docs/precognition).

## Contributing

Thank you for considering contributing to Laravel Precognition! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

## Security Vulnerabilities

Please review [our security policy](https://github.com/laravel/precognition/security/policy) on how to report security vulnerabilities.

## License

Laravel Precognition is open-sourced software licensed under the [MIT license](LICENSE.md).
npm package: @linux123123/laravel-precognition-react-inertia
Description: Laravel Precognition (React w/ Inertia).
Author: Laravel
Latest version: 0.7.3

# Laravel Precognition

<a href="https://github.com/laravel/precognition/actions"><img src="https://github.com/laravel/precognition/workflows/tests/badge.svg" alt="Test Status"></a>
<a href="https://github.com/laravel/precognition/actions"><img src="https://github.com/laravel/precognition/workflows/build/badge.svg" alt="Build Status"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/dt/laravel-precognition" alt="Total Downloads"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/v/laravel-precognition" alt="Latest Stable Version"></a>
<a href="https://www.npmjs.com/package/laravel-precognition"><img src="https://img.shields.io/npm/l/laravel-precognition" alt="License"></a>

## Introduction

Laravel Precognition allows you to anticipate the outcome of a future HTTP request. One of the primary use cases of Precognition is the ability to provide "live" validation in your frontend application.

## Official Documentation

Documentation for Laravel Precognition can be found on the [Laravel website](https://laravel.com/docs/precognition).

## Contributing

Thank you for considering contributing to Laravel Precognition! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

## Security Vulnerabilities

Please review [our security policy](https://github.com/laravel/precognition/security/policy) on how to report security vulnerabilities.

## License

Laravel Precognition is open-sourced software licensed under the [MIT license](LICENSE.md).
npm package: @linuxcnc-node/types
Description: TypeScript type definitions for LinuxCNC Node.js bindings
Author: Dariusz Majnert
Latest version: 2.1.1

# @linuxcnc-node/types

TypeScript type definitions for LinuxCNC Node.js bindings.

## Installation

```bash
npm install @linuxcnc-node/types
```

## License

MIT
npm package: @linuxfoundation/lfx-ui-core
Description: LFX UI Core Configurations and Components
Author: The Linux Foundation
Latest version: 0.2.0

# LFX UI Core

A package that contains core functionality for LFX UI products. It includes design tokens and PrimeOne theme configuration that is shared across LFX UI products.

## Overview

### Design Tokens

This package contains design tokens and PrimeTek theme configuration that is shared across LFX UI products.

The generated tokens are organized into three layers:

- **Primitive Tokens**: Base-level design values (colors, spacing, typography, etc.)
- **Semantic Tokens**: Purpose-driven tokens that reference primitive tokens
- **Component Tokens**: Component-specific tokens that reference semantic tokens

## Installation

```bash
npm install @linuxfoundation/lfx-ui-core
```

## Documentation

- Configurations
  - [Design Tokens](docs/design-tokens.md)
  - [Prettier Configuration](docs/prettier-config.md)
- Components
  - [Components Overview](docs/components.md)
  - [Changelog Component](docs/changelog.md)
  - [Footer Component](docs/footer.md)
  - [Tools Component](docs/tools.md)

## Contributing

### Prerequisites

- Node.js 20.x
- npm

### Development Setup

1. Clone the repository:

```bash
git clone https://github.com/linuxfoundation/lfx-ui
cd lfx-ui-core
```

2. Install dependencies:

```bash
npm ci
```

3. Build the tokens and components:

```bash
npm run build
```

### Making Changes

1. The source tokens are defined in `src/design/tokens/tokens.json`
2. Modify the tokens file according to your needs, or update it in Figma using Tokens Studio
3. Run the build script to generate updated token files:

```bash
npm run build
```

### Release Process

1. Create a new version tag following semver conventions:

```bash
git tag v1.0.0
git push origin v1.0.0
```

2. The GitHub Action will automatically:
   - Build the package
   - Update the version
   - Publish to npm

### Guidelines

- Follow semantic versioning for releases
- Update documentation when adding new token categories
- Add comments to explain complex token relationships
- Test tokens in a real application before releasing
npm package: @linuxmercedes/coinmarketcap
Description: CoinMarketCap API
Author: The Exodus Movement
Latest version: 0.2.1

# coinmarketcap

[![NPM Package](https://img.shields.io/npm/v/coinmarketcap.svg?style=flat-square)](https://www.npmjs.org/package/coinmarketcap)
[![Build Status](https://img.shields.io/travis/ExodusMovement/coinmarketcap.svg?branch=master&style=flat-square)](https://travis-ci.org/ExodusMovement/coinmarketcap)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

## API

### `ticker([options])`

Get a list of assets and their info.

- `options` (Object) Optional.
  - `limit` (Number) Only return the top _`limit`_ assets. Default is to get all assets.
  - `convert` (String) Return price, 24h volume, and market cap in terms of another currency.

Returns a promise.

**Example:**
```js
await coinmarketcap.ticker({
  limit: 10,
  convert: 'eur'
})
// [
//     {
//         "id": "bitcoin",
//         "name": "Bitcoin",
//         "symbol": "BTC",
//         "rank": "1",
//         "price_usd": "1030.06",
//         "price_btc": "1.0",
//         "24h_volume_usd": "321117000.0",
//         "market_cap_usd": "16733968488.0",
//         "available_supply": "16245625.0",
//         "total_supply": "16245625.0",
//         "percent_change_1h": "0.52",
//         "percent_change_24h": "-1.01",
//         "percent_change_7d": "-1.77",
//         "last_updated": "1490895549",
//         "price_eur": "960.3403889",
//         "volume_eur": "299382195.855",
//         "market_cap_eur": "15601329830.0"
//     },
//     ... (9 more)
// ]
```

### `tickerByAsset(assetID, [options])`

Get info about a particular asset.

- `assetID` (String) Asset ID (i.e `'bitcoin'`)
- `options` (Object) Optional.
  - `convert` (String) Return price, 24h volume, and market cap in terms of another currency.

Returns a promise.

**Example:**
```js
await coinmarketcap.tickerByAsset('bitcoin', { convert: 'eur' })
// {
//     "id": "bitcoin",
//     "name": "Bitcoin",
//     "symbol": "BTC",
//     "rank": "1",
//     "price_usd": "1030.06",
//     "price_btc": "1.0",
//     "24h_volume_usd": "321117000.0",
//     "market_cap_usd": "16733968488.0",
//     "available_supply": "16245625.0",
//     "total_supply": "16245625.0",
//     "percent_change_1h": "0.52",
//     "percent_change_24h": "-1.01",
//     "percent_change_7d": "-1.77",
//     "last_updated": "1490895549",
//     "price_eur": "960.3403889",
//     "volume_eur": "299382195.855",
//     "market_cap_eur": "15601329830.0"
// }
```

### `global([options])`

Get global info.

- `options` (Object) Optional.
  - `convert` (String) Return 24h volume, and market cap in terms of another currency.

Returns a promise.

**Example:**
```js
await coinmarketcap.ticker()
// {
//     "total_market_cap_usd": 24854674203.0,
//     "total_24h_volume_usd": 694102237.0,
//     "bitcoin_percentage_of_market_cap": 67.33,
//     "active_currencies": 680,
//     "active_assets": 80,
//     "active_markets": 2817
// }
```

## License

MIT
npm package: @linvain/eslint-plugin
Description: My own eslint plugin
Author: linvain
Latest version: 0.1.2

# @linvain/eslint-plugin

## Installation

```sh
yarn add eslint eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks @linvain/eslint-plugin
```

## Usage

```js
extends: [
  'plugin:@linvain/recommended',
],
```
npm package: @linventif/aide-serveur-cicd
Description: CLI to automate resource updates on aide-serveur.fr
Latest version: 1.0.0

# Discord Resource Auto-Updater

Automates posting updates to a resource on [aide-serveur.fr](https://aide-serveur.fr) with Puppeteer.

## Setup

1. **Clone repository**

    ```bash
    git clone https://github.com/linventif/aide-server-cicd.git
    cd aide-server-cicd
    ```

2. **Install dependencies**

    ```bash
    bun install
    ```

3. **Environment Variables**

    | Variable         | Description                                | Example                               |
    | ---------------- | ------------------------------------------ | ------------------------------------- |
    | `EMAIL`          | Connection email for aide-serveur.fr login | `user@example.com`                    |
    | `PASSWORD`       | Password for aide-serveur.fr login         | `supersecret123`                      |
    | `RESOURCE`       | Resource slug (e.g. `test.4571`)           | `test.4571`                           |
    | `TARGET_URL`     | Base URL for resources page                | `https://aide-serveur.fr/ressources/` |
    | `UPDATE_VERSION` | New version title for the update           | `v1.2.3`                              |
    | `UPDATE_MSG`     | Release notes or update message            | `Fixes typo and adds feature X.`      |

4. **Usage**

    - **Development** (live reload):

        ```bash
        bun run dev
        ```

    - **Build** production bundle:

        ```bash
        bun run build
        ```

    - **Run** after build:
        ```bash
        bun run start
        ```

## CI/CD Integration (GitHub Actions)

Create `.github/workflows/update.yml`:

```yaml
name: Auto Update Resource
on:
    push:
        branches: [main]
jobs:
    update:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
            - name: Setup Bun
              uses: oven-sh/bun@v4
            - name: Install dependencies
              run: bun install
            - name: Run updater
              env:
                  EMAIL: ${{ secrets.EMAIL }}
                  PASSWORD: ${{ secrets.PASSWORD }}
                  RESOURCE: ${{ secrets.RESOURCE }}
                  TARGET_URL: 'https://aide-serveur.fr/ressources/'
                  UPDATE_VERSION: '${{ github.ref_name }}'
                  UPDATE_MSG: 'Release ${{ github.ref_name }}'
              run: aide-server-cicd
```

-   Store all sensitive values (`EMAIL`, `PASSWORD`, `RESOURCE`) in GitHub Secrets.
-   Adjust triggers as needed.

---

_Minimal README with environment table and CI/CD example._
npm package: @linvix-sistemas/calculadora-tributaria-js
Description: Biblioteca para cálculos fiscais na NFe/NFCe
Author: Cristiano Junior
Latest version: 1.0.18

# Calculadora Tributária (calculadora-tributaria-js)

![Build & Publish](https://github.com/linvix-sistemas/calculadora-tributaria-js/actions/workflows/npm-publish.yml/badge.svg)

## Índice

-   [Calculadora Tributária (calculadora-tributaria-js)](#calculadora-tributária-calculadora-tributaria-js)
    -   [Índice](#índice)
    -   [Sobre o projeto](#sobre-o-projeto)
    -   [Tributações suportadas](#tributações-suportadas)

## Sobre o projeto

Portabilidade da biblioteca [**FiscalNet**](https://github.com/sacfiscal/FiscalNet/tree/master), escrita em C#, para TypeScript. Contém as implementações de cálculos tributários para emissão de documentos fiscais eletrônicos no Brasil.

## Tributações suportadas

-   [ICMS](https://pt.wikipedia.org/wiki/Imposto_sobre_Circula%C3%A7%C3%A3o_de_Mercadorias_e_Servi%C3%A7os);
-   [ICMS-ST](<https://www.totvs.com/blog/adequacao-a-legislacao/substituicao-tributaria/#:~:text=A%20Substitui%C3%A7%C3%A3o%20Tribut%C3%A1ria%20(ST)%20%C3%A9,produto%20chegue%20ao%20consumidor%20final.>);
-   [IPI](https://pt.wikipedia.org/wiki/Imposto_sobre_Produtos_Industrializados);
-   [PIS](https://pt.wikipedia.org/wiki/PIS/PASEP);
-   [COFINS](https://pt.wikipedia.org/wiki/Contribui%C3%A7%C3%A3o_para_o_Financiamento_da_Seguridade_Social).

---

-   [**Voltar para o índice**](#índice)
npm package: @linvix-sistemas/cpf-cnpj-validator
Description: Valida e formata strings de CPF ou CNPJ.
Author: Carvalho, Vinicius Luiz
Latest version: 1.1.3

# @linvix-sistemas/cpf-cnpj-validator
Valida e formata strings de CPF ou CNPJ.

[![travis][travis-image]][travis-url]
[![npm][npm-image]][npm-url]
![GitHub top language](https://img.shields.io/github/languages/top/linvix-sistemas/cpf-cnpj-validator)
![GitHub last commit](https://img.shields.io/github/last-commit/linvix-sistemas/cpf-cnpj-validator)

[travis-image]: https://travis-ci.org/linvix-sistemas/cpf-cnpj-validator.svg?branch=master
[travis-url]: https://travis-ci.org/linvix-sistemas/cpf-cnpj-validator
[npm-image]: https://img.shields.io/npm/v/cpf-cnpj-validator.svg?style=flat
[npm-url]: https://npmjs.org/package/cpf-cnpj-validator

### Requer:
Node ``^8.0.0``.

### Instalação:
```
yarn add @linvix-sistemas/cpf-cnpj-validator
```

### Uso:
:warning: __NOTE__: Os exemplos estão na versão es6, mas você pode está usando a sintaxe antiga como preferir.
```js
import validator from '@linvix-sistemas/cpf-cnpj-validator';
// or const validator = require('cpf-cnpj-validator');

// gera um número de cpf
const num = validator.cpf.generate();
// #=> 25634428777

// verifica se é um número válido
validator.cpf.isValid(num);
// #=> true

// formata o número gerado
validator.cpf.format(num);
// #=> 256.344.287-77
```

:warning: __NOTE__: Os módulos de cpf e cnpj possuem métodos nomeados de forma igual diferindo se apenas os resultados.

```js
import validator from '@linvix-sistemas/cpf-cnpj-validator';
// or const validator = require('cpf-cnpj-validator');

// gera um número de cpnj
const num = validator.cnpj.generate();
// #=> 58403919000106

// verifica se é um número válido
validator.cnpj.isValid(num);
// #=> true

// formata o número gerado
validator.cnpj.format(num);
// #=> 58.403.919/0001-06
```

Veja mais exemplos práticos consultando os testes para [CPF](./test/cpf.test.ts) e [CNPJ.](./test/cpf.test.ts)

### Tests
```shell
npm test
```

### :rocket: Serviços

| Site | Descrição |
|---------|--------------|
| [GERADOR_CPF] | Interface para geração de números de CPF |
| [GERADOR_CNPJ] | Interface para geração de números de CNPJ |

[GERADOR_CPF]: https://geradorcpf.org/
[GERADOR_CNPJ]: https://geradorcnpj.org/

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2020-present
npm package: @linvix-sistemas/ie-validator
Description: Validador de instrições estaduais brasileiras
Author: Cristiano Cruz
Latest version: 0.0.8

# @linvix-sistemas/ie-validator
Pacote para validação de Inscrições Estaduais Brasileiras.

[![npm][npm-image]][npm-url]
![GitHub top language](https://img.shields.io/github/languages/top/linvix-sistemas/ie-validator)
![GitHub last commit](https://img.shields.io/github/last-commit/linvix-sistemas/ie-validator)

[npm-image]: https://img.shields.io/npm/v/@linvix-sistemas/ie-validator.svg?style=flat
[npm-url]: https://npmjs.com/package/@linvix-sistemas/ie-validator

### Instalação:
```
yarn add @linvix-sistemas/ie-validator
```

### Uso
```ts
import IEValidator from '@linvix-sistemas/ie-validator';
// OU
import { validateIE } from '@linvix-sistemas/ie-validator';

// valida uma IE
const valid = IEValidator.validate('SC', '586653554');
```

## Licença

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2025-atual
npm package: @linvix-sistemas/react-native-bluetooth-printer
Description: Pacote de comunicação com impressoras bluetooth
Author: Cristiano Cruz
Latest version: 1.3.0

# @linvix-sistemas/react-native-bluetooth-printer

Library to support connect and buffer printing with bluetooth

> This library works only with Android

## Installation

```sh
yarn add @linvix-sistemas/react-native-bluetooth-printer
```

```sh
npm install @linvix-sistemas/react-native-bluetooth-printer
```

## Usage

The available methods, you can look in [src/index.tsx](src/index.tsx).

Check the [example](example/src/App.tsx) folder to understand how the library works.

There are listeners available for interaction with the bluetooth device, check for understanding.

Android has a requirement to access GPS location to search for Bluetooth devices, there is a function that requests permission.

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @linvix-sistemas/react-native-get-values
Description: Get info.plist or strings.xml values for react native.
Author: Cristiano Cruz
Latest version: 1.1.2

# @linvix-sistemas/react-native-get-values

Get info.plist or values/strings.xml values for react native.

## Remember to add the key you want to recover in the info.plist file on iOS and in res/values/strings.xml on Android.

## Installation

```sh
yarn add @linvix-sistemas/react-native-get-values
```

## Usage


```js
import { getKeyValue } from '@linvix-sistemas/react-native-get-values';

const result = await getKeyValue('your_key');
```

## Typescript Override avaliable Keys
Create declaration (d.ts) a file with your avaliable keys.

```ts
declare module '@linvix-sistemas/react-native-get-values' {
    type AvailableKeys = 'KEY1' | 'KEY2' | 'KEY3';
    export function getKeyValue(key: AvailableKeys): Promise<string>;
}
```

## License

MIT
npm package: @linvix-sistemas/react-native-keyevent-android
Description: Pacote para detecção das teclas pressionadas no android, em dispositivos externos, seja teclado externo ou leitor de código de barras.
Author: Cristiano Cruz <cristiano@linvix.com.br> (https://github.com/cristiano-linvix)
Latest version: 1.0.13
npm package: @linvix-sistemas/react-native-sunmi-broadcast-scanner
Description: Package to listen to Scanners on Sunmi Devices configured with Broadcast
Author: Cristiano Cruz
Latest version: 1.1.1

# @linvix-sistemas/react-native-sunmi-broadcast-scanner

Package to listen to Scanners on Sunmi Devices configured with Broadcast

## Installation

```sh
npm install @linvix-sistemas/react-native-sunmi-broadcast-scanner
```

```sh
yarn add @linvix-sistemas/react-native-sunmi-broadcast-scanner
```

### Usage - onBarcodeRead
> See the [example](example/src/App.tsx) folder to see how to use it.

This method is a "listener", that is, it waits for the event to occur, and triggers the callback function when the event happens.
```ts
import ReactNativeSunmiBroadcastScanner from '@linvix-sistemas/react-native-sunmi-broadcast-scanner';


useEffect(() => {
    /**
     * On devices that have a barcode reader or support via external USB scanners.
     * For code reading to work, you need to configure the device to broadcast data and disable TextInput for text output.
     *
     * L2s/L2ks also works here with barcode scanning.
     *
     * It is important to call cleanup to remove the listener from the function when you want to stop receiving the read barcode.
     */
    const cleanup = ReactNativeSunmiBroadcastScanner.onBarcodeRead((ev) => {
      console.log(ev);
    });

    return () => cleanup.remove();
}, []);
```

### Usage - Utils
Utility functions that are used to obtain some data and perform some functions.

```ts
import ReactNativeSunmiBroadcastScanner from '@linvix-sistemas/react-native-sunmi-broadcast-scanner';


/**
 * Get model of device
 */
const model = await ReactNativeSunmiBroadcastScanner.utils.getModel();

/**
 * Get brand of device
 */
const brand = await ReactNativeSunmiBroadcastScanner.utils.getBrand();

/**
 * Get serial number of device
 */
const serialNumber = await ReactNativeSunmiBroadcastScanner.utils.getSerialNumber();

/**
 * Get version code of device
 */
const versionCode = await ReactNativeSunmiBroadcastScanner.utils.getVersionCode();

/**
 * Get version name of device
 */
const versionName = await ReactNativeSunmiBroadcastScanner.utils.getVersionName();

/**
 * Reboot device
 */
const response = await ReactNativeSunmiBroadcastScanner.utils.rebootDevice(reason: string);
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @linvix-sistemas/react-native-tectoysunmisdk
Description: Pacote de comunicação com o hardware de Sunmi/Tectoy Automação, para efetuar impressão, comunicação com LCD entre outros.
Author: Cristiano Cruz <cristiano@linvix.com.br> (https://github.com/cristiano-linvix)
Latest version: 1.1.0