Skip to content

Commit

Permalink
docs(README): add a word about global registration
Browse files Browse the repository at this point in the history
  • Loading branch information
nhedger committed Aug 24, 2023
1 parent 1a6aea5 commit f3dc274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ pnpm add @hedger/nestjs-encryption
## Setup

Setting up the module inside your NestJS application is a matter of registering
the module within your `AppModule`.
the module within your `AppModule`. The module is registered globally by default
and can be used anywhere in your application.

You may use either the `register` or `registerAsync` method to register the module in your `AppModule`.

Expand Down

0 comments on commit f3dc274

Please sign in to comment.