{"library":"pitaya-framework","title":"Pitaya Framework","description":"An Aurelia-based plugin framework for building modular web applications with TypeScript support. Currently at version 0.0.44, with low release cadence. It is bootstrapped with aurelia-cli and provides custom elements, attributes, value converters, and binding behaviors. Unlike full Aurelia applications, this package focuses on reusable resources that can be imported into any Aurelia project. It uses PLATFORM.moduleName() for compatibility with webpack, CLI bundler, and jspm. The package does not bundle core Aurelia dependencies, relying on the host app to provide them, which reduces duplication risk. TypeScript types are included.","language":"javascript","status":"active","last_verified":"Sat May 09","install":{"commands":["npm install pitaya-framework"],"cli":null},"imports":["import { PLATFORM } from 'aurelia-pal';","import { autoinject } from 'aurelia-framework';","import { MyService } from 'resources';","config.globalResources([PLATFORM.moduleName('./path/to/resource')]);","import { configure } from 'pitaya-framework';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// In your Aurelia app's main.ts (or main.js)\nimport { PLATFORM } from 'aurelia-pal';\nimport { configure } from 'pitaya-framework';\n\nexport function configure(aurelia) {\n  aurelia.use\n    .standardConfiguration()\n    .feature(PLATFORM.moduleName('pitaya-framework/index'));\n\n  aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app')));\n}\n","lang":"typescript","description":"Shows how to register pitaya-framework as a feature using PLATFORM.moduleName() and the configure function.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}