Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sakitam-fdd/js-mate

一个类jquery的工具库
https://github.com/sakitam-fdd/js-mate

ajax dom javascript jquery rollup

Last synced: 28 days ago
JSON representation

一个类jquery的工具库

Awesome Lists containing this project

README

        

# js-mate

> 一个类jquery的工具库

[![Build Status](https://travis-ci.org/sakitam-fdd/js-mate.svg?branch=master)](https://www.travis-ci.org/sakitam-fdd/js-mate)
[![NPM downloads](https://img.shields.io/npm/dm/@aurorafe/js-mate.svg)](https://npmjs.org/package/@aurorafe/js-mate)
[![](https://data.jsdelivr.com/v1/package/npm/@aurorafe/js-mate/badge)](https://www.jsdelivr.com/package/npm/@aurorafe/js-mate)
![JS gzip size](http://img.badgesize.io/https://unpkg.com/@aurorafe/js-mate/dist/js-mate.js?compression=gzip&label=gzip%20size:%20JS)
[![Npm package](https://img.shields.io/npm/v/@aurorafe/js-mate.svg)](https://www.npmjs.org/package/@aurorafe/js-mate)
[![GitHub stars](https://img.shields.io/github/stars/sakitam-fdd/js-mate.svg)](https://github.com/sakitam-fdd/js-mate/stargazers)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/sakitam-fdd/js-mate/master/LICENSE)

## 下载

```bash
git clone https://github.com/sakitam-fdd/js-mate.git
npm install
npm run dev
npm run build
npm run karma.test
npm run karma.cover
```

### 安装

#### npm安装

```bash
npm install @aurorafe/js-mate --save
import Mate from '@aurorafe/js-mate'
```

#### cdn

目前可通过
- [unpkg.com](https://unpkg.com/@aurorafe/js-mate/dist/js-mate.js)
- [jsdelivr](https://cdn.jsdelivr.net/npm/@aurorafe/js-mate/dist/js-mate.js) 获取最新版本的资源。

```bash
// jsdelivr (jsdelivr由于缓存原因最好锁定版本号)
https://cdn.jsdelivr.net/npm/@aurorafe/js-mate/dist/js-mate.js
https://cdn.jsdelivr.net/npm/@aurorafe/js-mate/dist/js-mate.min.js
// npm
https://unpkg.com/@aurorafe/js-mate/dist/js-mate.js
https://unpkg.com/@aurorafe/js-mate/dist/js-mate.min.js
```

#### [文档](//sakitam-fdd.github.io/js-mate/docs/)