๐ก See CONFIGURE_TEMPLATE.md to configure this template. Then, remove the file and this advise.
Minimal library description.
Contributing
ยท
License
An exhaustive description of the library.
๐ Using Nest CLI:
nest add nestjs-library-starter
๐ฆ Using Package Manager:
npm install --save nestjs-library-starter
Explain your library setup.
import { Module } from '@nestjs/common';
import { LibraryNameModule, LibraryNameConfig } from 'nestjs-library-starter';
const CONFIG: LibraryNameConfig = {
value: 'Awesome!'
}
@Module({
imports: [
...
LibraryNameModule.register(CONFIG)
],
controllers: [ ... ],
providers: [ ... ],
})
export class AppModule {}
Value | Type | Default | Description |
---|---|---|---|
value | string | <DEFAULT> |
A powerful value |
Explain your library usage.
A service with an awesome & helpul functionallity.
Method | Signature | Description |
---|---|---|
printConfig | config: LibraryNameConfig |
Prints a provided configuration |
Invoke Schematics using:
nest g <schematic> [params] --collection nestjs-library-starter
Prints a cute cat.
Parameter | Type | Default | Description |
---|---|---|---|
catType | string | Default | Type of cat to print. |