open-index/open-npm huggingface dataset:
npm package: @pikopika/capacitor-facebook-ad
Description: Capacitor plugin for facecbook ads
Author: Piko Pika
Latest version: 0.0.6

# capacitor-facebook-ad

Capacitor plugin for facecbook ads

## Install

```bash
npm install capacitor-facebook-ad
npx cap sync
```

## API

<docgen-index>

* [`initialize(...)`](#initialize)
* [Interfaces](#interfaces)

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

### initialize(...)

```typescript
initialize(options: CapacitorFacebookAdInitializationOptions) => Promise<void>
```

| Param         | Type                                                                                                          |
| ------------- | ------------------------------------------------------------------------------------------------------------- |
| **`options`** | <code><a href="#capacitorfacebookadinitializationoptions">CapacitorFacebookAdInitializationOptions</a></code> |

--------------------


### Interfaces


#### CapacitorFacebookAdInitializationOptions

| Prop                               | Type                  | Description                                            | Default            |
| ---------------------------------- | --------------------- | ------------------------------------------------------ | ------------------ |
| **`requestTrackingAuthorization`** | <code>boolean</code>  | Use or not requestTrackingAuthorization in iOS(&gt;14) |                    |
| **`testingDevices`**               | <code>string[]</code> |                                                        |                    |
| **`initializeForTesting`**         | <code>boolean</code>  |                                                        | <code>false</code> |

</docgen-api>
npm package: @pikopika/ioredis-conn-pool
Description: A Redis connection pool implementation based on `ioredis` and `generic-pool`, designed to simplify the management of Redis client connections in Node.js applications.
Author: Jesse Feng
Latest version: 3.0.0

# ioredis-conn-pool

[![npm package](https://nodei.co/npm/ioredis-conn-pool.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/ioredis-conn-pool)

[![NPM version](https://img.shields.io/npm/v/ioredis-conn-pool.svg?style=flat)](https://npmjs.org/package/ioredis-conn-pool)
[![NPM Downloads](https://img.shields.io/npm/dm/ioredis-conn-pool.svg?style=flat)](https://npmjs.org/package/ioredis-conn-pool)

`ioredis-conn-pool` is a Redis connection pool implementation based on `ioredis` and `generic-pool`, designed to simplify the management of Redis client connections in Node.js applications.

## Installation

```bash
npm install ioredis-conn-pool
```

## Documentation

For detailed usage instructions and API references, please visit the official documentation:

👉 [View Full Documentation](https://fengxinming.github.io/ioredis-conn-pool/)

## Features

- Efficient Redis connections based on `ioredis`.
- High-performance connection pool management using `generic-pool`.

## Quick Start

```ts
import { RedisPool } from 'ioredis-conn-pool';

const pool = new RedisPool({
  redis: {
    host: '127.0.0.1', // Redis host
    port: 6379, // Redis port
    name: 'test',
    password: 'B213547b69b13224',
    keyPrefix: 'test_'
  },
  pool: {
    // Set the pool's size
    min: 2,
    max: 10
  }
});

async function todo() {
  let client;
  try {
    // get a connection for redis
    client = await pool.getConnection();

    // save something to redis
    client.set('test', 'test redis');

    // get something from redis
    const result = await client.get('test');
    console.info('saved successfully', result);

    // delete something from redis
    client.del('test');
    console.info('deleted successfully', result);
  }
  catch (e) {
    // caught an error
    console.error(e);
  }
  finally {
    // finally release redis client to pool
    if (client) {
      await pool.release(client);
      console.info('released');
    }
  }

  // close connection with redis
  await pool.end();
  console.info('closed all connections');
}

todo();
```

## Contributing

We welcome contributions from the community! If you find a bug or want to suggest an improvement, feel free to open an issue or submit a pull request.

### How to Contribute
1. Fork the repository.
2. Create a new branch for your changes.
3. Submit a pull request with a clear description of your changes.

---

## License

This project is licensed under the [MIT License](LICENSE).
npm package: @pikpok/webpack
Description: A single dependency for ~~all~~ most of your Webpack needs, yet still extendable.
Latest version: 0.0.9

# webpack-configs

A single dependency for ~~all~~ most of your Webpack needs, yet still
extendable.

## Rationale

I've found a need to lock all of the Webpack-related dependencies to allow easy
upgrade of packages in project without having to spend all day at reading
`CHANGELOG.md` files and browsing through issue trackers only to find that
`some-loader` doesn't support `webpack@x.y.z` yet. Another thing that annoys me
is that in most of my small projects where I use Webpack my devDependencies are
much bigger than dependencies. Also, creating new project from scratch consisted
of many repeated `yarn add`s.

To address some of these issues I've decided to make a package that could be
used as a single, opinionated dependency for small Webpack projects - just SCSS
and Babel support. Then I realized that some of the plugins' setup could be
largely simplified, so I added support for some common cases like jQuery
handling.

## Features

- Babel transpiling with [`env`](https://babeljs.io/docs/en/babel-preset-env)
  preset, based on [browserslist](https://github.com/browserslist/browserslist)
- CSS/SCSS handling with optional extraction to separate file
- Generate font from icons, thanks to
  [iconfont-plugin-webpack](https://github.com/HaoyCn/iconfont-plugin-webpack/)
- Use external jQuery, or provide node_modules's jQuery to all of the modules
- ...with more to come!

## Installing

Just add this package as a dependency to your project:

```sh
yarn add netkata/webpack
```

This package pulls all possibly needed dependencies, so you don't have to worry
about installing all of the loaders and plugins separately.

Then create `webpack.config.js` with content like this:

```javascript
const { config } = require('netkata/webpack');

module.exports = config({
  entry: './src',
  ...moreWebpackOptions,

  features: {
    scss: true,
    extcss: true,
    jquery: {
      external: true
    },
    icons: {
      src: 'src/assets/icons',
      fontDest: 'src/assets/font',
      scssDest: 'src/scss'
    }
  }
});
```

Then to compile files with Webpack just run:

```sh
yarn webpack -d
```