{"name":"yapi-to-typescript","version":"3.39.1","keywords":["yapi","codegen","typescript"],"author":{"url":"https://github.com/fjc0k","name":"Jay Fong","email":"fjc0kb@gmail.com"},"license":"MIT","_id":"yapi-to-typescript@3.39.1","maintainers":[{"name":"funch","email":"fjc0kb@gmail.com"}],"homepage":"https://github.com/fjc0k/yapi-to-typescript","bugs":{"url":"https://github.com/fjc0k/yapi-to-typescript/issues"},"bin":{"ytt":"lib/cjs/cli.js"},"dist":{"shasum":"a6dea05c355112621794a2fc5322e77367c54bf9","tarball":"http://registry-npm.ywwl.com/yapi-to-typescript/download/yapi-to-typescript-3.39.1.tgz","fileCount":20,"integrity":"sha512-gAMDaCbZ+eQ03OJALub40Zl+ENlYWY55M55vhW3Ok4toD5mpVNiOQ/9L9iLTKJR57BO6ZaZC9kmSOi0uyd1rIw==","signatures":[{"sig":"MEYCIQD7ZFg2xLfJNwmr9quFTtI1k/PwCegBRLvvX1AJgjINXAIhAMA3wkbdqEMqhVPIESsNv2+VPfn5ax2RVlW53a+t2UJr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDi89Hd0QYQvGMDLZ8+iHMu9nGxxTd4/gvMG8vYU6I2dgIhALfir0G5zqdyMcpIlDYZqAKA1n+zxDEvvqJQkfrsQPCN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":295970,"size":47233,"noattachment":false,"key":"/yapi-to-typescript/-/yapi-to-typescript-3.39.1.tgz"},"main":"lib/cjs/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"lib/esm/index.d.ts","module":"lib/esm/index.js","engines":{"node":">=10.19.0"},"gitHead":"6059d72777d641b89876e698d1b6a1dac24c4c98","scripts":{"docs":"npm run docs:build && gh-pages --dist docs/dist --dest handbook","test":"jest --coverage","build":"haoma compile","release":"yarn testOnly && standard-version -a && yarn build && yarn docs && git push --follow-tags origin master && npm login && npm publish","testApi":"ts-node -T src/cli.ts","docs:dev":"dumi dev","testOnly":"jest","docs:build":"dumi build","releaseBeta":"yarn testOnly && standard-version -a --release-as patch --prerelease beta && yarn build && git push --follow-tags origin master && npm login && npm publish --tag next","testUpdateSnapshot":"jest --coverage -u"},"_npmUser":{"name":"funch","email":"fjc0kb@gmail.com"},"repository":{"url":"git+ssh://git@github.com/fjc0k/yapi-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"根据 YApi 的接口定义生成 TypeScript/JavaScript 的接口类型及其请求函数代码。","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix","prettier --write"],"*.{css,less,scss,sass,html,htm,vue,yml,yaml,json,md}":["prettier --write"]},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ora":"^3.4.0","dayjs":"^1.8.32","json5":"^2.1.0","vtils":"^4.57.0","yargs":"^16.2.0","consola":"^2.3.0","prompts":"^2.0.4","ts-node":"^8.0.2","fs-extra":"^7.0.1","get-port":"^5.1.1","prettier":"^2.7.1","form-data":"^3.0.0","node-fetch":"^2","typescript":"^4.2.3","change-case":"^3.0.2","proxy-agent":"^5.0.0","signal-exit":"^3.0.3","@babel/runtime":"^7.13.10","swagger-client":"3.18.4","to-json-schema":"^0.2.5","@types/json-schema":"^7.0.9","json-schema-to-typescript":"^10.1.4"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.2","dumi":"^1.1.10","jest":"^26","haoma":"^2.31.0","husky":"^4","tempy":"^0.3.0","eslint":"^7","codecov":"^3","typedoc":"^0.14.2","gh-pages":"^2.0.1","@types/node":"^10.12.10","lint-staged":"^10","@types/json5":"^0.0.30","@types/react":"^16.9.2","@types/yargs":"^16.0.1","openapi-types":"^7.0.1","@types/prompts":"^1.2.0","@types/fs-extra":"^5.0.4","notify-dingtalk":"^1.2.0","standard-version":"^9.3.2","@types/node-fetch":"^2.6.2","@types/signal-exit":"^3.0.0","@types/to-json-schema":"^0.2.0","typescript-snapshots-plugin":"^1.7.0","@types/swagger-schema-official":"^2.0.21"},"_npmOperationalInternal":{"tmp":"tmp/yapi-to-typescript_3.39.1_1794660976191_0.28250395682201446","host":"s3://npm-registry-packages-npm-production"},"readme":"# YApi to TypeScript ![Test](https://github.com/fjc0k/yapi-to-typescript/workflows/Test/badge.svg) [![codecov](https://codecov.io/gh/fjc0k/yapi-to-typescript/branch/master/graph/badge.svg)](https://codecov.io/gh/fjc0k/yapi-to-typescript)\n\n`YApi to TypeScript`（简称 `ytt`） 是一个代码生成工具，其可根据 [YApi](https://github.com/YMFE/yapi) 或 [Swagger](https://swagger.io/) 的接口定义生成 TypeScript 或 JavaScript 的接口类型及其请求函数代码。\n\n## 文档\n\n- [介绍](https://fjc0k.github.io/yapi-to-typescript/v4/)\n- [配置](https://fjc0k.github.io/yapi-to-typescript/v4/config)\n- [使用](https://fjc0k.github.io/yapi-to-typescript/v4/usage)\n- [统一请求函数](https://fjc0k.github.io/yapi-to-typescript/v4/request)\n- [更新日志](https://fjc0k.github.io/yapi-to-typescript/v4/changelog)\n\n## 交流群\n\n钉钉扫码加入交流群：\n\n<img src=\"https://cdn.jsdelivr.net/gh/fjc0k/yapi-to-typescript@master/assets/dd.jpg\" width=\"300\" />\n\n## 许可\n\n[MIT](https://github.com/fjc0k/yapi-to-typescript/blob/master/LICENSE) © [Jay Fong](https://github.com/fjc0k)\n","publish_time":1794660976300,"_cnpm_publish_time":1794660976300,"dist-tags":{"latest":"4.1.0","next":"3.26.1-beta.1"}}