JSPM

  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q43170F
  • License MIT

Package Exports

  • diffhtml-middleware-logger

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (diffhtml-middleware-logger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

diffHTML Middleware Logger

Stable Version: 1.0.0-beta.1

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';

diff.use(logger());

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