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

zeny-nestjs-packages

v1.0.5

Published

Zeny NestJS packages

Downloads

8

Readme

nestjs-libs

Reusable NestJS building blocks that wrap common infrastructure concerns used across Zeny services. The package exposes cache, database, encryption, file handling, mail delivery, OTP, push notification, queues, throttling, and other utilities through @nestjs-friendly modules and helpers.

Installation

npm install nestjs-libs

The package ships precompiled JavaScript in dist/ plus TypeScript declarations, so it can be consumed from either JavaScript or TypeScript projects.

Quick start

import { CacheModule } from '@nestjs/cache-manager';
import { CacheService, DatabaseModule } from 'nestjs-libs';

@Module({
  imports: [
    CacheModule.register(),
    DatabaseModule.register({
      dialect: 'postgres',
      database: process.env.DB_NAME,
      host: process.env.DB_HOST,
      username: process.env.DB_USER,
      password: process.env.DB_PASS,
    }),
  ],
  providers: [CacheService],
})
export class AppModule {}

Modules are designed to plug into an existing NestJS application with minimal configuration. Refer to the exports in src/index.ts for additional services and helpers that can be imported directly.

Provided features

  • Cache – Redis-backed cache module and service helpers under drivers/cache.
  • Database – Sequelize-based database integration (helpers, repositories, entities) under drivers/database.
  • Encryption – JWT utilities, password hashing, and Snap signature helpers in drivers/encryption.
  • File management – S3/MinIO drivers, CSV and Excel helpers, and abstractions under drivers/files.
  • Mail – Configurable mail module, processor, and service in drivers/mail.
  • OTP & Security – OTP drivers (email, Fazpass), throttling support, reCAPTCHA helpers, and TOTP utilities.
  • Queues & Notifications – Bull queue helpers and push notification contracts/services.
  • Common utilities – Data transfer objects, interceptors, pipes, exceptions, and helper functions for date/time, randomization, validation, and more.

Each folder under src/ exposes TypeScript types and services that can be imported individually if you prefer not to load entire modules.

Scripts

  • npm run build – Compile the TypeScript sources via tsc into the dist/ directory.
  • npm run test – Execute the Jest test suite.

Contributing

  1. Install dependencies with npm install.
  2. Run npm run build to compile or npm run test to execute tests.
  3. Open a pull request describing the changes and the affected modules.

License

ISC © zeny-team