graphql-query-generator:从GraphQL模式随机生成GraphQL查询-源码

上传者: 42122881 | 上传时间: 2021-03-13 17:10:14 | 文件大小: 868KB | 文件类型: ZIP
GraphQL查询生成器 该库将根据给定的模式生成随机的查询。 它可以以几种方式使用: 工程:如果您运行GraphQL服务,则可以使用此库来执行以下操作: 开发GraphQL查询的静态测试套件 开发一系列查询以测试性能改进的效果 科学:了解各种GraphQL服务的特征 用法 使用以下方法安装库: npm i ibm-graphql-query-generator 用法通常依赖于generateRandomQuery函数,可以像这样导入: const { generateRandomQuery } = require ( "ibm-graphql-query-generator" ) 最小的工作实例 所有都作为公开。 可以传递提供程序来为这些变量提供值。 例如: const { generateRandomQuery } = require ( "ibm-graphql-quer

文件下载

资源详情

[{"title":"( 81 个子文件 868KB ) graphql-query-generator:从GraphQL模式随机生成GraphQL查询-源码","children":[{"title":"graphql-query-generator-master","children":[{"title":".gitignore <span style='color:#111;'> 925B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"diagram.png <span style='color:#111;'> 550.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 234.58KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"provide-variables.ts <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"generate-query.ts <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 224B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":".prettierignore <span style='color:#111;'> 9B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"github-query-generator","children":[{"title":".gitignore <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 178.78KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"github-providers.ts <span style='color:#111;'> 17.40KB </span>","children":null,"spread":false},{"title":"generate-corpus.ts <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"jest.config.js <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"github-providers.js.map <span style='color:#111;'> 13.27KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"index.js.map <span style='color:#111;'> 1011B </span>","children":null,"spread":false},{"title":"github-providers.js <span style='color:#111;'> 18.54KB </span>","children":null,"spread":false},{"title":"generate-corpus.js.map <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"generate-corpus.js <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"generate-corpus.d.ts <span style='color:#111;'> 11B </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"github-providers.d.ts <span style='color:#111;'> 507B </span>","children":null,"spread":false}],"spread":false},{"title":"fixtures","children":[{"title":"github.graphql <span style='color:#111;'> 648.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"test","children":[{"title":"generate-github-query.test.ts <span style='color:#111;'> 730B </span>","children":null,"spread":false}],"spread":false},{"title":"query-corpus","children":[{"title":".empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"yelp-query-generator","children":[{"title":".gitignore <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 178.62KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"yelp-providers.ts <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"generate-corpus.ts <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"jest.config.js <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"yelp-providers.js.map <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"yelp-providers.js <span style='color:#111;'> 6.15KB </span>","children":null,"spread":false},{"title":"index.js.map <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"generate-corpus.js.map <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"providers","children":[{"title":"businesses.js <span style='color:#111;'> 108.99KB </span>","children":null,"spread":false},{"title":"yelp-providers.js.map <span style='color:#111;'> 4.47KB </span>","children":null,"spread":false},{"title":"yelp-providers.js <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"events.d.ts <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"businesses.js.map <span style='color:#111;'> 88.01KB </span>","children":null,"spread":false},{"title":"yelp-providers.d.ts <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"events.js <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"businesses.d.ts <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"events.js.map <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"yelp-providers.d.ts <span style='color:#111;'> 795B </span>","children":null,"spread":false},{"title":"generate-corpus.js <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false},{"title":"generate-corpus.d.ts <span style='color:#111;'> 11B </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 637B </span>","children":null,"spread":false}],"spread":false},{"title":"fixtures","children":[{"title":"yelp_introspection.json <span style='color:#111;'> 109.09KB </span>","children":null,"spread":false},{"title":"yelp.graphql <span style='color:#111;'> 18.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"test","children":[{"title":"generate-yelp-query.test.ts <span style='color:#111;'> 754B </span>","children":null,"spread":false}],"spread":false},{"title":"query-corpus","children":[{"title":".empty <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 8.87KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"generate-query.d.ts <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"generate-query.js <span style='color:#111;'> 28.67KB </span>","children":null,"spread":false},{"title":"generate-query.js.map <span style='color:#111;'> 22.67KB </span>","children":null,"spread":false},{"title":"provide-variables.js <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"index.js.map <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"provide-variables.d.ts <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"provide-variables.js.map <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"consider-listsize-directive.test.ts <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false},{"title":"generate-query.test.ts <span style='color:#111;'> 18.41KB </span>","children":null,"spread":false},{"title":"single-query.test.ts <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"match-var-name.test.ts <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"github-providers.ts <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"schema.graphql <span style='color:#111;'> 771B </span>","children":null,"spread":false},{"title":"github.graphql <span style='color:#111;'> 243.70KB </span>","children":null,"spread":false},{"title":"simple.graphql <span style='color:#111;'> 109B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".prettierrc <span style='color:#111;'> 86B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明