JSPM

@nestdevx/user

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q35116F
  • License MIT

User module for multi-tenant NestJS applications.

Package Exports

  • @nestdevx/user
  • @nestdevx/user/dist/user/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nestdevx/user) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@nestdevx/user

User module for multi-tenant NestJS applications. Handles user management

Features

  • Multi-tenant user management
  • Registration, assign-roles etc..
  • Integration with @nestdevx/auth and @nestdevx/role
  • DTOs, entities, and services for user operations

Installation

npm install @nestdevx/user
# or
yarn add @nestdevx/user
# or
pnpm add @nestdevx/user

Usage

1. Import the Module

import { UserModule } from '@nestdevx/user';

@Module({
  imports: [UserModule.register()],
})
export class AppModule {}

2. Use the UserService

import { UserService } from '@nestdevx/user';

@Injectable()
export class SomeService {
  constructor(private readonly userService: UserService) {}

  async createUser(data: CreateUserDto) {
    return this.userService.create(data);
  }
}

License

MIT