open-index/open-npm huggingface dataset:
npm package: @feryardiant/sendgrid-inbound-parser
Description: Simple library to parse SendGrid Inbound Mail
Author: Fery Wardiyanto
Latest version: 0.1.6

# Sendgrid Inbound Parser

My personal implementation of SendGrid inbound-mail parser.

## Usage

This package exposes 4 functions

### `async parseEmail(req): Promise<NormalizedEmail>`
Parse email field in inbound mail body.

### `async storeAttachment(attachment, bucket): Promise<File>`
Store the attachment file to google storage bucket.

### `normalize(email): NormalizedEmail`
Normalize parsed-mail from 'mailparser' package

### `inboundParser()`
Express middleware to parse request body.

---
Please refer to [this file](dist/index.d.ts) for more type definitions

## Credits

- Official inbound-mail parser [@sendgrid/inbound-mail-parser](https://www.npmjs.com/package/@sendgrid/inbound-mail-parser)

## Licenses
code is licensed under [MIT](./LICENSE),
npm package: @fescotech/antdv-selector-paging
Description: A Vue.js project
Author: fesco-tech
Latest version: 1.0.2

# antdv-selector-paging

> 基于 ant dasign for Vue 实现的分页选择器

支持分页，自定义指定渲染数据的 key, value

# 安装

```javascript
  npm i @fescotech/antdv-selector-paging --save-dev
```

# 使用方式

```html
<template>
  <selector-paging
    ref="SelectorCom"
    :width="width"
    :list="list"
    :total="total"
    :pageNum="pageNum"
    :pageSize="pageSize"
    @changePage="changePage"
    @changeValue="changeValue"
    @searchValue="searchValue"
  ></selector-paging>
</template>
<script>
  import selectorPaging from "@fescotech/antdv-selector-paging";
  export default {
    name: "app",
    data() {
      return {
        list: [],
        pageNum: 1,
        pageSize: 10,
        width: "120px",
      };
    },
    components: {
      selectorPaging,
    },
  };
</script>
```

# 全局方法

| 方法        | 参数      | 描述             |
| ----------- | --------- | ---------------- |
| clearValue  | 无        | 清空文本框 value |
| changeValue | value     | 选择用户时触发   |
| searchValue | value     | 文本框搜索时触发 |
| blurValue   | 无，value | 选择焦点时触发   |

# 参数配置

width：组件宽度

list：选择器数据源

total：数据总数

pageNum：当前页码

pageSize：每页数据量

keyName：每条数据的 key 变量

valueName：每条数据的 value 变量

labelName：没条数据的 label 变量

placeholder：属性提供可描述输入字段预期值的提示信息