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

https://github.com/qishaoxuan/js_tricks

Some commonly used javascript methods - 一些常用的 JS 方法
https://github.com/qishaoxuan/js_tricks

javascript tricks

Last synced: about 1 year ago
JSON representation

Some commonly used javascript methods - 一些常用的 JS 方法

Awesome Lists containing this project

README

          

## 关于 About

最初是想将常用的一些函数封装在一起使用,但是发现实际上还是随手复制那么一个函数方便,而且大部分情况下也没必要一次引入那么多东西,所以将 Q 项目下的内容移植到这里,方便查看。

尽量少说废话,代码简单易用,方便复制

> talk is cheap show me the code

## 快速开始 Quick start

```bash
git clone https://github.com/QiShaoXuan/js_tricks.git
cd js_tricks
npm install
npm run docs:dev
```

## 内容涵盖 Include

- 文档对象 DOM
- 浏览器对象 BOM
- 数组 Array
- 日期 Date
- 数字 Number
- Cookie

## Contributing

- Fork this repository
- Create your branch: `git checkout -b new-branch`
- Make your changes
- Commit your changes: `git commit -am 'Add some feature'`
- Push to the branch: `git push origin new-branch`
- Submit a pull request

or submit an issue

欢迎任何有帮助的意见

## css tricks
view online