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 方法
- Host: GitHub
- URL: https://github.com/qishaoxuan/js_tricks
- Owner: QiShaoXuan
- Created: 2018-09-23T16:09:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-20T22:45:44.000Z (almost 4 years ago)
- Last Synced: 2025-03-29T05:23:45.895Z (about 1 year ago)
- Topics: javascript, tricks
- Language: JavaScript
- Homepage: https://qishaoxuan.github.io/js_tricks/
- Size: 1.71 MB
- Stars: 98
- Watchers: 4
- Forks: 39
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
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