# OIPage
**Repository Path**: oi-contrib/OIPage
## Basic Information
- **Project Name**: OIPage
- **Description**: 主要是提供前端开发中常用的API接口,支持nodejs和浏览器端使用
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: https://oi-contrib.github.io/OIPage
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2024-09-21
- **Last Updated**: 2026-05-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: Server, webpack, vite, DevTool
## README
- 💘 开源不易,去 [Github给个Star](https://github.com/oi-contrib/OIPage) 吧!
# [OIPage](https://github.com/oi-contrib/OIPage)
主要是提供前端开发中常用的API接口,支持nodejs和浏览器端使用。官网地址:[https://oi-contrib.github.io/OIPage](https://oi-contrib.github.io/OIPage)
## 如何使用?
首先需要在项目中进行安装:
```shell
npm install oipage --save
```
我们提供了若干前端开发基础API,现在就可以在项目中使用了。
> 基于更长远的考虑,原命令行功能将作为一个独立的项目进行维护: https://github.com/oi-contrib/oipage-cli
比如:
### nodejs端
- [cmdlog 命令行单行打印、进度条显示等](https://oi-contrib.github.io/OIPage/index.html#/api/nodejs/cmdlog)
- [logform 实现在命令行中录入表单](https://oi-contrib.github.io/OIPage/index.html#/api/nodejs/logform)
- [disk 复制、删除、移动等磁盘操作](https://oi-contrib.github.io/OIPage/index.html#/api/nodejs/disk)
- 等...
### 浏览器
- [performChunk 空闲执行分片函数](https://oi-contrib.github.io/OIPage/index.html#/api/web/performChunk)
- [XMLHttpRequest 请求埋点](https://oi-contrib.github.io/OIPage/index.html#/api/web/XMLHttpRequest)
- 等...
你可以通过 [issue](https://github.com/oi-contrib/OIPage/issues) 给我们留言,告诉我们你的任何意见或报告BUG给我们。
## 版权
MIT License
Copyright (c) [zxl20070701](https://zxl20070701.github.io/notebook/home.html) 走一步,再走一步