# fight-common

> 机票项目常用方法

Latest version **1.0.0** (published 2020-01-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install fight-common
pnpm add fight-common
yarn add fight-common
bun add fight-common
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-01-20 |
| First published | 2020-01-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 11.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | yulingsong |

## Links

- npm: https://www.npmjs.com/package/fight-common
- npm.io page: https://npm.io/package/fight-common

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.6.11
- [vux](https://npm.io/package/vux.md) ^2.9.4
- [jquery](https://npm.io/package/jquery.md) ^3.4.1

## Recent versions

- 1.0.0 (latest) — 2020-01-20

## README

```js
import C from './utils/common';
import A from './utils/api';
import F from './utils/filter';
import L from './utils/login';

var utils = {
    common:C,//公用方法
    api:A,//请求接口相关
    filter:F,//过滤相关
    login:L//登录相关
};
export default utils;
```

使用：

####1.安装

```js
npm install yls-common --save-dev
```

#### 2.引入

```js
import utils from 'yls-common';
Vue.prototype.utils = utils;
```

#### 3.使用

```js
this.utils.common.isNull('1sad')
```

---
_Source: https://npm.io/package/fight-common · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
