open-index/open-npm huggingface dataset:
npm package: @fishead/fetch-package-field
Description: print field value of current package.json to stdout
Author: Chuan Zh.
Latest version: 0.1.1

# fetch-package-field

print field value of current package.json to stdout.

## Install

```shell
yarn add @fishead/fetch-package-field
```

## Usage

```shell
fetch-package-field name
```

use short alias

```shell
fpf version
```

nested object

```shell
fpf bin fetch-package-field
```

array item

```shell
fpf files 0
```

without trailing newline (like `echo -n`)

```shell
fpf -n name
```
npm package: @fisher-zh/watermark
Description: a js plugin for watermark
Author: zhangfx
Latest version: 0.0.1

# watermark
水印生成工具
## 安装
- npm
```javascript
npm install @fisher-zh/watermark
```

- script
```javascript
<script src="./dist/watermark.min.js"></script>
```

## 使用
```javascript
WaterMark({
    type = 'canvas',
    container: document.getElementById('canvas'),
    content = 'WaterMark',
    width = '300px',
    height = '200px',
    rotate = '30',
    fontSize = '20px',
    color = 'rgba(184, 184, 184, 0.8)'
});
```
参数 | 说明 |  类型 | 可选值 | 默认值  
-|-|-|-|-
type | 渲染方式 | string | canvas/svg | canvas
container | 挂载的DOM | object | - | document.body
content | 水印内容 | string | - | WaterMark
width | 单个水印块的宽度 | string | - | 300px
height | 单个水印块的高度 | string | - | 200px
rotate | 水印文字的旋转角度 | string/number | - | 30
fontSize | 水印文字的大小 | string | - | 20px
color | 水印文字的颜色， | string | - | 20px
npm package: @fisherwise/masonry-list
Description: [![npm (scoped)](https://img.shields.io/npm/v/@appandflow/masonry-list.svg)](https://www.npmjs.com/package/@appandflow/masonry-list) [![Travis branch](https://img.shields.io/travis/AppAndFlow/react-native-masonry-list/master.svg)](https://travis-ci.org/Ap
Author: AppAndFlow
Latest version: 0.4.2

# @appandflow/masonry-list

[![npm (scoped)](https://img.shields.io/npm/v/@appandflow/masonry-list.svg)](https://www.npmjs.com/package/@appandflow/masonry-list) [![Travis branch](https://img.shields.io/travis/AppAndFlow/react-native-masonry-list/master.svg)](https://travis-ci.org/AppAndFlow/react-native-masonry-list)

Allows creating masonry style list layouts in a performant way.

This component leverages `FlatList` to render performant masonry layout lists. The
main caveat right now is that it doesn't support measuring cells (yet) so you need to be
able to provide the dimensions.

![](blob:http://imgur.com/c9ff3a44-7991-417b-8214-2b68aa8335e5)

## Installation

`yarn add @appandflow/masonry-list`

## Usage

`import MasonryList from '@appandflow/masonry-list';`

## Props

This component supports most of the props of `FlatList` plus a few extras one:

#### `getHeightForItem: ({ item: any, index: number }) => number,`

Returns the height for a specific item. Note that this it *not* optional for now.

#### `numColumns: number`

The number of columns.

#### `renderItem: ({ item: any, index: number, column: number }) => ?ReactElement<*>,`

Same as `renderItem` from `FlatList` but also gets passed the column index.

## Example

Play with on [Expo](https://exp.host/@appandflow/masonry-list-example)

Take a look at [example folder](https://github.com/AppAndFlow/react-native-masonry-list/blob/master/example)

## TODO

- Support measuring items automatically and get rid of `getHeightForItem`.

- Implement onEndReached in a way that it isn't called multiple times.

- Support FooterComponent.

- Long term, could probably be implemented without using multiple `VirtualizedList`
to make it more performant and less hacky.