{"_id":"@archlex/k8s","_rev":"3-71ed9eee2218906eaf8184dcc0a0a59a","name":"@archlex/k8s","dist-tags":{"latest":"0.4.0"},"versions":{"0.2.0":{"name":"@archlex/k8s","version":"0.2.0","keywords":["architecture","diagrams","kubernetes","k8s","cloud","icons"],"author":{"name":"Alexis Sgarbossa"},"license":"MIT","_id":"@archlex/k8s@0.2.0","maintainers":[{"name":"baires","email":"alexis@sgarbossa.com.ar"}],"homepage":"https://github.com/baires/archlex#readme","bugs":{"url":"https://github.com/baires/archlex/issues"},"dist":{"shasum":"f9b5189b420fe2c7ec73cccf47056f18775ae811","tarball":"https://registry.npmjs.org/@archlex/k8s/-/k8s-0.2.0.tgz","fileCount":43,"integrity":"sha512-4C3OJdH8cLeUOyB7UX8NB9HTTu+odzAggDa+7mqvedqY4PPjXa6OmMwbDJMPhXskeYdMIfUOaiiD32R2B3RPNw==","signatures":[{"sig":"MEQCICoX8UqFiMx+VVJ0CnVC79uTMYVP26TJe67PKz9Jk4F/AiBS4jTLNqSFv1cuW2GHZ5oDYKm/lW/RT7PxKixdeS4CAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archlex%2fk8s@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":471875},"main":"./dist/index.js","type":"module","_from":"file:archlex-k8s-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"vite build && tsc --emitDeclarationOnly","icons:check":"node scripts/import-official-icons.mjs --check","icons:generate":"node scripts/import-official-icons.mjs"},"_npmUser":{"name":"baires","email":"alexis@sgarbossa.com.ar"},"_resolved":"/tmp/805833258b5e3d1d8f2f142d02b83566/archlex-k8s-0.2.0.tgz","_integrity":"sha512-4C3OJdH8cLeUOyB7UX8NB9HTTu+odzAggDa+7mqvedqY4PPjXa6OmMwbDJMPhXskeYdMIfUOaiiD32R2B3RPNw==","repository":{"url":"git+https://github.com/baires/archlex.git","type":"git","directory":"packages/k8s"},"_npmVersion":"11.17.0","description":"Kubernetes provider for ArchLex architecture diagrams","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@archlex/model":"^0.4.0","@archlex/icons-core":"^0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","vitest":"^3.0.5","typescript":"^5.7.3","@archlex/icons":"^0.2.3","@xmldom/xmldom":"0.9.10"},"_npmOperationalInternal":{"tmp":"tmp/k8s_0.2.0_1786754797221_0.6764372221803172","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@archlex/k8s","version":"0.3.0","keywords":["architecture","diagrams","kubernetes","k8s","cloud","icons"],"author":{"name":"Alexis Sgarbossa"},"license":"MIT","_id":"@archlex/k8s@0.3.0","maintainers":[{"name":"baires","email":"alexis@sgarbossa.com.ar"}],"homepage":"https://github.com/baires/archlex#readme","bugs":{"url":"https://github.com/baires/archlex/issues"},"dist":{"shasum":"f4cfc5d950d8103fab007f6fd48531c634bc6047","tarball":"https://registry.npmjs.org/@archlex/k8s/-/k8s-0.3.0.tgz","fileCount":45,"integrity":"sha512-nE+1/Mbh5+dQ2k8/aEP/uofS4l8LrtMMbEVOQqew9eCx8qRDxJAIqE9jFw7bEvYzgcD2kYZsckjfur83wTtqfg==","signatures":[{"sig":"MEQCIHjnDecMZ/n7KDCiuiqSqhnlkhOQHkeyYk1N4GAtfwsHAiBnymu2KayfBpsSFbr4rRUScNYvrxzAKWcLcae8vGr6/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archlex%2fk8s@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":473782},"main":"./dist/index.js","type":"module","_from":"file:archlex-k8s-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"vite build && tsc --emitDeclarationOnly","icons:check":"node scripts/import-official-icons.mjs --check","icons:generate":"node scripts/import-official-icons.mjs"},"_npmUser":{"name":"baires","email":"alexis@sgarbossa.com.ar"},"_resolved":"/tmp/3509244e27519f3fdb58171f20491def/archlex-k8s-0.3.0.tgz","_integrity":"sha512-nE+1/Mbh5+dQ2k8/aEP/uofS4l8LrtMMbEVOQqew9eCx8qRDxJAIqE9jFw7bEvYzgcD2kYZsckjfur83wTtqfg==","repository":{"url":"git+https://github.com/baires/archlex.git","type":"git","directory":"packages/k8s"},"_npmVersion":"11.17.0","description":"Kubernetes provider for ArchLex architecture diagrams","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@archlex/model":"^0.5.0","@archlex/icons-core":"^0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.1.0","vitest":"^3.0.5","typescript":"^5.7.3","@archlex/icons":"^0.2.3","@xmldom/xmldom":"0.9.10"},"_npmOperationalInternal":{"tmp":"tmp/k8s_0.3.0_1786819284028_0.5505529887525231","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@archlex/k8s","version":"0.4.0","description":"Kubernetes provider for ArchLex architecture diagrams","keywords":["architecture","diagrams","kubernetes","k8s","cloud","icons"],"repository":{"type":"git","url":"git+https://github.com/baires/archlex.git","directory":"packages/k8s"},"license":"MIT","author":{"name":"Alexis Sgarbossa"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"publishConfig":{"access":"public"},"dependencies":{"@archlex/icons-core":"^0.2.3","@archlex/model":"^0.6.0"},"devDependencies":{"@xmldom/xmldom":"0.9.10","typescript":"^5.7.3","vite":"^6.1.0","vitest":"^3.0.5","@archlex/icons":"^0.2.3"},"scripts":{"build":"vite build && tsc --emitDeclarationOnly","icons:generate":"node scripts/import-official-icons.mjs","icons:check":"node scripts/import-official-icons.mjs --check","test":"vitest run --passWithNoTests"},"_id":"@archlex/k8s@0.4.0","bugs":{"url":"https://github.com/baires/archlex/issues"},"homepage":"https://github.com/baires/archlex#readme","_integrity":"sha512-0rHjiPbZJkmXN8x+mjigmcdwpSiglwZntkjsBJZWrPMfTZGzoaGzQ/Dl467OCbRQ75PR39+HsDXBhss2Hqq/Pg==","_resolved":"/tmp/bf32ecba283b402ea8b563c8cc1ab52a/archlex-k8s-0.4.0.tgz","_from":"file:archlex-k8s-0.4.0.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-0rHjiPbZJkmXN8x+mjigmcdwpSiglwZntkjsBJZWrPMfTZGzoaGzQ/Dl467OCbRQ75PR39+HsDXBhss2Hqq/Pg==","shasum":"58448e1bd7fe7121665d2de3594b68bc4897c770","tarball":"https://registry.npmjs.org/@archlex/k8s/-/k8s-0.4.0.tgz","fileCount":49,"unpackedSize":478294,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archlex%2fk8s@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDDvicxQSq+HONro37/R7j3U9GIF2CvxhCuTb9sytwXFgIhAKdRSlOM3IrC/ocbKdqEuy2JaIfNZB9u+zS2hL1yUd4l"}]},"_npmUser":{"name":"baires","email":"alexis@sgarbossa.com.ar"},"directories":{},"maintainers":[{"name":"baires","email":"alexis@sgarbossa.com.ar"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/k8s_0.4.0_1787347477982_0.6418964439235324"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-15T00:46:37.025Z","modified":"2026-08-21T21:24:38.525Z","0.2.0":"2026-08-15T00:46:37.357Z","0.3.0":"2026-08-15T18:41:24.177Z","0.4.0":"2026-08-21T21:24:38.128Z"},"bugs":{"url":"https://github.com/baires/archlex/issues"},"author":{"name":"Alexis Sgarbossa"},"license":"MIT","homepage":"https://github.com/baires/archlex#readme","keywords":["architecture","diagrams","kubernetes","k8s","cloud","icons"],"repository":{"type":"git","url":"git+https://github.com/baires/archlex.git","directory":"packages/k8s"},"description":"Kubernetes provider for ArchLex architecture diagrams","maintainers":[{"name":"baires","email":"alexis@sgarbossa.com.ar"}],"readme":"# @archlex/k8s\n\nKubernetes provider for ArchLex architecture diagrams.\n\n## Installation\n\n```bash\nnpm install @archlex/k8s\n```\n\n## Usage\n\n```typescript\nimport { createArchLex } from '@archlex/core';\nimport { k8sProvider } from '@archlex/k8s';\n\nconst archlex = createArchLex({ providers: [k8sProvider()] });\n\nconst svg = archlex.render(`\nprovider k8s\ncluster prod {\n  namespace frontend {\n    web: deployment\n    web-svc: service\n  }\n}\nweb-svc -> web\n`);\n```\n\n## Features\n\n- Official Kubernetes community icons (39 bundled, sanitized inline)\n- Catalog of 60+ Kubernetes resources (workloads, networking, storage, RBAC, control plane)\n- Semantic validation rules (namespace containment, service/ingress targets, unbound PVCs, and more)\n- `cluster` / `namespace` scope nesting in the ArchLex DSL\n- CDN fallback via the jsDelivr mirror of `kubernetes/community`\n\n## Icon Attribution\n\nBundled and CDN icons come from the\n[Kubernetes Community Icons](https://github.com/kubernetes/community/tree/main/icons)\nset, licensed under a choice of **Apache-2.0 OR CC-BY-4.0**. The Kubernetes\nlogo is a registered trademark of The Linux Foundation.\n\n## Documentation\n\nVisit [archlex.dev](https://archlex.dev) for full documentation.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}