diffhtml-middleware-logger

1.0.0-beta.30 • Public • Published

<±/> diffHTML Logger Middleware

Stable Version: 1.0.0-beta.30

Use with diffHTML to console.log out render transaction operations. This will nest sub-component renders if they happen during a parent render.

middleware

Installation
npm install diffhtml-middleware-logger
Example
import { use } from 'diffhtml';
import logger from 'diffhtml-middleware-logger';

use(logger());

This is not a very performant middleware, so please do not use this in production where performance is critical. Use in development.

Package Sidebar

Install

npm i diffhtml-middleware-logger

Weekly Downloads

0

Version

1.0.0-beta.30

License

MIT

Unpacked Size

124 kB

Total Files

13

Last publish

Collaborators

  • tbranyen