{"_id":"yapi-to-typescript@4.1.0","bin":{"ytt":"lib/cli.mjs"},"bugs":{"url":"https://github.com/fjc0k/yapi-to-typescript/issues"},"dist":{"shasum":"c1348d7fa72d1ebdf009cc21c4195e4172ff2383","tarball":"http://registry-npm.ywwl.com/yapi-to-typescript/download/yapi-to-typescript-4.1.0.tgz","fileCount":21,"integrity":"sha512-ZodZvk8g/BCmK4sYV+TovG6JWX1mTryHjGnzxySPoBESBhty2rqTdGMNuQE2xbLtJNsCdgtSECSNpW9ufroVFg==","signatures":[{"sig":"MEUCIQCXyeQR+izWqZxs+DmsxPmsRdEPAsnjjgx3LMBBZxtTMAIgDftMb+24H4BSAa9dsGBnU8erKbS+NvVBC4uVWmw+g74=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCA5qVBWaEyrYHRivSfzdl8IW+KvDXKF10fADGwdicqMAIgK2yi9fTRVpCUmL55njAu+U9WmXnQT+1723DLUv0EvvY="}],"unpackedSize":95873,"size":26169,"noattachment":false,"key":"/yapi-to-typescript/-/yapi-to-typescript-4.1.0.tgz"},"name":"yapi-to-typescript","type":"module","author":{"url":"https://github.com/fjc0k","name":"Jay Fong","email":"fjc0kb@gmail.com"},"engines":{"node":">=24.21.0"},"exports":{".":"./lib/index.mjs","./cli":"./lib/cli.mjs","./package.json":"./package.json"},"gitHead":"57028a4ea7b7cb8e6eb8fb494ee972c184223d11","license":"MIT","scripts":{"docs":"pnpm run docs:build && gh-pages --dist docs/dist --dest v4","lint":"biome check .","test":"vitest run --coverage","build":"tsdown","format":"biome format --write .","prepare":"dumi setup","release":"pnpm run test:run && standard-version -a && pnpm run build && pnpm run docs && git push --follow-tags origin master && npm login && npm publish","docs:dev":"dumi dev","lint:fix":"biome check --write .","test:api":"tsx src/cli.ts","test:run":"vitest run","typecheck":"tsc --noEmit","docs:build":"dumi build","test:watch":"vitest","test:update":"vitest run -u","release:beta":"pnpm run test:run && standard-version -a --release-as patch --prerelease beta && pnpm run build && git push --follow-tags origin master && npm login && npm publish --tag next","release:major":"pnpm run test:run && standard-version -a --release-as major && pnpm run build && git push --follow-tags origin master && npm login && npm publish","release:major:beta":"pnpm run test:run && standard-version -a --release-as major --prerelease beta && pnpm run build && git push --follow-tags origin master && npm login && npm publish --tag next"},"version":"4.1.0","_npmUser":{"name":"funch","email":"fjc0kb@gmail.com"},"homepage":"https://github.com/fjc0k/yapi-to-typescript","keywords":["yapi","codegen","typescript"],"repository":{"url":"git+ssh://git@github.com/fjc0k/yapi-to-typescript.git","type":"git"},"_npmVersion":"11.19.0","description":"根据 YApi 的接口定义生成 TypeScript/JavaScript 的接口类型及其请求函数代码。","directories":{},"maintainers":[{"name":"funch","email":"fjc0kb@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"ora":"^10.0.0","jiti":"^2.7.0","dayjs":"^1.11.23","json5":"^2.2.3","vtils":"^4.138.0","yargs":"^18.2.0","consola":"^3.4.2","prompts":"^2.4.2","fs-extra":"^11.4.1","get-port":"^7.2.0","prettier":"^3.10.1","form-data":"^4.0.6","node-fetch":"^3.3.2","typescript":"^6.0.3","change-case":"^5.4.4","proxy-agent":"^8.0.2","signal-exit":"^4.1.0","openapi-types":"^12.1.3","swagger-client":"3.18.4","to-json-schema":"^0.2.5","@types/json-schema":"^7.0.15","json-schema-to-typescript":"^16.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@12.21.0","devDependencies":{"tsx":"^4.23.15","dumi":"^2.4.57","tempy":"^3.2.0","tsdown":"^0.23.7","vitest":"^5.1.0","codecov":"^3.8.3","gh-pages":"^6.3.0","@types/node":"^24.19.2","@types/json5":"^2.2.0","@types/react":"^16.9.2","@types/yargs":"^17.0.35","@biomejs/biome":"^2.6.8","@types/prompts":"^2.4.9","@types/fs-extra":"^11.0.4","notify-dingtalk":"^1.2.0","standard-version":"^9.5.0","@vitest/coverage-v8":"^5.1.0","@types/to-json-schema":"^0.2.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/yapi-to-typescript_4.1.0_1794812045711_0.009025455268537819"},"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":1794812045820,"_cnpm_publish_time":1794812045820,"dist-tags":{"latest":"4.1.0","next":"3.26.1-beta.1"}}