UNPKG

node-lens

Version:

Lens is a lightweight developer tool for Node.js apps that lets you log, view, and debug requests and other activity in real time — inspired by Laravel Telescope.

2 lines (1 loc) 408 B
import{h as l,a as u,b as m,E as p,c as _,d as h,e as v,s as b,f as E,p as g}from"./DI-DuHX6.js";function y(s,d,i){l&&u();var r=s,a,n,e=null,f=null;function t(){n&&(g(n),n=null),e&&(e.lastChild.remove(),r.before(e),e=null),n=f,f=null}m(()=>{if(a!==(a=d())){var c=b();if(a){var o=r;c&&(e=document.createDocumentFragment(),e.append(o=_())),f=h(()=>i(o,a))}c?v.add_callback(t):t()}},p),l&&(r=E)}export{y as c};