nestjs-pg-pubsub:用于NestJS的Postgres PubSub模块

时间:2021-05-17 00:17:41
【文件属性】:
文件名称:nestjs-pg-pubsub:用于NestJS的Postgres PubSub模块
文件大小:124KB
文件格式:ZIP
更新时间:2021-05-17 00:17:41
TypeScript PG PubSub for NestJS 一个简单的模块,包装 。 安装 # yarn $ yarn add -D nestjs-pg-pubsub # npm $ npm i --save nestjs-pg-pubsub 用法 首先,为您的应用程序注册模块(例如app.module.ts ) @ Module ( { imports : [ PgPubSubModule . register ( { host : '0.0.0.0' , port : 5433 , user : 'root' , password : 'root' , database : 'test' , } ) , ] , providers : [ AppGateway , AppService ] , contro
【文件预览】:
nestjs-pg-pubsub-master
----tsconfig.build.json(118B)
----index.ts(24B)
----.eslintrc.js(708B)
----.circleci()
--------config.yml(2KB)
----lib()
--------interfaces.ts(778B)
--------pg-pubsub-connection.provider.ts(384B)
--------pg-pubsub.module.ts(590B)
--------pg-pubsub.decorators.ts(198B)
--------constants.ts(134B)
--------index.ts(143B)
--------pg-pubsub-core.module.ts(2KB)
--------pg-pubsub.service.ts(669B)
--------pg-pubsub.providers.ts(1KB)
----.npmignore(233B)
----tsconfig.json(419B)
----LICENSE(1KB)
----.prettierrc(79B)
----README.md(3KB)
----index.d.ts(24B)
----.commitlintrc.json(466B)
----.release-it.json(110B)
----renovate.json(157B)
----docker-compose.yml(209B)
----tests()
--------src()
--------e2e()
----jest.config.json(244B)
----.gitignore(159B)
----index.js(167B)
----.eslintignore(25B)
----package-lock.json(491KB)
----package.json(2KB)

网友评论