npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nestelia

v1.7.1

Published

Modular framework with decorators, dependency injection, modules and lifecycle hooks for Elysia

Readme

nestelia

Modular framework with decorators, dependency injection, modules, and lifecycle hooks for Elysia.

npm version npm downloads GitHub stars License: MIT Status

Documentation · npm · GitHub


Features

  • Decorators@Controller, @Get, @Post, @Body, @Param, and more
  • Dependency Injection — constructor-based DI with singleton, transient, and request scopes
  • Modules — encapsulate controllers, providers, and imports
  • Lifecycle HooksOnModuleInit, OnApplicationBootstrap, OnModuleDestroy
  • Guards, Interceptors, Pipes — request pipeline extensibility
  • Middleware — class-based and functional
  • Exception Handling — built-in HTTP exceptions and custom filters
  • Swagger — automatic OpenAPI documentation from decorators

Installation

Requires Elysia as a peer dependency.

bun add nestelia elysia

Quick Start

import "reflect-metadata";
import { Controller, Get, Injectable, Module, createElysiaApplication } from "nestelia";

@Injectable()
class GreetingService {
  greet(name: string) {
    return `Hello, ${name}!`;
  }
}

@Controller("/")
class AppController {
  constructor(private readonly greeting: GreetingService) {}

  @Get("/hello/:name")
  hello(@Param("name") name: string) {
    return this.greeting.greet(name);
  }
}

@Module({
  controllers: [AppController],
  providers: [GreetingService],
})
class AppModule {}

const app = await createElysiaApplication(AppModule);
app.listen(3000, () => console.log("Listening on http://localhost:3000"));

Packages

All subpath exports are part of the single nestelia package.

| Import path | Description | |-------------|-------------| | nestelia/scheduler | Cron jobs, intervals, and timeouts | | nestelia/microservices | Redis, RabbitMQ, TCP transports | | nestelia/apollo | Apollo GraphQL code-first | | nestelia/passport | Passport.js authentication | | nestelia/testing | Isolated test modules with provider overrides | | nestelia/cache | Response caching with decorators | | nestelia/rabbitmq | Advanced RabbitMQ messaging | | nestelia/graphql-pubsub | Redis PubSub for GraphQL subscriptions |

Documentation

Full documentation is available at nestelia.dev (powered by VitePress).

To run docs locally:

bun run docs:dev

Claude Code Skill

A Claude Code skill is available for nestelia. It provides scaffolding templates, decorator usage, and best practices directly in your AI assistant.

npx skills add nestelia/nestelia

Once installed, Claude Code will automatically use the correct patterns when working with nestelia.

License

MIT © Islam Kiiasov