UNPKG

@ntegral/nestjs-lulu

Version:

Provides an injectable lulu api client to provide features to the Lulu API

9 lines (8 loc) 269 B
import { LuluConfigOptions } from "@ntegral/lulu"; import { LULU_TOKEN, createLuluClient } from "../common"; export function createLuluProviders(options: LuluConfigOptions) { return { provide: LULU_TOKEN, useValue: createLuluClient(options) } }