open-index/open-npm huggingface dataset:
npm package: @nariajs/core
Description: NariaJS Core - DI, Decorators, and Lifecycle
Latest version: 0.1.2

# @nariajs/core

Core module for NariaJS framework. It provides the Dependency Injection system, Decorators, and Lifecycle management.

## Installation

```bash
npm install @nariajs/core reflect-metadata
```

## Features

- **Dependency Injection**: Powerful constructor-based DI container.
- **Decorators**: `@Module`, `@Controller`, `@Injectable`, and HTTP method decorators (`@Get`, `@Post`, etc.).
- **Lifecycle Hooks**: `onModuleInit`, `onApplicationBootstrap`, etc.
- **Factory**: `NariaFactory` for application instantiation.

## Usage

```typescript
import { Module, NariaFactory } from "@nariajs/core";

@Module({})
class AppModule {}

async function bootstrap() {
  const app = await NariaFactory.create(AppModule, adapter);
  await app.listen(3000);
}
```
npm package: @nariajs/microservices
Description: Microservices support for NariaJS
Latest version: 0.1.2

# @nariajs/microservices

Microservices module for NariaJS framework. Support for distributed systems using various transport layers.

## Installation

```bash
npm install @nariajs/microservices
```

## Supported Transports

- **TCP** (Built-in)
- **Redis** (via `ioredis`)
- **Kafka** (via `kafkajs`)
- **RabbitMQ** (via `amqplib`)

## Usage

```typescript
import { Transport } from "@nariajs/microservices";

app.connectMicroservices([
  {
    transport: Transport.TCP,
    options: { port: 3001 },
  },
]);

await app.startAllMicroservices();
```
npm package: @nariajs/platform-fastify
Description: Fastify adapter for NariaJS
Latest version: 0.1.2

# @nariajs/platform-fastify

Fastify adapter for NariaJS. This package allows you to use Fastify as the underlying HTTP engine for your NariaJS applications.

## Installation

```bash
npm install @nariajs/platform-fastify fastify
```

## Usage

```typescript
import { NariaFactory } from "@nariajs/core";
import { FastifyAdapter } from "@nariajs/platform-fastify";
import { AppModule } from "./app.module";

async function bootstrap() {
  const app = await NariaFactory.create(AppModule, new FastifyAdapter());
  await app.listen(3000);
}
```