Skip to content

loadPackage

reference
1 min readUpdated

Kind: Function

Source: packages/common/utils/load-package.util.ts

Part of: Common

Signature

ts
function loadPackage(packageName: string, context: string, loaderFn: Function)

Parameters

NameType
packageNamestring
contextstring
loaderFnFunction

Used by

16 references from 16 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (16)

  • routepackages/microservices/server/server.ts:168
  • NestApplicationpackages/core/nest-application.ts:54
  • IEntryNestModulepackages/core/nest-factory.ts:39
  • ClientGrpcProxypackages/microservices/client/client-grpc.ts:31
  • ClientKafkapackages/microservices/client/client-kafka.ts:58
  • ClientMqttpackages/microservices/client/client-mqtt.ts:28
  • ClientNatspackages/microservices/client/client-nats.ts:29
  • ClientRedispackages/microservices/client/client-redis.ts:28

…and 8 more.

Was this page helpful?

Download as PDF
loadPackage — NestJS head-to-head