open-index/open-npm huggingface dataset:
npm package: @skimmer/react-dragger
Description: react 版的拖动组件
Latest version: 1.0.0

# react-dragger

react 版的拖动组件

## 安装

安装 yarn add @skimmer/react-dragger || npm install @skimmer/react-dragger

## Attributes

| 参数         | 说明                   | 类型   | 可选值   | 默认值                           |
| ------------ | ---------------------- | ------ | -------- | -------------------------------- |
| defaultValue | 默认的拖动属性         | object | -        | { width:0,height:0,left:0,top:0} |
| value        | 拖动属性，用于双向绑定 | object | -        | -                                |
| minWidth     | 最小宽度值             | number | 不小于 0 | 0                                |
| minHeight    | 最小高度值             | number | 不小于 0 | 0                                |

## Event

| 事件名称 | 说明               | 回调参数 |
| -------- | ------------------ | -------- |
| onChange | 拖动属性变化的回调 | 拖动属性 |

## 注意事项

### npm 发布时

code E402

402 Payment Required - PUT http://registry.npmjs.org/@dinghx%2funifiedValidator - You must sign up for private packages

这是因为包名是 @xxx/xxxx npm 会认为要发布私包，私包需要收费，需将发布命令改成： npm publish --access public
npm package: @skimmer/vue-ellipsis
Description: 文本省略显示，支持多行，支持超长判断
Latest version: 1.0.0

# ellipsis

文本省略显示，支持多行，支持超长判断

## Attributes

| 参数      | 说明 | 类型   | 可选值 | 默认值 |
| --------- | ---- | ------ | ------ | ------ |
| lineClamp | 行数 | number |        | 1      |

## Slot

| name | 说明 |
| ---- | ---- |
| -    | 内容 |

## Events

| 事件名称 | 说明         | 回调参数 |
| -------- | ------------ | -------- |
| getLong  | 超长判断回调 | long     |
npm package: @skimpleton/forms
Description: Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).
Latest version: 0.0.1

# Svelte library

Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).

Read more about creating a library [in the docs](https://svelte.dev/docs/kit/packaging).

## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```sh
# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```sh
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.

## Building

To build your library:

```sh
npm pack
```

To create a production version of your showcase app:

```sh
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

## Publishing

Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).

To publish your library to [npm](https://www.npmjs.com):

```sh
npm publish
```