{"_id":"@atakora/lib","_rev":"2-3b7b9eac45d2f75d24367acade4fbf1d","name":"@atakora/lib","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@atakora/lib","version":"0.0.1","keywords":[],"author":"","license":"ISC","_id":"@atakora/lib@0.0.1","maintainers":[{"name":"dataminion","email":"leahy@apache.org"}],"dist":{"shasum":"5094e33e5ef2e694114c67714e62efd314c23515","tarball":"https://registry.npmjs.org/@atakora/lib/-/lib-0.0.1.tgz","fileCount":342,"integrity":"sha512-Ichq+R2kDI0Pd2LYRaVpWH5zmrv7cLvXdfMpfa6P3aJbTfZ5Rsm1f+1kdsFrnNVMPNgOPeKyaNSm08r2T/K7CQ==","signatures":[{"sig":"MEUCIQCGBX/N39tpoJZYbESNCAmWPu2uYzIUkLUHhNsjDUWBHwIgKv00RhEZJNADCbx2FiETPtPVIhxkfPqG1C1TSKVl8ss=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2361293},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"1895ec67bca118321d95cd4995cfe44f6749b999","scripts":{"test":"vitest run","build":"tsc","clean":"rm -rf ./dist && rm -rf ../../dist/lib","coverage":"vitest run --coverage","test:watch":"vitest","codegen:sync":"node dist/codegen/schema-sync.js","codegen:types":"node dist/codegen/cli.js","codegen:resource":"node dist/codegen/cli-generate-resource.js","codegen:validate":"node dist/codegen/cli-validate.js"},"_npmUser":{"name":"dataminion","email":"leahy@apache.org"},"_npmVersion":"10.9.3","description":"Core library","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"ajv":"^8.12.0","esbuild":"^0.19.0","constructs":"^10.3.0","ajv-formats":"^2.1.1","@apidevtools/json-schema-ref-parser":"^14.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lib_0.0.1_1760143430421_0.5774100036283591","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@atakora/lib","version":"0.0.2","description":"Core library","main":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"sideEffects":false,"scripts":{"build":"tsc","test":"vitest run","test:watch":"vitest","coverage":"vitest run --coverage","clean":"rm -rf ./dist && rm -rf ../../dist/lib","codegen:types":"node dist/codegen/cli.js","codegen:resource":"node dist/codegen/cli-generate-resource.js","codegen:validate":"node dist/codegen/cli-validate.js","codegen:sync":"node dist/codegen/schema-sync.js"},"keywords":[],"author":"","license":"ISC","dependencies":{"@apidevtools/json-schema-ref-parser":"^14.2.1","ajv":"^8.12.0","ajv-formats":"^2.1.1","constructs":"^10.3.0","esbuild":"^0.19.0"},"devDependencies":{"@atakora/cdk":"*"},"_id":"@atakora/lib@0.0.2","gitHead":"1895ec67bca118321d95cd4995cfe44f6749b999","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-2uLWqJbpqW2xYMdhKAmx9akxeiSgsAPwjFvjJ/77kkVtbc4uT3hLdVTkIWgcyQVplyItW2PnNEEwrxtkTSCbVA==","shasum":"509ab807999ef13d61a1579417481fa4495bc7e2","tarball":"https://registry.npmjs.org/@atakora/lib/-/lib-0.0.2.tgz","fileCount":342,"unpackedSize":2361319,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDQ79uDdqWUQwlPg7MjEiqTJC9qftgrfENKK+si14VqNgIgIoakFOrWrs7vNQGRqLzBAqZqBG3j0CSsQxW78R2gnmE="}]},"_npmUser":{"name":"dataminion","email":"leahy@apache.org"},"directories":{},"maintainers":[{"name":"dataminion","email":"leahy@apache.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lib_0.0.2_1760151951370_0.9411481310011942"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-11T00:43:50.328Z","modified":"2025-10-11T03:05:51.909Z","0.0.1":"2025-10-11T00:43:50.670Z","0.0.2":"2025-10-11T03:05:51.679Z"},"license":"ISC","keywords":[],"description":"Core library","maintainers":[{"name":"dataminion","email":"leahy@apache.org"}],"readme":"# @atakora/lib\n\nCore framework for Atakora - the type-safe Infrastructure as Code framework for Azure.\n\n## Overview\n\nThe `@atakora/lib` package provides the foundational framework components for building Azure infrastructure:\n\n- Core construct system and construct tree\n- ARM template synthesis engine\n- Validation framework and type-safe validators\n- Azure scope definitions (App, Subscription, Resource Group)\n- Base resource abstractions\n- Shared interfaces and utilities\n\n## Installation\n\n```bash\nnpm install @atakora/lib\n```\n\n## Basic Usage\n\n```typescript\nimport { App, ResourceGroupStack } from '@atakora/lib';\n\nconst app = new App();\nconst stack = new ResourceGroupStack(app, 'MyStack', {\n  resourceGroupName: 'rg-myapp-prod',\n  location: 'eastus',\n});\n\n// Add resources to the stack using @atakora/cdk constructs\n\napp.synth();\n```\n\n## Quick Example\n\n```typescript\nimport { App, ResourceGroupStack } from '@atakora/lib';\nimport { VirtualNetworks } from '@atakora/cdk/network';\n\nconst app = new App();\nconst stack = new ResourceGroupStack(app, 'NetworkStack', {\n  resourceGroupName: 'rg-network',\n  location: 'eastus',\n});\n\nconst vnet = new VirtualNetworks(stack, 'VNet', {\n  virtualNetworkName: 'vnet-main',\n  addressSpace: { addressPrefixes: ['10.0.0.0/16'] },\n});\n\napp.synth();\n```\n\n## Documentation\n\nFor complete documentation, see:\n\n- [Getting Started Guide](../../docs/usage/getting-started/)\n- [Core Concepts](../../docs/usage/guides/core-concepts.md)\n- [API Reference](../../docs/reference/api/)\n- [Architecture Decision Records](../../docs/design/architecture/)\n\n## What's Included\n\n### Core Framework\n\n- `App` - Root application construct\n- `Stack` - Base stack abstraction\n- `ResourceGroupStack` - Resource group-scoped stack\n- `SubscriptionStack` - Subscription-scoped stack\n- `Construct` - Base construct class\n\n### Synthesis\n\n- ARM template generation\n- Multi-stack synthesis\n- Template merging and optimization\n- Output file generation\n\n### Validation\n\n- Runtime validation framework\n- Schema validation\n- Type-safe validators\n- Error reporting with actionable messages\n\n### Utilities\n\n- Resource naming utilities\n- Azure naming conventions\n- CIDR validation helpers\n- Type guards and assertions\n\n## Requirements\n\n- Node.js 14.0.0 or higher\n- TypeScript 4.5.0 or higher\n- npm 7.0.0 or higher\n\n## License\n\nISC\n","readmeFilename":"README.md"}