d2l-nest-platform-koa
TypeScript icon, indicating that this package has built-in type declarations

0.2.43 • Public • Published

D2L Nest Platform Koa

CI

Description

Koa adapter for Nest.

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.43
    0
    • latest

Version History

Package Sidebar

Install

npm i d2l-nest-platform-koa

Weekly Downloads

6

Version

0.2.43

License

Apache-2.0

Unpacked Size

28 kB

Total Files

10

Last publish

Collaborators

  • d2l-travis-deploy