open-index/open-npm huggingface dataset:
npm package: @pzj01/picpress
Description: A image format conversion and compression tool
Author: Peng Zhao jun
Latest version: 0.3.6

# Introduction

Image compression and format conversion tools

## Install

```bash
pnpm add @pzj01/picpress
```

## Usage

### Config

use `picpress.config.js` or `picpress.config.ts`

```ts
import { defineConfig } from '@pzj01/picpress'

export default defineConfig({
  entry: '.image', // entry file or folder path
  output: './.picpress', // output directory
  minFileSize: 0, // handle images larger than or equal to this value
  recursive: true, // whether to recursively find images in subfolders
  overwrite: true // whether to overwrite existing files
})
```

### Compress

compress images.

```ts
import { PicPress } from '@pzj01/picpress'

const pic = new PicPress({
  entry: '.image',
  output: './.picpress',
  minFileSize: 0,
  recursive: true,
  overwrite: true
})

await pic.compress() // use default config
await pic.compress({
  quality: 60
}) // compress all images with quality 60
await pic.compress('./image', {
  quality: 60
}) // compress ./image with quality 60
```

### Transform

transform images format.

```ts
import { PicPress } from '@pzj01/picpress'

const pic = new PicPress({
  entry: '.image',
  output: './.picpress',
  minFileSize: 0,
  recursive: true,
})

await pic.transform() // use default config
await pic.transform({
  targetFormat: 'webp'
}) // transform all images to webp
await pic.transform('./image', {
  targetFormat: 'webp'
}) // transform ./image to webp
```

### CLI

use `@pzj01/picpress` in command line

```bash
pnpm dlx @pzj01/picpress compress
```

or install afterward use

```bash
pnpm @pzj01/picpress compress
```

#### Commands

- `picpress compress`: compress images

```bash
pnpm @pzj01/picpress compress --entry .image --quality 60 --overwrite
```

- `picpress transform`: transform images format

```bash
pnpm @pzj01/picpress transform --entry .image --target-format webp
```

#### Global Options

- `--entry [...paths]`: entry file or folder path, support single path or path array
- `--output <output>`: output directory
- `--minFileSize <size>`: handle images larger than or equal to this value
- `--source-formats [...formats]`: source image formats filter
- `--recursive`: whether to recursively find images in subfolders
- `--delete-original`: whether to delete the original file

#### Compress Options

- `--quality <quality>`: image quality
- `--preserve-metadata`: whether to keep the original image metadata
- `--overwrite`: whether to overwrite the original file

#### Transform Options

- `--target-format <format>`: target image format
npm package: @pzj01/utils
Description: pzj01's Typescript utils
Author: Peng Zhao jun
Latest version: 0.1.2

# utils

> [IMPORTANT]
> 目前功能还不是很全面🙂‍↕。

一个 Typescript 的工具库🧰。

## 目前包含以下功能

- base：基础工具
- math：数学🟰相关的
- color：颜色相关的
- array：数组相关的
- function：常用的功能或者和函数相关的
- is：判断相关的
- time：时间相关的
- transition：过渡相关的
- types：Typescript 工具类型
npm package: @pzlr/block-loader
Description: WebPack block loader for pzlr
Author: Konstantin Kutsyllo
Latest version: 0.8.0

Block loader
==========

WebPack block loader for pzlr.

## .pzlrrc

* **sourceDir** - root source directory;
* **projectType** - project type (ts, js, static).

**Example:**

```json
{
  "sourceDir": "./src",
  "projectType": "js"
}
```
npm package: @pzlr/build-core
Description: Core tools for pzlr
Author: Konstantin Kutsyllo
Latest version: 2.15.1

Build Core
==========

Core tools for pzlr.

## .pzlrrc

* **sourceDir** - root source directory;
* **projectType** - project type (ts, js, static).

**Example:**

```json
{
  "sourceDir": "./src",
  "projectType": "js"
}
```
npm package: @pzlr/stylus-inheritance
Description: Replacer for Monic which makes magic of inheritance for Stylus
Author: Konstantin Kutsyllo
Latest version: 3.3.0

stylus-inheritance-loader
=========================

Preloader for *.styl files to reduce LOC number needed for inheritance.

## Examples
### Block

**/b-button.styl**

```styl
@import "super/i-block/i-block.styl"

$p = {
 size: (xxs 0.6) (xs 0.8) (s 0.9) (m 1) (l 1.2) (xl 1.4) (xxl 1.8)
 background: transparent
 color: #000
}

b-button extends i-block
  &__content
    background $p.background
    color $p.color
```

### Modifier

**/b-button_theme_light.styl**

```styl
$p = {
 color: #CCC
}

b-button_theme_light extends b-button
  /theme &__content
    color $p.color
```
npm package: @pzpp/prettier-config
Description: Prettier config for @sxzz
Latest version: 1.0.0

# @sxzz/prettier-config [![npm](https://img.shields.io/npm/v/@sxzz/prettier-config.svg)](https://npmjs.com/package/@sxzz/prettier-config)

Prettier config.

## Install

```bash
npm i -D @sxzz/prettier-config
```

## Features

- 2 spaces
- No semicolons
- Single quotes
- Trailing commas
- Ignore common files (`dist`, `pnpm-lock.yaml`...)

## Sponsors

<p align="center">
  <a href="https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg">
    <img src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/>
  </a>
</p>

## License

[MIT](./LICENSE) License © 2023-PRESENT [三咲智子](https://github.com/sxzz)
npm package: @pzpupu/react-native-ad
Description: 给rn封装一些常用的广告平台的 sdk，头条穿山甲，腾讯广点通，百度百青藤等广告模块...
Author: zp
Latest version: 1.2.7

# react-native-ad
[![npm version](https://badge.fury.io/js/react-native-ad.svg)](https://badge.fury.io/js/react-native-ad)  [![GitHub stars](https://img.shields.io/github/stars/haxibiao/react-native-ad?style=social)](https://github.com/haxibiao/react-native-ad/stargazers)

### 注意事项

```
穿山甲的，记得全部重新申请代码位，因为穿山甲马上要弃用旧代码位，必须全部是支持模板渲染的代码位
```

### 安装方法 🔨

目前已经发布 NPM 和 Github，并且支持 npm 和 yarn 两种安装方式，两种平台和两种安装方式任选其一就好。

```

# yarn for origin
$ yarn add react-native-ad

# npm for npmjs
$ npm i -D react-native-ad



# yarn for Github 
$ yarn add git+https://github.com/haxibiao/react-native-ad.git

# npm for Github
$ npm install git+https://github.com/haxibiao/react-native-ad.git

```


### 文档地址 🍎

-   **如何对接文档**
    -   [创建获取 appId 和代码位 codeId](docs/readme.md#创建获取appid和代码位codeid)
    -   [安装配置 react-native-ad 模块](docs/readme.md#安装配置react-native-ad模块)
    -   [开屏（Splash）广告的对接及示例](docs/readme.md#开屏splash广告的对接及示例)
    -   [激励视频（RewardVideo）广告的对接及示例](docs/readme.md#激励视频rewardvideo广告的对接及示例)
    -   [全屏视频（FullVideo）广告的对接及示例](docs/readme.md#全屏视频fullVideo广告的对接及示例)
    -   [信息流（Feed）广告的对接及示例](docs/readme.md#信息流feed广告的对接及示例)
    -   [视频信息流（DrawFeed）广告的对接及示例](docs/readme.md#视频信息流drawfeed广告的对接及示例)
    -   [横幅（Banner）广告的对接及示例](docs/readme.md#横幅banner广告的对接及示例)
    -   [常见问题及模块更新](docs/readme.md#常见问题及模块更新)
    -   [更新日志](docs/readme.md#更新日志)

### 更新模块 🍗

怎么查看当前版本？执行 `yarn list | grep "react-native-ad"`，将会输出你当前项目安装的 react-native-ad 版本

然后可以使用 npm update 来更新模块

```
$ npm update react-native-ad
```

或者使用 yarn upgrade 来更新

```
$ yarn upgrade react-native-ad
```

### 联系我们 👾
> 由于团队以及产品方向问题，该包的维护越来越困难。目前有计划考虑社区共同维护，订阅方式捐赠，付费技术支持等一系列方式，将收益用于持续跟踪 issues 和提供 SDK 升级迭代，同时也能够让该项目可持续发展下去，有订阅或付费意向的小伙伴们可以联系我

> BY. [@PBK-B](https://github.com/PBK-B)

> Email: bin@PBK6.cn

> 微信: tzmax_

### 特别鸣谢
> 感谢 JetBrains 提供了优秀的 IDE 和授权的开源许可。

> Thanks to jetbrains for providing great IDEs and open source licensing

[<img src="docs/assets/jetbrains-variant.png" alt="ad_anim_none.gif" width="160">](https://www.jetbrains.com/)
npm package: @pzpupu/rn-local-qrdecode
Description: The plugin to recognize the barcode from local image for React Native.
Author: pz
Latest version: 1.0.1

﻿###rn-local-qrdecode
## *** Still under development.

##Install:
```bash
#install:
yarn add @gaoyunch/rn-local-qrdecode

#and link: (RN < 0.60)
react-native link @gaoyunch/rn-local-qrdecode

```

or you may install manually.

##Usage:
Here is the demo (may check the examples folder of source code as well)

```typescript 

import RNLocalQrdecode from '@gaoyunch/rn-local-qrdecode';

const imageBase64 = "data:image/jpeg;base64,/9j/4AA.......";

type Props = {};

export default () => {

  const recoginze = async ()=>{
    // Here is the demoe
    let result = await RNLocalQrdecode.decode(imageBase64.replace("data:image/jpeg;base64,",""),{codeTypes:['ean13','qr']});
    alert(result);
  } 

  return (
    <View style={styles.container}>
      <Text style={styles.welcome}>React Native Local Barcode Recoginzer Demo</Text>
      <Text>Follow images to test:</Text>
        <Image source={{uri:imageBase64}} style={{width:width,height:width}}></Image>
        <Button onPress={recoginze} title={"Recognize"} />
    </View>
  )
}

```

## API
```javascript

 let result = await RNLocalQrdecode.decode(base64EncodeStringWithSchema,options);


```

## Options
Only codeTypes supports currently
Options:

| name | desc |
|:----:|:----:|
| codeTypes | the codeFormat array, no default values,at last one of follow values needed: aztec ean13 ean8 qr pdf417 upc_e datamatrix code39 code93 interleaved2of5 codabar code128 maxicode rss14 rssexpanded upc_a upc_ean   |