{"name":"yapi-to-typescript","version":"3.38.0","keywords":["yapi","codegen","typescript"],"author":{"url":"https://github.com/fjc0k","name":"Jay Fong","email":"fjc0kb@gmail.com"},"license":"MIT","_id":"yapi-to-typescript@3.38.0","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":"c3b4cf8c67b48e7e51b84d345d4975188c993b63","tarball":"http://registry-npm.ywwl.com/yapi-to-typescript/download/yapi-to-typescript-3.38.0.tgz","fileCount":20,"integrity":"sha512-QoSxiMx0YPNuqllUQ5ieOgkKQw7ht2kvaHTz/vrEHcLi6Sfppe4DotUEUe/xy3yKywYO2b8HlIoo+ronS6G+Ew==","signatures":[{"sig":"MEYCIQC57QzmPs7TgOEHsIZXZU6w2whLv2itk54WfV+c8mlP9AIhALVa3kWvWReOx/ndkCOIMLS1YDfGKq/Pi6CBZZ5FusIl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":295357,"size":46852,"noattachment":false,"key":"/yapi-to-typescript/-/yapi-to-typescript-3.38.0.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":"8d11ba152c519ccde8757b7d682d3a8a9239769b","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 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 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":"8.19.4","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":"16.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.38.0_1732173261704_0.33553969142809437","host":"s3://npm-registry-packages"},"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/handbook/)\n- [配置](https://fjc0k.github.io/yapi-to-typescript/handbook/config.html)\n- [使用](https://fjc0k.github.io/yapi-to-typescript/handbook/usage.html)\n- [统一请求函数](https://fjc0k.github.io/yapi-to-typescript/handbook/request.html)\n- [更新日志](https://fjc0k.github.io/yapi-to-typescript/handbook/changelog.html)\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":1732173261866,"_cnpm_publish_time":1732173261866,"dist-tags":{"latest":"4.1.0","next":"3.26.1-beta.1"}}