Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whxaxes/node-test
Nodejs demo
https://github.com/whxaxes/node-test
bigpipe nodejs pjax spider websockets
Last synced: 13 days ago
JSON representation
Nodejs demo
- Host: GitHub
- URL: https://github.com/whxaxes/node-test
- Owner: whxaxes
- Created: 2015-04-21T05:54:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-22T08:33:28.000Z (about 3 years ago)
- Last Synced: 2024-10-17T11:42:02.195Z (26 days ago)
- Topics: bigpipe, nodejs, pjax, spider, websockets
- Language: HTML
- Homepage:
- Size: 268 KB
- Stars: 304
- Watchers: 29
- Forks: 312
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-test
nodejs test demos平时写的一些nodejs的小demo,不定时更新:
## 在线预览
- websocket: http://demo.wanghx.cn/wsindex
- 普通上传:http://demo.wanghx.cn/uindex
- 移动端图片上传:http://demo.wanghx.cn/uindex_2
- pjax:http://demo.wanghx.cn/pjax/pjax1.html
- 爬虫:http://demo.wanghx.cn/creeper
- bigpipe:http://demo.wanghx.cn/bigpipe## 本地
```bash
// 开发
$ npm run dev// fork
$ npm run start
```## 文件地址
[co函数简易实现](https://github.com/whxaxes/node-test/blob/master/other/myco.js)
[koa中间件简易实现](https://github.com/whxaxes/node-test/blob/master/other/mykoa.js)
[koa中间件实现_2](https://github.com/whxaxes/node-test/blob/master/other/mykoa_2.js)
[bigpipe测试](https://github.com/whxaxes/node-test/tree/master/server/bigpipe)
[简易爬虫](https://github.com/whxaxes/node-test/tree/master/server/creeper)
[pushState + ajax = pjax](https://github.com/whxaxes/node-test/tree/master/server/pjax)
[图片上传预览及文件上传](https://github.com/whxaxes/node-test/tree/master/server/upload)
[移动端图片压缩上传demo](https://github.com/whxaxes/node-test/tree/master/server/upload/index_2.html)
[websocket实现,数据收发帧解析](https://github.com/whxaxes/node-test/tree/master/server/websocket)