Paste a YAML config and get TypeScript interfaces that describe it. Use them to type config loaders, Helm values or CI files.
# Service config
service:
name: api
replicas: 3
ports:
- 8080
- 8443
defaults: &defaults
timeout: 30
retries: 2
production:
<<: *defaults
timeout: 60export interface Root {
service: Service;
defaults: Defaults;
production: Defaults;
}
export interface Service {
name: string;
replicas: number;
ports: number[];
}
export interface Defaults {
timeout: number;
retries: number;
}ParseBox shows this note under the output, so nothing is lost without a warning.
ParseBox runs entirely in your browser. Your text is never uploaded, logged or stored on a server, so it is safe to paste API responses, tokens and config files.