Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
nestjs-hot-shots
Advanced tools
Hot-shots Module for Nest.js Framework. A Node.js client for Etsy's StatsD server, Datadog's DogStatsD server, and InfluxDB's Telegraf StatsD server.
Feature
For questions and support please use the Issues.
$ npm i nestjs-hot-shots
$ yarn add nestjs-hot-shots
$ pnpm add nestjs-hot-shots
Once the installation process is complete, we can import the HotShotsModule
into the root AppModule
:
import { Module } from '@nestjs/common'
import { HotShotsModule } from 'nestjs-hot-shots';
@Module({
imports: [
HotShotsModule.forRoot({
port: 8020,
globalTags: { env: process.env.NODE_ENV }
})
]
})
export class AppModule {}
Then inject HotShotsService
for use hot-shots
:
import { Injectable } from '@nestjs/common';
import { HotShotsService } from 'nestjs-hot-shots';
@Injectable()
export class AppMetrics {
public constructor(private readonly metrics: HotShotsService) {
}
public metricStuff() {
this.metrics.increment('somecounter');
}
}
See the hot-shots module for more details.
FAQs
Hot-shots Module for Nest.js Framework
We found that nestjs-hot-shots demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.