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

@golemio/core

v4.0.0

Published

Golemio Core Module

Downloads

12,058

Readme

This module is intended for use with Golemio services.

Prerequisites

  • node.js (https://nodejs.org)
  • RabbitMQ (https://www.rabbitmq.com/)
  • Postgres (https://www.postgresql.org/)
  • Redis (https://redis.io/)
  • TypeScript (https://www.typescriptlang.org/)
  • Golemio Schema Definitions

Installation

Install all prerequisites

Install all dependencies using command:

npm install

from the application's root directory.

Compilation of typescript code

To compile typescript code into js one-time

npm run build

or run this, to watch all changes

npm run build-watch

from the application's root directory.

Usage

In your project's package.json set dependency to @golemio/core

npm install --save @golemio/core

Then import module, e.g.

import * as core from "@golemio/core";

Local development

For the local development use the npx link to link the @golemio/core with other service e.g. @golemio/integration-engine or module e.g. @golemio/pid.

At the @golemio/core root directory:

npm run build-watch

At the @golemio/pid root directory:

npx link /path/to/golemio/modules/core
npm run build-watch

At the @golemio/integration-engine root directory:

npx link /path/to/golemio/modules/core
npx link /path/to/golemio/modules/pid
npm run dev-start

Now you can change code and immediately see the results.

Tests

To run all test defined in /test directory simply run this command:

npm run test

from the application's root directory. All tests should pass.

Rabbit MQ

Core module defines main exchange in rabbit mq and its name is dependent on .env setting. Also it contains definition of queue for dead messages. All other queues are defined in separate modules and loaded dynamically by QueueProcessor.ts.

Core module also defines alternate exchange for messages that are unroutable. Name of the exchage is created from name of the main one with suffix -alt and it contains 1 queue named alt-routes.

Contribution guidelines

Please read CONTRIBUTING.md.

Troubleshooting

Contact [email protected]