{"library":"swagger-typescript-codegen","type":"library","category":null,"description":"This package, currently at version 3.2.4, generates TypeScript client code from a Swagger/OpenAPI 2.0 specification file. It leverages Mustache templates for highly customizable code generation, allowing developers to define their own class, method, and type structures. The generated code is built upon `superagent` for HTTP requests, making it adaptable for both Node.js and browser environments when used with bundlers like Browserify or Webpack. The project originated as a fork to streamline specific functionalities and integrate code quality checks via JSHint and code beautification with JS-Beautify. While not indicating a rapid release cadence, its focus on customization and robust template-driven generation makes it suitable for projects requiring tailored API clients.","language":"javascript","status":"maintenance","version":"3.2.4","tags":["javascript","swagger","rest"],"last_verified":"Wed May 27","install":[{"cmd":"npm install swagger-typescript-codegen","imports":["const CodeGen = require('swagger-typescript-codegen').CodeGen;","CodeGen.getTypescriptCode({ /* options */ });","CodeGen.getCustomCode({ /* options */ });"]},{"cmd":"yarn add swagger-typescript-codegen","imports":[]},{"cmd":"pnpm add swagger-typescript-codegen","imports":[]}],"homepage":null,"github":"https://github.com/mtennoe/swagger-typescript-codegen","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/swagger-typescript-codegen","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/swagger-typescript-codegen/compatibility"}}