open-index/open-npm huggingface dataset:
npm package: @ribeiro-ui/eslint-config
Description: ESLint configuration used by Felipe Ribeiro.
Latest version: 1.0.1

# Ribeiro ESLint config

## Whats included?

- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;

## Setup

### React (with Next.js)

Install dependencies:
```
npm i -D eslint @ribeiro/eslint-config
```
Inside `.eslintrc.json`
```
{
  "extends": [
    "@ribeiro/eslint-config/next", 
    "next/core-web-vitals"
  ]
}
```

### React (without Next.js)

Install dependencies:
```
npm i -D eslint @ribeiro/eslint-config
```
Inside `.eslintrc.json`
```
{
  "extends": "@ribeiro/eslint-config/react"
}
```

### Node.js

Install dependencies:
```
npm i -D eslint @ribeiro/eslint-config
```
Inside `.eslintrc.json`
```
{
  "extends": "@ribeiro/eslint-config/node"
}
```
npm package: @ribeiroevandro/fix-deps
Description: Updates package.json with fixed versions based on those installed in node_modules.
Author: Evandro Ribeiro
Latest version: 1.1.0

# fix-deps

[![Build Status](https://github.com/ribeiroevandro/fix-deps/actions/workflows/test.yml/badge.svg)](https://github.com/ribeiroevandro/fix-deps/actions/workflows/test.yml)

> Corrige as versões das dependências no `package.json` com base no que está instalado em `node_modules`.

## Visão Geral

`fix-deps` é uma ferramenta CLI Node.js que corrige as versões das dependências no `package.json` para corresponderem ao que está realmente instalado em `node_modules`. Ela identifica incompatibilidades de versão entre as dependências declaradas e instaladas e pode atualizar o `package.json` com versões exatas.

## Comandos

### Instalação & Uso
- **Instalação global**: `npm install -g fix-deps` ou `pnpm install -g fix-deps`
- **Executar ferramenta**: `fix-deps` (executar no diretório do projeto com `package.json`)

### Build & Teste Local
Este CLI tool agora usa TypeScript e `tsup` para o processo de build.
- **Build**: `pnpm run build` (compila o TypeScript de `src/` para `dist/`)
- **Testar localmente (após o build)**: `node dist/bin/cli.js` (executar a partir da raiz do repositório)

Atualmente, não há configurações dedicadas de teste ou linting além da compilação TypeScript.
npm package: @ribeiroevandro/helpers
Description: My Tools Helpers
Author: Evandro Ribeiro
Latest version: 0.0.18
Deprecated: rewrite

# MyTool - Helpers

## Functionalities

<details>
  <summary>Normalize Money</summary>

Helper function that assists in applying monetary mask.

## How to use:

### Install

Install the library using `yarn` or `npm`:

```bash
yarn add @ribeiroevandro/helpers
or
npm install @ribeiroevandro/helpers
```

### Using

Import the library like this:

```javascript
import { normalizeMoney } from '@ribeiroevandro/helpers';
```

To use, just run it where you want and provide the necessary parameters, for example:

```javascript
normalizeMoney(100, 'pt-BR');
// Ex: R$ 100,00
```

The function expects two arguments, an integer and a string. The number is the value you want to format and the string, which mask should be applied, by default if only the number is passed, the function will apply the Real (BRL) mask, but it is possible to format in Dollars (USD), it is enough that, in the second argument, it is passed 'en-US' and the return will be:
A função espera dois argumentos, sendo um número inteiro e uma string. O número é o valor que deseja formatar e a string, qual máscara deverá ser aplicada, que pode ser 'pt-BR' para Real(BRL) ou 'en-US' para Dóllar(USD):

```javascript
{
  normalizeMoney(100, 'pt-BR');
}
// Ex: R$ 100,00

// or

{
  normalizeMoney(100, 'en-US');
}
// Ex: $100.00
```

**_So far, these are the supported formats: `pt-BR` & `en-US`_**

</details>
npm package: @ribeirogab/eslint-config
Description: Custom ESLint config
Author: ribeirogab
Latest version: 2.0.1

# @ribeirogab/eslint-config

## Install

To install `@ribeirogab/eslint-config`, you can use NPM:

```zsh
npm i @ribeirogab/eslint-config -D
```

## Setup

Create `.eslintrc.json` file and extends `@ribeirogab/eslint-config`

**Node.js:**

```json
{
  "extends": [
    "@ribeirogab/eslint-config/node"
  ]
}
```

**React.js:**

```json
{
  "extends": [
    "@ribeirogab/eslint-config/react"
  ]
}
```

**Next.js:**

```json
{
  "extends": [
    "@ribeirogab/eslint-config/next"
  ]
}
```

## License

[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)

- **[MIT license](http://opensource.org/licenses/mit-license.php)**
npm package: @ribeirogabriel/react-native-vision-camera
Description: The Camera library that sees the vision.
Author: Gabriel Ribeiro
Latest version: 2.6.1

<h1 align="center">Vision Camera</h1>

<div align="center">
  <img src="docs/static/img/11.png" width="50%">
  <br />
  <br />
  <blockquote><b>📸 The Camera library that sees the vision.</b></blockquote>
  <pre align="center">npm i <a href="https://www.npmjs.com/package/react-native-vision-camera">react-native-vision-camera</a><br/>npx pod-install                 </pre>
  <a align="center" href='https://ko-fi.com/F1F8CLXG' target='_blank'>
    <img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi2.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' />
  </a>
  <br/>
  <a align="center" href="https://github.com/mrousavy?tab=followers">
    <img src="https://img.shields.io/github/followers/mrousavy?label=Follow%20%40mrousavy&style=social" />
  </a>
  <br />
  <a align="center" href="https://twitter.com/mrousavy">
    <img src="https://img.shields.io/twitter/follow/mrousavy?label=Follow%20%40mrousavy&style=social" />
  </a>
</div>

<br/>
<br/>

<div>
  <img align="right" width="35%" src="docs/static/img/example.png">
</div>

### Documentation

* [Guides](https://mrousavy.github.io/react-native-vision-camera/docs/guides)
* [API](https://mrousavy.github.io/react-native-vision-camera/docs/api)
* [Example](./example/)

### Features

* Photo, Video and Snapshot capture
* Customizable devices and multi-cameras (smoothly zoom out to "fish-eye" camera)
* Customizable FPS
* [Frame Processors](https://mrousavy.github.io/react-native-vision-camera/docs/guides/frame-processors) (JS worklets to run QR-Code scanning, facial recognition, AI object detection, realtime video chats, ...)
* Smooth zooming (Reanimated)
* Fast pause and resume
* HDR & Night modes

> See the [example](./example/) app

### Example

```tsx
function App() {
  const devices = useCameraDevices('wide-angle-camera')
  const device = devices.back

  if (device == null) return <LoadingView />
  return (
    <Camera
      style={StyleSheet.absoluteFill}
      device={device}
      isActive={true}
    />
  )
}
```

<br />

#### 🚀 Get started by [setting up permissions](https://mrousavy.github.io/react-native-vision-camera/docs/guides/)!
npm package: @ribeirolabs/events
Description: Type safe listener for custom/native events and dispatcher for custom events
Author: Igor Ribeiro
Latest version: 3.1.0

# @ribeirolabs/events

Type safe listener for custom/native events and dispatcher for custom events

## Usage

### listenEvent `(event, handler) => unlistenEvent`

```js
import { listenEvent } from '@ribeirolabs/events';

// adds event listener
const unlisten = listenEvent('hashchange', (e) => console.log(e.name));

// removes event listener
unlisten();
```

### unlistenEvent `(event) => void`

You can also use it to unlisten a specific event.

```js
import { unlistenEvent } from '@ribeirolabs/events';

// removes event listener
unlistenEvent('hashchange');
```

### dispatchCustomEvent `(name, detail) => void`

```js
import { listenEvent, dispatchCustomEvent } from '@ribeirolabs/events';

listenEvent('my-event', (event) => {
  console.log(event.detail.message); // it works
});

dispatchCustomEvent('my-event', {
  message: 'it works',
});
```

## React

### useEvent `(event, handler) => void`

This hook automatically adds the listener on mount and removes it on unmount.

```js
import { useEvent } from '@ribeirolabs/events/react';

function Component() {
  const listener = useCallback((event) => {
    console.log(event.name);
  }, []);

  useEvent('hashchange', listener);
}
```

## Browser

### index.browser.js

It adds a global `ribeirolabs.events` with all the methods.

```html
<script src="https://unpkg.com/@ribeirolabs/events/index.browser.js"></script>

<script>
  ribeirolabs.events.listenEvent('my-event', (event) => {
    console.log(event.detail.message) // it works!
  });

  ribeirolabs.events.dispatchCustomEvent('my-event', {
    message: 'it works!',
  });

  ribeirolabs.events.unlistenEvent();
</script>
```

### index.mjs

To work with modules.

```html
<script type="module">
  import { listenEvent, dispatchCustomEvent, unlistenEvent } from "https://unpkg.com/@ribeirolabs/events/index.mjs";

  listenEvent('my-event', (event) => {
    console.log(event.detail.message) // it works!
  });

  dispatchCustomEvent('my-event', {
    message: 'it works!',
  });

  unlistenEvent();
</script>
```


## Typescript

You can type your custom events, just declare a global `Events` interface. We
suggest that you create an `events.d.ts` file inside the root folder.

```ts
interface Events {
  'my-event': {
    message: string;
  };
};
```

Now `dispatchCustomEvent` will be typed based on that interface, and the other
methods will also consider these events.
npm package: @ribeirolabs/local-storage
Description: Local storage helper for set/get values, with value conversion
Author: Igor Ribeiro
Latest version: 3.1.1

# @ribeirolabs/local-storage

Local storage helper for set/get values, with value conversion.

## Usage

### setLocalStorage `(name, value) => void`

Sets `name` with `value` in localStorage, it converts everything but strings with `JSON.stringify` so objects and arrays are stored correctly.

```js
import { setLocalStorage } from '@ribeirolabs/local-storage';

setLocalStorage('person', { name: 'Jhon' });
setLocalStorage('active', true);
setLocalStorage('ids', [1, 2]);
```

### getLocalStorage `(name, fallback) -> value`

Returns the value from localStorage or fallback if it's not present.

LocalStorage stores the values as a string, this function converts the value to the correct type.

```js
import { getLocalStorage } from '@ribeirolabs/local-storage';

getLocalStorage('person', { name: 'default' }) // { name: 'Jhon' }
getLocalStorage('active', false) // true
getLocalStorage('ids', []) // [1, 2]
getLocalStorage('missing', 'use-me') // "use-me"
```

### removeLocalStorage `(name) -> void`

No magic here, it removes `name` from localStorage.

## React

### useLocalStorage `(name, fallback) -> [value, setValue]`

Behaves like `useState`, but `setValue` updates the `value` in localStorage.

```jsx
import { useLocalStorage } from '@ribeirolabs/local-storage/react';

function Component() {
  // `value` will be synced in localStorage
  const [value, setValue] = useLocalStorage('name', 'Jhon Doe');

  return (
    <input name="name" value={value} onChange={e => setValue(e.target.value)} />
  );
}
```

### useSetLocalStorage `(name, value) -> void`

Use this when you need to sync the `value` into localStorage on every change.

```jsx
import { useState } from 'react';
import { useLocalStorage } from '@ribeirolabs/local-storage/react';

function Component() {
  const [value, setValue] = useState('Jhon Doe');

  // updates `name` on localStorage everytime the `value` changes
  useSetLocalStorage('name', value);

  return (
    <input name="name" value={value} onChange={e => setValue(e.target.value)} />
  );
}
```

## Browser

### index.browser.js

It adds a global `ribeirolabs.localStorage` with all the methods.

```html
<script src="https://unpkg.com/@ribeirolabs/local-storage/index.browser.js"></script>

<script>
  ribeirolabs.localStorage.setLocalStorage('name', 'John Doe');

  console.log(
    ribeirolabs.localStorage.getLocalStorage('name', '')
  );

  ribeirolabs.localStorage.removeLocalStorage('name');
</script>
```

### index.mjs

To work with modules

```html
<script type="module">
  import { setLocalStorage, getLocalStorage } from "https://unpkg.com/@ribeirolabs/local-storage/index.mjs";

  setLocalStorage('name', 'John Doe');

  console.log(
    getLocalStorage('name', '')
  );
</script>
```
npm package: @riboseinc/iso-15924
Description: ISO 15924 codes
Author: Ribose Open
Latest version: 1.20200424.1

= ISO 15924 codes

Complete set of fields from the original dataset, with matching names.

Includes index by code.

== Installation

[source]
--
yarn add "@riboseinc/iso-15924"
--

== Usage

[source]
--
import data from '@riboseinc/iso-15924'

for (const item of data) {
  console.info(item.Code);
  console.info(item["N°"]);
  console.info(item["Unicode Version"]);
}
--

[source]
--
import data from '@riboseinc/iso-15924/index-by-code.json'

console.info(data["Adlm"].Code);
--

== Release process

=== Versioning

The package is versioned as follows:

[source]
--
1.20200101.0
| |        |
| |        ^ patch version
| ^ timestamp
^ major version
--

Timestamp reflects the date of latest item in the registry.

=== Rebuild the registry

[source]
--
yarn compile; yarn build-json; yarn dist
--

=== Ensure correct version

This will create files under dist/, including package.json with version
that reflects the timestamp of the latest item in the registry.

Major and patch components of the version are currently fixed as 1 and 0
respectively. If a different major or patch package version should be published,
manually edit dist/package.json to increment the number.

=== Publishing to NPM

Publish as per usual. This is not done automatically.
npm package: @riboseinc/isogit-lfs
Description: LFS helpers for Isomorphic Git
Author: Ribose Inc.
Latest version: 0.2.0

Aspirationally, a set of helpers
to simplify working with Git LFS through Isomorphic Git.

Currently the API is fairly low-level.

NOTE: While Isomorphic Git maintenance status is unclear,
this library is in turn not likely to receive new features.


== Installation

Peer dependencies:

- Isomorphic Git ^1.7.8
- @aws-crypto/sha256-universal ^2.0.0


== Usage

As of 0.2.0 (to be released), API offers the following functions
(blobs are Uint8Array instances):


- `downloadBlobFromPointer({ http, headers, url, auth }, lfsPointer) => Uint8Array`
+
where `http` is an `HttpClient` as supported by Isomorphic Git,
URL is repository URL
and `lfsPointer` is an object returned by `readPointer()`.
+
Uses cache, if the object had been previously retrieved.


- `uploadBlob({ http, headers, url, auth }, blob) => PointerInfo`
+
where first argument is the same as for the download function,
and returned pointer info can be used to write a pointer file in place
of actual object in Git repository (pass it through `formatPointerInfo()`).


- `readPointer({ gitdir, content }) => Pointer`
+
where `gitdir` behavior mimics that of Isomorphic Git
(for non-bare repositories it’s *not* working directory but the `.git` in it)
and `content` is a `Uint8Array`.
+
Returns an LFS pointer together with Git repo object path of the full blob
(which may or may not be retrieved).


- `readPointerInfo(blob) => PointerInfo`
+
converts a Uint8Array into an LFS pointer structure
sufficient for requesting actual LFS blob.


- `formatPointerInfo(lfsPointerInfo) => Uint8Array`
+
converts pointer info to appropriately formatted blob
suitable to be stored in Git repository in place of actual object data.


- `populateCache(gitdir, ref?)`
+
where `gitdir` is same as for `readPointer()`
and `ref` should probably be left at the default `"HEAD"`.
+
Attempts to download all LFS objects.
+
NOTE: This particular function is a very tentative piece of API.
Downloads are not particularly optimized, it’s likely quite slow.


== Known shortcomings

- The `@aws-crypto/sha256-universal` dependency is suboptimal.
It pulls extra dependencies of its own,
while it’s not that difficult to provide corresponding implementation using subtle crypto
which is compatible between Node and modern browsers.
- Originally written for Node runtime, but should work in browser as of 0.2.0.
- Lacks automated tests.

== Considered within scope

- Implement batch uploads and downloads (parallelise requests? use native batch API?)
- Find a way to generalize UA header handling
- Make it work in browser runtime as well (if feasible?) — should be done in 0.2.0
npm package: @ribpay/payline-typescript-sdk
Description: Payline Typescript SDK
Author: Guillaume FORTAINE
Latest version: 0.3.0

# Payline SDK 

*This is an unofficial repository*

## Installation

```shell script
npm i --save @playmoweb/payline-typescript-sdk
```

## Basic usage

```typescript
import {
  Payline,
  PaylineWeb,
  PaylineDoWebPaymentRequest,
  PaylineCurrency,
  PaylineAction,
  PaylineDeliveryMode,
  PaylineMode,
} from "payline-typescript-sdk";

// prepare payline configuration
const isProduction = false;
const isDebug = true;
const paylineConfig = new Payline("YOUR_MERCHANT_ID", "YOUR_KEY_SECRET", "YOUR_CONTRACT_NUMBER", {}, isProduction, isDebug);
const paylineWebService = new PaylineWeb(paylineConfig);

// Create a request to do a web payment
const doWebPaymentRequest = new PaylineDoWebPaymentRequest("YOUR_ORDER_REFERENCE_ID")
    .setClientDetails("client-email@example.com", "First name", "Last name")
    .setCallbackUrls("https://www.your.website.com/returnUrl", "https://www.your.website.com/cancelUrl", "https://your.server.com/hook/payline")
    .setAmount(1000, PaylineCurrency.EUR)
    .setPaymentDetails(PaylineAction.AuthCapture, PaylineMode.FULL)
    .setOrderDetails(PaylineDeliveryMode.Virtual)
    .setWalletId("CUSTOMER_WALLET_ID"); // if needed, attach a walletId

// Execute the payment (will return a promise)
paylineWebService.doWebPayment(doWebPaymentRequest);
```

```typescript
import {PaylineWalletManagement} from "payline-typescript-sdk";

// if you need wallet endpoints you need to instantiate the service with the payline config instance
const paylineWalletService = new PaylineWalletManagement(paylineConfig);
```

## Development

Tested endpoints :

```
// PaylineWeb
doWebPayment()
getWebPaymentDetails()
manageWebWallet()

// PaylineWalletManagement


// PaylinePaymentManagement
doRefundRequest()
```