@midwayjs/info
TypeScript icon, indicating that this package has built-in type declarations

3.16.2 • Public • Published

Midway Information Component

Show your project info in router or other way, like phpInfo.

info

Usage

import info component in configuration.ts file

import * as info from '@midwayjs/info';
import { join } from 'path';

@Configuration({
  imports: [
    info,
  ],
  importConfigs: [
    join(__dirname, './config')
  ]
})
export class ContainerConfiguration {
}

Your can curl /_info to show it.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @midwayjs/info

Weekly Downloads

1,296

Version

3.16.2

License

MIT

Unpacked Size

24.5 kB

Total Files

18

Last publish

Collaborators

  • mariodu
  • czy88840616
  • legendecas
  • echosoar
  • lellansin
  • lxxyx
  • stone-jin