open-index/open-npm huggingface dataset:
npm package: @gennadysx/react-native-background-thread
Description: Run your code in background thread
Author: Gennady Sabirovsky
Latest version: 1.2.2


# @gennadysx/react-native-background-thread

This package helps in executing the javascript in a background thread. Time-consuming javascript code is shifted to a native background thread by freeing the main-UI thread, which helps in increasing the efficiency of the application.
Thread priority can be handled by passing in the appropriate flags. Currently we support three types of flag as under:

| Priority Flags      | Description | Android thread value     | IOS thread value     |
| :----:       |    :----:   |     :----: | :----: |
| MAX      | This sets the thread priority to the maximum available on the corresponding native platform.       | 10  | 1.0 |
| MIN   | This sets the thread priority to the minmimum available on the corresponding native platform.        | 1     | 0.1 |
| NORMAL   | This sets the thread priority to the default or normal on the corresponding native platform.        | 5     | 0.5 |

## Getting started

`$ yarn add @gennadysx/react-native-background-thread`

### Linking

#### iOS
	1. 	Add pod 'react-native-bg-thread', :path => '../node_modules/@gennadysx/react-native-background-thread/react-native-background-thread.podspec' to your pod file under targets
		Run following commands
	2. 	cd ios
	3. 	pod install

#### Android
	No further action needed

## Usage
#### Example 1

with `Priority` flag
```javascript
import {run, BackgroundThreadPriority} from '@gennadysx/react-native-background-thread';

      run(() => {
        // Your Javascript code here
      }, BackgroundThreadPriority.MIN); // Also you can set your priority here BackgroundThreadPriority.MAX or BackgroundThreadPriority.NORMAL

```

#### Example 2

```javascript
import BackgroundThread from '@gennadysx/react-native-background-thread';

        BackgroundThread.run(()=>{
            // Your Javascript code here
        })

```
npm package: @gennadysx/react-native-pincher
Description: React Native view for image component
Author: Gennady Sabirovsky
Latest version: 1.3.9

# @gennadysx/react-native-pincher
Pinch any view

supports **TurboModules**.
****


![Alt Text](./example/example.gif)


## Installation

```sh
npm install @gennadysx/react-native-pincher
```

## Usage

```js
import { PincherView } from '@gennadysx/react-native-pincher';

<PincherView>
  <Image source={...}> // or any other view
</PincherView>
```


## License

MIT

---

Made with ❤️ by [Gennady Sabirovsky](https://gennadysx.com)
npm package: @gennextech/eslint-common
Description: Common ESLint configuration
Latest version: 0.0.6

# Gennex Technology eslint configuration

This repository contains the shared ESLint configuration used by the Gennex Technology team. It provides a standardized set of linting rules for your JavaScript and TypeScript projects, helping to ensure code quality and consistency across your projects.

## Installation

First of all, ensure that Node.js and pnpm are installed in your system. Then, run the following command to install the package:

```bash
yarn add -D @gennextech/eslint-common
```

This command installs this package as a devDependency in your project.

### Setup

This eslint configuration expects some `peerDependencies` or `devDependencies` to be installed in your project. Please ensure that you have them installed as devDependency.
You can install them using the following command:

```bash
yarn add -D eslint@^9.39.1 prettier typescript
```

## Usage

Create a `eslint.config.*` file in your project's root (or update the existing one) with the following content:

```ts
// Import the configs that required for your project,
import confs from "@gennextech/eslint-common";

const configs = [
  ...confs,
  {
    // extra configs
  },
];

export default configs;
```

Lint command:

```bash
eslint --report-unused-disable-directives .
```
npm package: @gennextech/eslint-react
Description: React ESLint configuration
Latest version: 0.0.3

# Gennex Technology eslint configuration

This repository contains the shared ESLint configuration used by the Gennex Technology team. It provides a standardized set of linting rules for your JavaScript and TypeScript projects, helping to ensure code quality and consistency across your projects.

## Installation

First of all, ensure that Node.js and pnpm are installed in your system. Then, run the following command to install the package:

```bash
yarn add -D @gennextech/eslint-react
```

This command installs this package as a devDependency in your project.

### Setup

This eslint configuration expects some `peerDependencies` or `devDependencies` to be installed in your project. Please ensure that you have them installed as devDependency.
You can install them using the following command:

```bash
yarn add -D eslint@^9.39.1 prettier typescript
```

## Usage

Create a `eslint.config.*` file in your project's root (or update the existing one) with the following content:

```ts
// Import the configs that required for your project,
import confs from "@gennextech/eslint-react";

const configs = [
  ...confs,
  {
    // extra configs
  },
];

export default configs;
```

Lint command:

```bash
eslint --report-unused-disable-directives .
```
npm package: @gennextech/ui
Description: [![npm version](https://img.shields.io/npm/v/@gennextech/ui.svg)](https://www.npmjs.com/package/@gennextech/ui) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
Author: Gennex Tech
Latest version: 0.1.1
npm package: @genni_tech_team/events
Description: Event types for Genni Tech Team
Author: Genni Tech Team
Latest version: 1.1.19

# @genni_tech_team/events

Event types and definitions for Genni Tech Team's event system.

## Installation

```bash
npm install @genni_tech_team/events
```

## Usage

```typescript
import { Event, EventType, PostStatusIds } from '@genni_tech_team/events';

// Example handler
const handleEvent: EventHandler = async (event: Event) => {
  switch (event.type) {
    case EventType.CreatorPostUpdate:
      // Handle creator post update
      return true;
    case EventType.UserForgotPassword:
      // Handle forgot password
      return true;
    default:
      return false;
  }
};
```

## Events

### UserForgotPassword
Triggered when a user requests a password reset.

### CreatorPostUpdate
Triggered when a creator post is updated.

## Examples

See the examples in the code for JSON format examples.