{"_id":"@airtrame/brixjs-core","_rev":"4-7d5491681029d436c80acefa840ddb86","name":"@airtrame/brixjs-core","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@airtrame/brixjs-core","version":"0.0.1","author":{"name":"Airtrame"},"license":"MIT","_id":"@airtrame/brixjs-core@0.0.1","maintainers":[{"name":"airtrame","email":"airtrame@gmail.com"}],"dist":{"shasum":"f81ce0717534226606ffa3f0258edc7ee1c85e00","tarball":"https://registry.npmjs.org/@airtrame/brixjs-core/-/brixjs-core-0.0.1.tgz","fileCount":27,"integrity":"sha512-PNUqU7W7tqvd0mcrPEEnTM+4odoWZkbYZxHtaiN+8M7mT/7ve9p+3CGJPPJDmuqeIqwUncGtUIC+nfoE8gof8g==","signatures":[{"sig":"MEUCIQD0Sp305plBksnKWcJiPcItonk+Ci5sYHL6UZedxpgCrQIgYJUIg1d28fxSWHcyYcqxq5oMP+4b1lYuRfrVlsSYx1U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19734},"main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"airtrame","email":"airtrame@gmail.com"},"_npmVersion":"10.9.2","description":"The core functionalities of the BrixJS framework. It aims to simplify and standardize API development by offering a solid and reusable foundation for creating web services.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","reflect-metadata":"^0.2.2","express-rate-limit":"^7.5.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/brixjs-core_0.0.1_1748860391188_0.7227663575677963","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@airtrame/brixjs-core","version":"0.0.2","author":{"name":"Airtrame"},"license":"MIT","_id":"@airtrame/brixjs-core@0.0.2","maintainers":[{"name":"airtrame","email":"airtrame@gmail.com"}],"dist":{"shasum":"f9885bbea41a37a42999d0962605eda8ed027946","tarball":"https://registry.npmjs.org/@airtrame/brixjs-core/-/brixjs-core-0.0.2.tgz","fileCount":29,"integrity":"sha512-idRHDNrUyaH7KoixwOuN0LF8elccJRJaWS7LoksmKeJT/DKbqjBSqQR/VzmrltIaDzb0WFlBrgEyt2KvsiLSdA==","signatures":[{"sig":"MEYCIQD4rrX7/IUhbFzlKxfJ9+7K07dKx1cc93BQ10PDuUjhfwIhANSfwT5FPGokRDM/9uzTnvAt2wwSkVoqGcSD2lRY3dA2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23593},"main":"./lib/index.js","types":"./lib/index.d.ts","gitHead":"715d495ee7d56a3b28d88d39d50f23b8c5d24a14","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"airtrame","email":"airtrame@gmail.com"},"_npmVersion":"10.9.2","description":"The core functionalities of the BrixJS framework. It aims to simplify and standardize API development by offering a solid and reusable foundation for creating web services.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","reflect-metadata":"^0.2.2","express-rate-limit":"^7.5.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/brixjs-core_0.0.2_1761987470707_0.8544152433699679","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@airtrame/brixjs-core","version":"0.0.3","author":{"name":"Airtrame"},"license":"MIT","_id":"@airtrame/brixjs-core@0.0.3","maintainers":[{"name":"airtrame","email":"airtrame@gmail.com"}],"dist":{"shasum":"b8bc40b5cfff25534e84799af92bb105c346504c","tarball":"https://registry.npmjs.org/@airtrame/brixjs-core/-/brixjs-core-0.0.3.tgz","fileCount":29,"integrity":"sha512-5blIipbLSG3X56SEla2NV16cBU64Zyv5RT39PhAoYjm9FmFLyGXxKTWIAnMX58oRC5nhMfVX55E/e4598et5Ng==","signatures":[{"sig":"MEUCIQDc2XMc2gc3krdbqfjXhkv6LvofSKv5XjjHr94UqG4vGQIgGPAW7h/LPEXRX22uWQyNySiFc+PrjYElIN7JR4A5VQQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23622},"main":"./lib/index.js","types":"./lib/index.d.ts","gitHead":"cb80f3f4413caea9f0186b6b1be198a590706a28","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"airtrame","email":"airtrame@gmail.com"},"_npmVersion":"10.9.2","description":"The core functionalities of the BrixJS framework. It aims to simplify and standardize API development by offering a solid and reusable foundation for creating web services.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"reflect-metadata":"^0.2.2","express-rate-limit":"^7.5.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3"},"peerDependencies":{"zod":"^3.50.0"},"_npmOperationalInternal":{"tmp":"tmp/brixjs-core_0.0.3_1761987587089_0.17748183319908373","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@airtrame/brixjs-core","version":"0.0.4","description":"The core functionalities of the BrixJS framework. It aims to simplify and standardize API development by offering a solid and reusable foundation for creating web services.","main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"author":{"name":"Airtrame"},"license":"MIT","devDependencies":{"typescript":"^5.8.3"},"dependencies":{"express-rate-limit":"^7.5.0","reflect-metadata":"^0.2.2"},"peerDependencies":{"zod":"^3.20.0"},"_id":"@airtrame/brixjs-core@0.0.4","gitHead":"dd81523cbac630877fd3149001359491df837b2b","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-w42hUWhpvovkPHCvkogOGAFpyVlZoudga5Cs4cOJt1aY4uG2k32iW5zm44N/0Ucot1aZq4oZ2EW0XOXFcEj2QQ==","shasum":"4ab917792fd64c9f0f9d3b3a38aa1bce6bd28ba6","tarball":"https://registry.npmjs.org/@airtrame/brixjs-core/-/brixjs-core-0.0.4.tgz","fileCount":29,"unpackedSize":23622,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC1Xw0df4YAepuH06laJxE9OpgQsWM1ZKDTC8jpcBjRTwIgSqwWhFGIpi/n9Gx/LgeGwRYX9UBz3vAwu0PJTUQRxU8="}]},"_npmUser":{"name":"airtrame","email":"airtrame@gmail.com"},"directories":{},"maintainers":[{"name":"airtrame","email":"airtrame@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/brixjs-core_0.0.4_1761987930408_0.9834410992511005"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-02T10:33:11.075Z","modified":"2025-11-01T09:05:30.808Z","0.0.1":"2025-06-02T10:33:11.357Z","0.0.2":"2025-11-01T08:57:50.905Z","0.0.3":"2025-11-01T08:59:47.284Z","0.0.4":"2025-11-01T09:05:30.614Z"},"author":{"name":"Airtrame"},"license":"MIT","description":"The core functionalities of the BrixJS framework. It aims to simplify and standardize API development by offering a solid and reusable foundation for creating web services.","maintainers":[{"name":"airtrame","email":"airtrame@gmail.com"}],"readme":"# BrixJS Core\r\n\r\n> 🧱 Core package of the [BrixJS](https://github.com/airtrame/brixjs-core) framework – a solid and reusable foundation to build modern APIs with consistency and ease.\r\n\r\nThis repository contains the **source code for the `@airtrame/brixjs-core` npm package**, which provides the **core functionalities of the BrixJS framework**. It is designed to simplify and standardize API development by offering a reliable and modular foundation for building scalable web services.\r\n\r\n---\r\n\r\n## ⚡ What is BrixJS?\r\n\r\nBrixJS is a TypeScript-native framework for building modular and maintainable REST APIs using a **declarative YAML-based actor system**. It promotes conventions, strict typing, and reusable components to streamline backend development.\r\n\r\nWhile the CLI tool is available in a [separate repository](https://github.com/airtrame/brixjs-cli), this package focuses on the **runtime engine** and fundamental logic that powers every BrixJS project.\r\n\r\n---\r\n\r\n## 🚀 Features of the Framework\r\n\r\n### 🏗️ Project Scaffolding\r\n- Quickly initialize a new BrixJS API project with `brix init`.\r\n- Auto-generate routes, actors, services, and more.\r\n\r\n### 🔁 Developer Experience\r\n- Built-in **hot-reload** for local development.\r\n- Streamlined commands for **building** and **running** your API.\r\n- Helpful prompts and validation.\r\n\r\n### 📦 YAML-Driven Logic\r\n- Supports declarative business logic via `*.actor.yaml` files.\r\n- Automatically integrates generated actors into your routes.\r\n\r\n### ✅ Data Safety & Routing\r\n- Full **TypeScript support** with strict type checks.\r\n- Built-in **Zod** validation for request/response schemas.\r\n- Centralized and typed route declarations.\r\n\r\n### 🧩 API Features & Middleware\r\n- Consistent **JSON responses and errors**.\r\n- Versioned API support.\r\n- Middleware system with CORS enabled by default.\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install @airtrame/brixjs-core\r\n```\r\n\r\nTypically used as a core dependency within BrixJS projects scaffolded via the [`brixjs-cli`](https://github.com/airtrame/brixjs-cli).\r\n\r\n---\r\n\r\n## 🤝 Contributing\r\n\r\nWe welcome contributions of all kinds – bug fixes, documentation improvements, new features, and feedback.\r\n\r\nBrixJS is fully open-source and MIT-licensed. Feel free to fork the repo, open issues, or submit pull requests.\r\n\r\n---\r\n\r\n## 🔗 Resources\r\n\r\n* 🧱 Framework core: [BrixJS Core](https://github.com/airtrame/brixjs-core)\r\n* 📦 npm package: [@airtrame/brixjs-core](https://www.npmjs.com/package/@airtrame/brixjs-core)\r\n* 🛠️ CLI tool: [brixjs-cli](https://github.com/airtrame/brixjs-cli)\r\n* 🧑‍💻 Maintained by: [Airtrame](https://airtrame.com)\r\n\r\n---\r\n\r\n## 📄 License\r\n\r\nMIT © [Airtrame](https://airtrame.com)\r\n\r\n\r\n","readmeFilename":"README.md"}