Socket
Socket
Sign inDemoInstall

@goast/typescript

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goast/typescript

Provides gOAst generators for generating TypeScript code from OpenAPI specifications.


Version published
Weekly downloads
469
decreased by-34.13%
Maintainers
0
Weekly downloads
 
Created
Source

gOAst (@goast/typescript)

@goast/typescript NPM Version

gOAst stands for generative Open API specification transformer, a tool designed to transform OpenAPI specifications into various forms with flexibility and extensibility at its core.

For more Information, please visit the gOAst GitHub Repository.

Purpose 👍

The @goast/typescript package provides generators for TypeScript code generation from OpenAPI specifications.

Usage Example 🚀

import { OpenApiGenerator } from '@goast/core';
import { TypeScriptModelsGenerator, TypeScriptFetchClientsGenerator } from '@goast/typescript';

async function main() {
  await new OpenApiGenerator({ outputDir: '.api' })
    .useType(TypeScriptModelsGenerator)
    .useType(TypeScriptFetchClientsGenerator)
    .parseAndGenerateFromDir('.openapi');
}

main();

Available Generators 📚

API Documentation 📖

The API documentation can be found here.

Keywords

FAQs

Package last updated on 10 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc