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

@ready.io/server

v0.4.2

Published

Ready.io Server Javascript Framework

Readme

Ready.io

Framework for agile development

Motivation

For some time I have had the idea of start this project mainly because I can and have the time to do it, but also because I have felt led to it. In my day to day as a web developer, I want to have a solid and general structure in all my projects, follow well-defined patterns and best practices, and have a base that has everything I need to can focus only on the applications logic forgetting all the trivial. Ready.io will be made for help with this, and I hope it also can help anyone else.

Disclaimer

The framework is in early phases, and as I have a lot of ideas and things to learn I am not sure what to implement first and I could decide to change anything from a version to another, all can be very unstable for now.

Install

npm i @ready.io/server

Links

Getting started

The three main components of an app made with ready.io are Modules, Services and Controllers.

  • Modules: serve to group Services, Controllers and also other Modules (called sub-modules).
  • Services: are all the units that potentially can perform any kind of action, process or logic.
  • Controllers: serve as the middle-ware for all communications between the app and anything outside.

By the Services definition you can note that Controllers and Modules are also a kind of Services, as them both have some logic.

Hands on the code

Lets create a hello world app, first setup your workspace (or just clone app.js ): create a folder, install ready.io, and configure typescript (see tsconfig.json). When you are done, add the next files:

src/hello.ts

import HelloModule from './hello.module';

const hello = new HelloModule();
hello.init();

src/hello.module.ts

import {Module} from "@ready.io/server";
import {HttpService} from "@ready.io/server";
import HelloController from "./hello.controller";

export default class HelloModule extends Module
{
  declare()
  {
    return [
      HttpService.config(options =>
      {
        options.port = 3000;
      }),
      HelloController,
    ];
  }
}

src/controller.ts

import {Controller, Inject, Route} from "@ready.io/server";

@Inject()
export default class HelloController extends Controller
{
  @Route('/hello')
  hello()
  {
    return 'Hello world from Ready.io!';
  }
}

The hello.ts is the entry of the app, as you can see it creates a HelloModule an initialize it, the module declares that is composed of a HttpService running on port 3000 and a HelloController, the controller has a handler for the route /hello.

So, when you start the app, an HTTP server will be up on the port 3000, you can open the URL http://localhost:3000/hello in the browser and see the message "Hello world from Ready.io!" that is returned by the HelloController route handler.

As simple as it

Each controller expects a HttpService to work with the @Route decorator to set the handlers, the module has a provider service that auto inject the dependencies like this, so you don't have to care about that.

Check the documentation and the examples to learn more and see all can be done with ready.io!

License

Copyright © 2020-present Santiago, licensed under the MIT License.