open-index/open-npm huggingface dataset:
npm package: @ferry-core/ferry
Description: common fetch tool for ferry service
Author: yanpan
Latest version: 0.1.2

@ferry-core/ferry

> 🌴 ferry core tool 🌴

## 🌱 Features

- Http request core tool based on oar

## 🚀 Quick start

### Installation

```bash
npm install --save @ferry-core/ferry # 或 yarn add @ferry-core/ferry
```

### How to use

**First**：Import by commonjs or es module：

```js
import ferry, {
  ferry,
  ferryGet,
  ferryPst,
  ferryPut,
  ferryDel,
} from '@ferry-core/ferry';
```

#### _ferry_ Ferry class singleton binding oarClient instance object

#### _ferry_ Ferry class singleton instance

#### _ferryGet_ Get method

```js
const res = await ferryGet({ url: 'xxx', params: {} }).catch((err) => err);
```

#### _ferryPst_ Post method

```js
const res = await ferryPst({ url: 'xxx', data: {} }).catch((err) => err);
```

#### _ferryPut_ Put method

```js
const res = await ferryPut({ url: 'xxx', params: {} }).catch((err) => err);
```

#### _ferryDel_ Delete method

```js
const res = await ferryDel({ url: 'xxx', params: {} }).catch((err) => err);
```

😉😘 If you feel it is helpful, please click <b>⭐️<a href="https://git..co/ferry-tools/ferry">Star</a></b> Thanks~

## License

[ISC](http://opensource.org/licenses/ISC)

Copyright (c) 2020-present,
npm package: @ferry-middleware/ferry-mw-core
Description: HTTP middleware core service for FerryJS
Author: yanpan
Latest version: 0.1.0

# @ferry-middleware/ferry-mw-core

> By YanPan

## 简介

## 配置

| 参数 | 类型 | default | 说明 |
| --- | --- | --- | --- |