
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@godigit/nestjs-master-lib
Advanced tools
npm install --save @godigit/nestjs-master-lib
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
import {MasterLibService} from "@godigit/nestjs-master-lib/dist/master-lib/master-lib.service";
import {MasterLibConfig} from "@godigit/nestjs-master-lib/dist/master-lib/interface/master-lib-config.interface";
import * as path from "path";
import {ConfigService} from "./services/config/config.service";
@Controller()
export class AppController {
//import master-lib service 'private masterLib: MasterLibService'
constructor(private readonly appService: AppService, private masterLib: MasterLibService, private config : ConfigService) {
//setting master-lib config using MasterLibConfig interface
const configApiPath = path.join(__dirname,"configs","api-config")
const configFormPath = path.join(__dirname,"configs","form-config")
const masterLibConfig: MasterLibConfig = {
config: config,
formPathConfig: configFormPath,
apiPathConfig: configApiPath
}
this.masterLib.setConfig(masterLibConfig)
}
@Get()
getHello(): string {
return this.appService.getHello();
}
}
See Changelog for more information.
Contributions welcome! See Contributing.
Godigit Public Library (Y Prospect on Discord)
Licensed under the MIT License - see the LICENSE file for details.
FAQs
nest master lib
We found that @godigit/nestjs-master-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.