Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 新增 msw, zod 和 satori #20

Merged
merged 1 commit into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ English | [简体中文](./README.md)

- [sharp](https://github.com/lovell/sharp) - The fastest module for resizing JPEG, PNG, WebP and TIFF images. ![](https://img.shields.io/github/stars/lovell/sharp.svg?style=social&label=Star)
- [jimp](https://github.com/oliver-moran/jimp) - Image processing in pure JavaScript. ![](https://img.shields.io/github/stars/oliver-moran/jimp.svg?style=social&label=Star)
- [satori](https://github.com/vercel/satori) - convert HTML and CSS to SVG. ![](https://img.shields.io/github/stars/vercel/satori.svg?style=social&label=Star)
- [gm](https://github.com/aheckmann/gm) - GraphicsMagick and ImageMagick wrapper. ![](https://img.shields.io/github/stars/aheckmann/gm.svg?style=social&label=Star)
- [qrcode](https://github.com/soldair/node-qrcode) - QR code and bar code generator. ![](https://img.shields.io/github/stars/soldair/node-qrcode.svg?style=social&label=Star)
- [pixelmatch](https://github.com/mapbox/pixelmatch) - The smallest, simplest and fastest JavaScript pixel-level image comparison library. ![](https://img.shields.io/github/stars/mapbox/pixelmatch.svg?style=social&label=Star)
Expand Down Expand Up @@ -429,6 +430,7 @@ English | [简体中文](./README.md)

### Data Validation

- [zod](https://github.com/colinhacks/zod) - TypeScript-first schema validation with static type inference. ![](https://img.shields.io/github/stars/colinhacks/zod.svg?style=social&label=Star)
- [validator.js](https://github.com/validatorjs/validator.js) - A library of string validators and sanitizers. ![](https://img.shields.io/github/stars/validatorjs/validator.js.svg?style=social&label=Star)
- [joi](https://github.com/hapijs/joi) - Object schema description language and validator for JavaScript objects. ![](https://img.shields.io/github/stars/hapijs/joi.svg?style=social&label=Star)
- [yup](https://github.com/jquense/yup) - Dead simple Object schema validation inspired by Joi. ![](https://img.shields.io/github/stars/jquense/yup.svg?style=social&label=Star)
Expand Down Expand Up @@ -1151,6 +1153,7 @@ English | [简体中文](./README.md)

- Mock Server
- [json-server](https://github.com/typicode/json-server) - Get a full fake REST API with zero coding in less than 30 seconds. ![](https://img.shields.io/github/stars/typicode/json-server.svg?style=social&label=Star)
- [msw](https://github.com/mswjs/msw) - Seamless REST/GraphQL API mocking library for browser and Node.js. ![https://img.shields.io/github/stars/mswjs/msw.svg?style=social&label=Star]
- [easy-mock](https://github.com/easy-mock/easy-mock) - A persistent service that generates mock data quickly and provids visualization view. ![](https://img.shields.io/github/stars/easy-mock/easy-mock.svg?style=social&label=Star)
- [miragejs](https://github.com/miragejs/miragejs) - A client-side server to build, test and share your JavaScript app. ![](https://img.shields.io/github/stars/miragejs/miragejs.svg?style=social&label=Star)
- [pretender](https://github.com/pretenderjs/pretender) - A mock server library with a nice routing DSL. ![](https://img.shields.io/github/stars/pretenderjs/pretender.svg?style=social&label=Star)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@

- [sharp](https://github.com/lovell/sharp) - 调整 JPEG,PNG,WebP 和 TIFF 格式图像大小的最快模块。 ![](https://img.shields.io/github/stars/lovell/sharp.svg?style=social&label=Star)
- [jimp](https://github.com/oliver-moran/jimp) - 纯 JavaScript 中的图像处理。 ![](https://img.shields.io/github/stars/oliver-moran/jimp.svg?style=social&label=Star)
- [satori](https://github.com/vercel/satori) - html 转 svg. ![](https://img.shields.io/github/stars/vercel/satori.svg?style=social&label=Star)
- [gm](https://github.com/aheckmann/gm) - GraphicsMagick 和 ImageMagick 封装。 ![](https://img.shields.io/github/stars/aheckmann/gm.svg?style=social&label=Star)
- [qrcode](https://github.com/soldair/node-qrcode) - 二维码和条形码生成器。 ![](https://img.shields.io/github/stars/soldair/node-qrcode.svg?style=social&label=Star)
- [pixelmatch](https://github.com/mapbox/pixelmatch) - 最小、最简单、最快的 JavaScript 像素级图像比较库。 ![](https://img.shields.io/github/stars/mapbox/pixelmatch.svg?style=social&label=Star)
Expand Down Expand Up @@ -481,6 +482,7 @@

### 数据校验

- [zod](https://github.com/colinhacks/zod) - TypeScript 优先的 Schema 校验 ![](https://img.shields.io/github/stars/colinhacks/zod.svg?style=social&label=Star)
- [validator.js](https://github.com/validatorjs/validator.js) - 字符串校验库。 ![](https://img.shields.io/github/stars/validatorjs/validator.js.svg?style=social&label=Star)
- [joi](https://github.com/hapijs/joi) - 基于 JavaScript 对象的对象模式描述语言和验证器。 ![](https://img.shields.io/github/stars/hapijs/joi.svg?style=social&label=Star)
- [yup](https://github.com/jquense/yup) - 受 joi 启发的极简的对象 Schema 校验。 ![](https://img.shields.io/github/stars/jquense/yup.svg?style=social&label=Star)
Expand Down Expand Up @@ -1205,6 +1207,7 @@

- Mock 服务
- [json-server](https://github.com/typicode/json-server) - 在不到 30 秒的时间内获得具有零编码的完整伪造的 REST API。 ![](https://img.shields.io/github/stars/typicode/json-server.svg?style=social&label=Star)
- [msw](https://github.com/mswjs/msw) - 顺畅的 REST/GraphQL Mock 库,适用于 Node 和浏览器 ![https://img.shields.io/github/stars/mswjs/msw.svg?style=social&label=Star]
- [easy-mock](https://github.com/easy-mock/easy-mock) - 可视化,并且能快速生成模拟数据的持久化服务。 ![](https://img.shields.io/github/stars/easy-mock/easy-mock.svg?style=social&label=Star)
- [miragejs](https://github.com/miragejs/miragejs) - 用于构建、测试和共享您的 JavaScript 应用程序的客户端服务。 ![](https://img.shields.io/github/stars/miragejs/miragejs.svg?style=social&label=Star)
- [pretender](https://github.com/pretenderjs/pretender) - 具有良好路由 DSL 的 Mock 服务器库。 ![](https://img.shields.io/github/stars/pretenderjs/pretender.svg?style=social&label=Star)
Expand Down