UNPKG

@nent/core

Version:

Functional elements to add routing, data-binding, dynamic HTML, declarative actions, audio, video, and so much more. Supercharge static HTML files into web apps without script or builds.

4 lines 1.1 kB
/*! * NENT 2022 */ const o="%cnent%c ",n={log:["color: white; background:#7566A0;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px","color: inherit; background:none;font-weight:normal"],debug:["color: white; background:#44883E;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px","color: inherit; background:none;font-weight:normal"],warn:["color: white; background:#ffc409;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px","color: inherit; background:none;font-weight:normal;color:#FDD757;"],error:["color: white; background:#eb445a;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px","color: inherit; background:none;font-weight:normal;color:red;"]};function r(r){console.log(o+r,...n.log)}function e(r){console.debug(o+r,...n.debug)}function i(r){console.warn(o+r,...n.warn)}function t(o){console.table(o)}function c(o){console.dir(o)}function a(r,e){console.error(o+r,...n.error,e)}function d(o,n){o&&i(n)}function l(o,n){o&&r(n)}function f(o,n){o&&e(n)}export{c as a,d as b,l as c,e as d,a as e,f,r as l,t,i as w}