
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@goast/typescript
Advanced tools
Provides gOAst generators for generating TypeScript code from OpenAPI specifications.
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.
The @goast/typescript
package provides generators for TypeScript code generation
from OpenAPI specifications.
import { OpenApiGenerator } from '@goast/core';
import { TypeScriptFetchClientsGenerator, TypeScriptModelsGenerator } from '@goast/typescript';
async function main() {
await new OpenApiGenerator({ outputDir: '.api' })
.useType(TypeScriptModelsGenerator)
.useType(TypeScriptFetchClientsGenerator)
.parseAndGenerateFromDir('.openapi');
}
main();
TypeScriptModelsGenerator
: Generates
TypeScript interfaces or types from schemas in the OpenAPI specification(s).TypeScriptFetchClientsGenerator
:
Generates Fetch clients for TypeScript from paths in the OpenAPI specification(s).
TypeScriptModelsGenerator
generator.TypeScriptAngularServicesGenerator
:
Generates Angular services from paths in the OpenAPI specification(s).
TypeScriptModelsGenerator
generator.TypeScriptEasyNetworkStubsGenerator
:
Generates easy-network-stub classes from paths in the OpenAPI
specification(s).
TypeScriptModelsGenerator
generator.TypeScriptK6ClientsGenerator
:
Generates k6 clients from paths in the OpenAPI specification(s).
TypeScriptModelsGenerator
generator.The API documentation can be found here.
FAQs
Provides gOAst generators for generating TypeScript code from OpenAPI specifications.
The npm package @goast/typescript receives a total of 290 weekly downloads. As such, @goast/typescript popularity was classified as not popular.
We found that @goast/typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.