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

3.20.10 • 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

900

Version

3.20.10

License

MIT

Unpacked Size

26.4 kB

Total Files

18

Last publish

Collaborators

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