open-index/open-npm huggingface dataset:
npm package: @felipepereira/fixture
Description: Simple way to create random objects from any class for test purpose.
Author: Felipe Chagas Pereira
Latest version: 0.1.10

# fixture.js - Generate fake data from class declaration using decorators 

![npm (scoped)](https://img.shields.io/npm/v/@felipepereira/fixture) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@felipepereira/fixture)

## Usage

### Node.js

1- In your dto class import the decorators you need to use
```typescript
    import {FirstName} from '@felipepereira/fixture'
```

2- Use the imported decorator to define which kind of fake data the class property must receive.
```typescript
    @FirstName()
    name: string;
```

3- You must initialize the property otherwise javascript will not add it to objects prototype. You can either do it in property declaration:
```typescript
    @FirstName()
    name: string = '';
```
or class contructor:
```typescript
    constructor() {
        this.name = '';
    }
```

4- Now you are able to create fake valide data for your objects  by calling getFixture or getFixtures functions with the class as parameter:
```typescript
    import {FirstName, getFixture} from '@felipepereira/fixture'

    export default class Person {
        @FirstName()
        name: string;

        constructor() {
            this.name = '';
        }
    }

    const fixture = getFixture(Person);
```
In that case fixture value would be a Person object with a random property name value. Something like:
```typescript    
    Person {
        name: 'Felipe'
    }
```
npm package: @felipesimmi/react-native-datalogic-module
Description: Library that exposes the Datalogic Android (Java) SDK as a React Native Module.
Author: Felipe Simmi
Latest version: 1.0.13-beta

# react-native-datalogic-module

Library that exposes the Datalogic Android (Kotlin) SDK as a React Native Module.

## Installation

```sh
yarn add @datalogic/react-native-datalogic-module
                    OR
npm i @datalogic/react-native-datalogic-module
```

## Documentation

[Documentation is available here](https://datalogic.github.io/reactnative).

## Usage

```js
import BarcodeManager from "@datalogic/react-native-datalogic-module";
// ...
const result = await BarcodeManager.pressTrigger();
```

## Developer Instructions

Basic to-do's when updating and pushing to gitlab.

### First Time Instructions

Follow the [React Native CLI Quickstart](https://reactnative.dev/docs/environment-setup) instructions to install necessary software. Run 'yarn install' from the main project directory

### Editting the Module

* The kotlin files are located in android/src/main/java/com/reactnativedatalogicmodule
* If you wish to add a new class, make a new file in the same location and add it to the DatalogicModulePackage.kt
* Here is the React Native documentation on native modules [that are used](https://reactnative.dev/docs/native-modules-intro).

### Release Preparation

* Run 'yarn test android' in the command line from the main project
    All tests should pass except the AutoScanTrigger (only some Datalogic devices have the functionality)

* Install and use the [np tool](https://github.com/sindresorhus/np):

  ``` bash
  npm install --global np
  np
  ```
npm package: @felipesimmi/react-native-scanner-zebra
Description: React Native module for Zebra barcode scanners
Author: Felipe
Latest version: 0.2.3

# react-native-scanner-zebra

*Note: This package is still under beta version**

## Getting started

`$ npm install react-native-scanner-zebra --save`

### Mostly automatic installation

`$ react-native link react-native-scanner-zebra`

### Additions steps for IOS Application

* Configure the Xcode project to support one or more external accessory communication protocols through the UISupportedExternalAccessoryProtocols key in your application Info.plist file or via the Info tab of your project settings.

  |Communication Protocol|Zebra Scanner|
  |-----|-----|
  |com.motorolasolutions.CS4070_ssi|CS4070|
  |com.zebra.scanner.SSI|RFD8500|
  |com.motorolasolutions.scanner|RFD8500|

## Methods:
* **setEnabled(isEnabled)**: Enable or disable active scanners
* **getActiveScanners(callback)**: Returns the list of active scanners in callback function

## Usage
```javascript
import useZebraScanner from 'react-native-scanner-zebra';

// Called when barcode is scanned
const onScan = useCallback((barcode, scannerId) => {
	// Handle the barcode
}, []);

// Called when scanner event occurred
const onEvent = useCallback((event, scannerId) => {
	// Handle the event
}, []);

const { setEnabled, getActiveScanners } = useZebraScanner(onScan, onEvent);

```
npm package: @felipevlima/wee
Description: wee
Author: Felipe Vieira
Latest version: 0.0.1

# tomanocupacero™️
<div style="text-align: center">
    <img src="./tomanocupacero.jpeg" height="300"/>
</div>

> Tmnc pacero to chei de ódio [video](https://twitter.com/mcpozedorodo/status/1194809058194264064?lang=en)

## Compatibilidade

- Mac
- Linux
- Windows

## Rodando com [npx](https://www.npmjs.com/package/npx)
>O npx vem junto com o npm a partir da versão 5.2.0.

Rode o comando:

    npx tomanocupacero


## Rodando via CLI
Instale globalment e rode o comando:

    npm install -g tomanocupacero

    tomanocupacero


## Veja também

 - [Oloquinho](https://github.com/oloquinho/oloquinho)
 - [xFiles](https://github.com/BrOrlandi/xfiles/)
 - [Faustão Errou](https://github.com/BrOrlandi/faustao-errou/)
 - [Omaewa](https://github.com/BrOrlandi/omaewa/)
npm package: @felix-health/capacitor-save-media
Description: Save images to the device photo library with write-only permissions
Author: Felix Health
Latest version: 0.1.0

# @felix-health/capacitor-save-media

Capacitor plugin to save images to the device photo library using write-only permissions.

This is an alternative to `@capacitor-community/media` which requires broad read permissions (`READ_EXTERNAL_STORAGE`, `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO`) that may be rejected by the Google Play Store.

## Permissions

| Platform | Permission | Why |
|----------|-----------|-----|
| Android < 10 | `WRITE_EXTERNAL_STORAGE` | Required to write to external storage on API < 29 |
| Android 10+ | None | MediaStore writes are permission-free under scoped storage |
| iOS 16+ | `NSPhotoLibraryAddUsageDescription` | Add-only access — does not request read access |

## Install

```bash
npm install @felix-health/capacitor-save-media
npx cap sync
```

## Usage

```typescript
import { SaveMedia } from '@felix-health/capacitor-save-media'

await SaveMedia.saveImage({ url: 'https://example.com/image.png' })
```

## API

### `saveImage(options)`

Downloads the image at the given URL and saves it to the device photo library.

| Param | Type | Description |
|-------|------|-------------|
| `url` | `string` | The URL of the image to save |

**Returns:** `Promise<void>`

**Throws** if the URL is invalid, the download fails, or photo library permission is denied.

## License
MIT
npm package: @felix-health/capacitor-segment
Description: Capacitor plugin for Segment analytics
Latest version: 3.0.1

# capacitor-segment

Originally forked from: https://github.com/joinflux/capacitor-segment

A Capacitor plugin for Segment analytics

## Install

```sh
npm install @felix-health/capacitor-segment

```

and

```sh
npx cap sync
```

## API

<docgen-index>

- [`initialize(...)`](#initialize)
- [`identify(...)`](#identify)
- [`track(...)`](#track)
- [`page(...)`](#page)
- [`reset()`](#reset)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### initialize(...)

```typescript
initialize(options: InitializeOptions) => any
```

| Param         | Type                                                                                 |
| ------------- | ------------------------------------------------------------------------------------ |
| **`options`** | <code>{ key: string; trackLifecycle?: boolean; recordScreenViews?: boolean; }</code> |

**Returns:** <code>any</code>

---

### identify(...)

```typescript
identify(options: IdentifyOptions) => any
```

| Param         | Type                                                     |
| ------------- | -------------------------------------------------------- |
| **`options`** | <code>Identity & { traits?: any; options?: any; }</code> |

**Returns:** <code>any</code>

---

### track(...)

```typescript
track(options: TrackOptions) => any
```

| Param         | Type                                                 |
| ------------- | ---------------------------------------------------- |
| **`options`** | <code>{ eventName: string; properties: any; }</code> |

**Returns:** <code>any</code>

---

### page(...)

```typescript
page(options: PageOptions) => any
```

| Param         | Type                               |
| ------------- | ---------------------------------- |
| **`options`** | <code>{ pathname: string; }</code> |

**Returns:** <code>any</code>

---

### reset()

```typescript
reset() => any
```

**Returns:** <code>any</code>

---

</docgen-api>

## How to publish

1. Test your changes
2. Update the version in `package.json`, you can use `npm version patch|minor|major`.
3. Run `npm run build` to build the plugin.
4. Run `npm publish --access public` to publish the plugin to npm.

## License

MIT License
npm package: @felix-ongom/randomize
Description: this library allows to generate random strings
Author: felix
Latest version: 1.0.1

# randomize

This is a js library that can generate random string of length 10 by default.
```js
const {randomize} = require('randomize')
randomize()  //Xje039HD39V
```
To overide the default length, pass the optional length as parameter
like .

```js
randomize(5)  //b4s2Y
randomize(3)  //H3x
```

You may be wondering how ypu would randomize ypur own string, it's simple pass your string as second parameter

```js
randomize(3, 'helo')  //eho
randomize(5, 'Helo')  //oHleH
randomize(null, 'Helo')  //HleHhholeo
```