nestjs-douyin
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

NESTJS DOUYIN

基于 Nestjs 封装的抖音小程序 API,持续完善中。

使用

导入模块:

import { DouyinAppModule } from 'nestjs-douyin'

@Module({
  imports: [
    DouyinAppModule.forRoot({ appid: '', secret: '' })
  ]
})

使用:

import { DouyinAppService } from 'nestjs-douyin'

@Injectable()
export class UserService {
  constructor(private readonly douyinAppService: DouyinAppService) {}
}

当成工具类使用:

import { DouyinAppService } from 'nestjs-douyin'

const douyinApp = new DouyinAppService({ appid: '', secret: '' })

使用文档

License

MIT

/nestjs-douyin/

    Package Sidebar

    Install

    npm i nestjs-douyin

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    12.4 kB

    Total Files

    15

    Last publish

    Collaborators

    • wytxer