open-index/open-npm huggingface dataset:
npm package: @siniangy/tinyy
Description: check a object is Array?
Latest version: 1.0.2

# @siniangy/tinyy

![npm (scoped)](https://img.shields.io/npm/v/@siniangy/tinyy.svg)

参考链接： https://juejin.cn/post/6844903749199069197

## Install

```shell
npm install @siniangy/tinyy
```

## Use

```shell
const check = require('@siniangy/tinyy');
console.log(check('123')); // false
console.log(check([1,2,3,4,5])); // true
```
npm package: @siniangy/vue-btn
Description: A test vue button
Author: siniangy
Latest version: 1.0.2

# @siniangy/vue-btn

![npm (scoped)](https://img.shields.io/npm/v/@siniangy/vue-btn.svg)

参考链接： https://juejin.cn/post/6844903918414102535

## Install

```shell
npm install @siniangy/vue-btn
```

## Use

```vue
import btn from '@siniangy/vue-btn'

Vue.use(btn)

<template>
  <div class="demo">
    <btn :text="msg"></btn>
  </div>
</template>

<script>
export default {
  name: 'demo',
  data () {
    return {
      msg: '成功'
    }
  }
}
</script>
```
npm package: @sinianluoye/rich-text-area
Description: a text area with image
Latest version: 1.0.11

# @sinianluoye/rich-text-area

[![NPM version](https://img.shields.io/npm/v/@sinianluoye/rich-text-area.svg?style=flat)](https://npmjs.org/package/@sinianluoye/rich-text-area)
[![NPM downloads](http://img.shields.io/npm/dm/@sinianluoye/rich-text-area.svg?style=flat)](https://npmjs.org/package/@sinianluoye/rich-text-area)

a text area with image

## Usage

```jsx
<RichTextArea 
    ref={ref}
    disabled={false}
    onEditorValueChange={(value) => {console.log("onEditorValueChange:", value)}}
    onFocus={(event) => {console.log("onFocus:", event)}}
    onPressEnter={(event) => {console.log("onPressEnter:", event)}}
    onCompositionEnd={() => {console.log("onCompositionEnd")}}
    onCompositionStart={() => {console.log("onCompositionStart")}}
></RichTextArea>
```

## Options

```tsx
type RichTextAreaProps = {
  disabled?: boolean;
  border?: string;
  padding?: string;
  lineHeight?: string;
  paddingBottom?: string;
  maxHeight?: string;
  placeholder?: string;
  onEditorValueChange?: (value: RichTextAreaElementType[]) => void;
  onCompositionStart?: () => void;
  onCompositionEnd?: () => void;
  onFocus?: (event: React.FocusEvent) => void;
  onPressEnter?: (event: React.KeyboardEvent) => void;
  className?: string;
};

type RichTextAreaRef = {
  clearContent: () => void;
  insertText: (text: string) => void;
  insertImage: (url: string) => void;
  focus: () => void;
  blur: () => void;
};
```

## Development

```bash
# install dependencies
$ pnpm install

# develop library by docs demo
$ pnpm start

# build library source code
$ pnpm run build

# build library source code in watch mode
$ pnpm run build:watch

# build docs
$ pnpm run docs:build

# Locally preview the production build.
$ pnpm run docs:preview

# check your project for potential problems
$ pnpm run doctor
```

## LICENSE

MIT