D2L Nest Platform Koa
Description
Installation
$ npm install --save d2l-nest-platform-koa
Usage
Typescript
import { NestFactory } from '@nestjs/core';
import { KoaAdapter, NestKoaApplication } from 'd2l-nest-platform-koa';
import { ApplicationModule } from './app.module';
const app = await NestFactory.create<NestKoaApplication>(
ApplicationModule,
new KoaAdapter(),
);
Javascript
import { NestFactory } from '@nestjs/core';
import { KoaAdapter } from 'd2l-nest-platform-koa';
import { ApplicationModule } from './app.module';
const app = await NestFactory.create(
ApplicationModule,
new KoaAdapter(),
);
Test
# unit tests
$ npm test
# test coverage
$ npm run test:cov
Versioning
d2l-nest-platform-koa is maintained under the Semantic Versioning guidelines.
Contributing
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.