Nestjs-tile38: Tile38 Module for Nest Framework



Tile38 module for Nest. This package is based on Tile38-ts, so visit its documentation for any questions about the API.


$ npm i --save nestjs-tile38 @tiermobility/tile38-ts

Quick Start

First, import the Tile38Module into your root module:

import { Module } from '@nestjs/common';
import { Tile38Module } from 'nestjs-tile38';

  imports: [
      url: 'redis://localhost:9851',
export class AppModule {}

Second, inject the Tile38 client into any of your injectables by using the InjectTile38 decorator:

import { Injectable } from '@nestjs/common';
import { InjectTile38 } from 'nestjs-tile38';
import { Tile38 } from '@tiermobility/tile38-ts';

export class AppService {
  public constructor(@InjectTile38() private readonly tile38: Tile38) {}


Download Details:

Author: Hyperloris
Source Code: 
License: MIT license

#nest #nestjs #nodejs #javascript #typescript #database 

Nestjs-tile38: Tile38 Module for Nest Framework
1.40 GEEK