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

raiton

v4.0.0

Published

Modular TypeScript Backend Framework with Dependency Injection, Plugins, Controllers, Middleware and Hot Reloading.

Readme

Protorians Raiton

Version License: MIT

Protorians Raiton est un framework backend moderne et performant, conçu pour construire des microservices TypeScript. Optimisé pour Bun, il offre également un support complet pour Node.js et Deno.

Caractéristiques

  • Optimisé pour Bun : Utilise Bun.serve nativement pour des performances maximales.
  • Multi-Runtime : Compatible avec Bun (recommandé), Node.js et les environnements Web.
  • Architecture Décorative : Utilise les décorateurs TypeScript pour définir contrôleurs, routes et injections.
  • Modulaire : Système de plugins et de middlewares flexible.
  • CLI Puissant : Outils intégrés pour le développement, le build et le déploiement.

Installation

bun add raiton reflect-metadata
# ou
npm install raiton reflect-metadata

Note : Raiton nécessite reflect-metadata pour fonctionner avec les décorateurs. Importez-le au début de votre point d'entrée.

Démarrage Rapide

1. Créez un contrôleur (source/controllers/hello.controller.ts)

import { Controllable, Get, Param } from "raiton/framework";

@Controllable('/hello')
export class HelloController {
    @Get('/')
    index() {
        return { message: "Bonjour de Raiton !" };
    }

    @Get('/:name')
    greet(@Param("name") name?: string) {
        return { message: `Bonjour, ${name} !` };
    }
}

2. Configurez votre application (source/main.ts)

import "reflect-metadata";
import {ThreadInterface} from "raiton/types";
import {Application} from "raiton/core";

export default async function (thread: ThreadInterface) {
    const app = new Application({
        port: 3000,
        prefix: '/api'
    });

    // Enregistrez vos plugins, middlewares et contrôleurs ici
    // ...

    // Lier son application au thread
    return await thread.setup({application: app}).run()
}

Utilisation du CLI

Raiton est livré avec une interface en ligne de commande pour faciliter le développement.

# Lancer en mode développement (avec hot reload)
bun raiton develop

# Builder le projet
bun raiton build

# Démarrer le projet buildé
bun raiton start

🛠 Runtimes supportés

Raiton détecte automatiquement l'environnement d'exécution et adapte son serveur :

  • Bun : Utilisation de Bun.serve.
  • Node.js : Adaptateur pour serveurs HTTP Node.
  • Web : Compatible avec les environnements basés sur les standards Web (Fetch API).

📄 Licence

Ce projet est sous licence MIT. Voir le fichier LICENSE pour plus de détails.


Développé avec ❤️ par Y. Yannick GOBOU