This release is versions behind 0.3.5 — the latest version of @gin/core.
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score70%•This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers




Downloads1/wk
•Publisheda year ago (0.1.16)
This package provides the core functionality of the Gin framework, a type safe template engine for Kubernetes.
Getting started
The following is a basic example that makes use of a reusable component from the Gin standard library to deploy a web
application. Running this code will produce a corresponding Deployment, Service, and Ingress resource.
// webapp.ts import { Gin } from "jsr:@gin/core"; import { WebApp } from "jsr:@gin/webapp-v1alpha1"; new Gin().run((gin) => { gin.emit<WebApp>({ apiVersion: "webapp.gin.jsr.io/v1alpha1", kind: "WebApp", metadata: { name: "example-webapp", namespace: "default", }, spec: { image: "nginxinc/nginx-unprivileged:stable-alpine", replicas: 3, host: "example.com", clusterIssuer: "letsencrypt-prod", }, }); });
You can add the
-moption to keep Gin metadata attached to the Kubernetes resources in tact, which is useful for debugging when you need to understand how a resource in the final output was generated. Also add the-poption to emit Gin custom resources as well.
Check out the Gin packages on JSR.io.
Built and signed on
GitHub Actions
Add Package
deno add jsr:@gin/core
Import symbol
import * as core from "@gin/core";
Import directly with a jsr specifier
import * as core from "jsr:@gin/core";