@hot-hook/dump-viewer

0.4.0 • Public • Published

Dump Viewer

The dump viewer is a small frontend app built with Vis.js that lets you view Hot Hook's dependency graph. This lets you quickly see which files are hot reloadable and which aren't, and why.

image

To use it, first make sure to install it :

npm install @hot-hook/dump-viewer

Then you can add it to your application as follows:

router.get('/dump-viewer', async (request, reply) => {
  const { dumpViewer } = await import('@hot-hook/dump-viewer')

  reply.header('Content-Type', 'text/html; charset=utf-8')
  return dumpViewer()
})

then access your dev server at /dump-viewer.

Dependencies (5)

Dev Dependencies (6)

Package Sidebar

Install

npm i @hot-hook/dump-viewer

Weekly Downloads

4

Version

0.4.0

License

MIT

Unpacked Size

572 kB

Total Files

7

Last publish

Collaborators

  • julien-r44