🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@cubetool/plugin-testdata

Package Overview
Dependencies
Maintainers
9
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubetool/plugin-testdata

开发者工具 testdata 测试数据插件

latest
npmnpm
Version
1.1.1
Version published
Maintainers
9
Created
Source

cube 开发者工具 testdata 测试数据插件

注意:该模块是 cubetool 插件,直接使用 npm 方式安装无效。

安装

@cubetool/cli 工具下可以使用以下命令安装

cubetool plugin install @cubetool/plugin-testdata

在其他开发者工具中,可参考其对应文档。

使用

在 cube 项目下新建 testdata.json 文件可配置 mock 测试数据,示例:

{
	"mid" : "0aff61a88e9fdc0741473096d24c326f",
	"ext" : "{a:1, b:2, c: [1,2,3]}",
	"idn" : "pic@so360",
	"guid" : "xxx",
	"huid" : "yyy",
	"aid": "zzz",
	"content_id": "aaa",
	"tmprtp": "bbb"
}

FAQs

Package last updated on 24 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts