
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
@concepta/nestjs-otp
Advanced tools
A module for managing a basic Otp entity, including controller with full CRUD, DTOs, sample data factory and seeder.
yarn add @concepta/nestjs-otp
import { Module } from '@nestjs/common';
import { TypeOrmExtModule } from '@concepta/nestjs-typeorm-ext';
import { OtpModule } from '@concepta/nestjs-user';
import { CrudModule } from '@concepta/nestjs-crud';
@Module({
imports: [
TypeOrmExtModule.forRoot({
type: 'postgres',
url: 'postgres://user:pass@localhost:5432/postgres',
}),
CrudModule.forRoot({}),
OtpModule.forRootAsync({
imports: [
TypeOrmExtModule.forFeature({
otp: {
entity: YourOtpEntity,
},
}),
],
useFactory: () => ({}),
entities: ['otp'],
}),
],
})
export class AppModule {}
Configurations specific to (optional) database seeding.
Configurations available via environment.
Variable | Type | Default | |
---|---|---|---|
ORG_MODULE_SEEDER_AMOUNT | <number> | 50 | number of additional users to create |
FAQs
Rockets NestJS User
The npm package @concepta/nestjs-otp receives a total of 100 weekly downloads. As such, @concepta/nestjs-otp popularity was classified as not popular.
We found that @concepta/nestjs-otp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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 now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.