New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@betsys-nestjs/build-info

Package Overview
Dependencies
Maintainers
9
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betsys-nestjs/build-info

Built info standard endpoint implementation

  • 4.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-12.5%
Maintainers
9
Weekly downloads
 
Created
Source

Build Info Libs

Library for that adds standardized endpoint that shows build information.

Environment variables

This library consumes the following environment variables (these should be "baked" into the application docker image):

Variable nameDescription
BUILD_ID=devThe build ID, usually docker image tag
PIPELINE=devThe pipeline ID, usually CI_PIPELINE_ID value
GIT_TAG=devThe git tag, usually CI_COMMIT_TAG value
TIMESTAMP=0The timestamp, usually unix timestamp when the build started

Dependencies

PackageVersion
@hapi/joi^17.0.0
@nestjs/common^10.0.0
@nestjs/config^3.0.0
@nestjs/core^10.0.0
@nestjs/platform-express^10.0.0
@nestjs/swagger^7.0.0
reflect-metadata<1.0.0
rxjs^7.0.0

Usage

Just import BuildInfoModule to your AppModule

import { Module } from '@nestjs/common';
import { BuildInfoModule } from './build-info.module';

@Module({
    imports: [BuildInfoModule.forRoot({
        buildId: '15',
        timestamp: 547811515,
        pipeline: 'ac8329af',
        gitTag: '1.1',
    })]
})
class AppModule {}

FAQs

Package last updated on 09 Oct 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc