@hot-hook/dump-viewer

0.3.6 • 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.

Readme

Keywords

Package Sidebar

Install

npm i @hot-hook/dump-viewer

Weekly Downloads

15

Version

0.3.6

License

MIT

Unpacked Size

573 kB

Total Files

7

Last publish

Collaborators

  • julien-r44