@nest-mods/youzan
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

youzan

npm version

Youzan API client wrapped with bull for nest.js

install via npm npm i @nest-mods/youzan @nest-mods/log ioredis lodash bull

2.x target at nestjs 6.x

    @Module({
      imports: [
        YouzanModule.forRootAsync({
          useFactory: () => {
            return {
              apiConfigs: {
                client_id: process.env.TEST_YOUZAN_CLIENT_ID,
                client_secret: process.env.TEST_YOUZAN_CLIENT_SECRET,
                kdt_id: process.env.TEST_YOUZAN_KDT_ID,
                grant_type: 'silent',
              },
              redis: {},
            };
          },
        }),
      ],
    })
    export class DemoApp {}

Readme

Keywords

none

Package Sidebar

Install

npm i @nest-mods/youzan

Weekly Downloads

31

Version

3.0.0

License

MIT

Unpacked Size

5.92 MB

Total Files

1041

Last publish

Collaborators