unjs / consola

🐨 Elegant Console Logger for Node.js and Browser
Other
6.12k stars 175 forks source link

feat: `consola/utils` subpath export #199

Closed pi0 closed 1 year ago

pi0 commented 1 year ago

With new /utils subpath we can reexport usable utilities from consola for external usage leveraging single dependency of consola.

codecov[bot] commented 1 year ago

Codecov Report

Merging #199 (e68804b) into main (45ed7f1) will not change coverage. The diff coverage is 75.00%.

@@           Coverage Diff           @@
##             main     #199   +/-   ##
=======================================
  Coverage   59.98%   59.98%           
=======================================
  Files          11       11           
  Lines        1222     1222           
  Branches       50       50           
=======================================
  Hits          733      733           
  Misses        489      489           
Impacted Files Coverage Ξ”
src/shared.ts 100.00% <ΓΈ> (ΓΈ)
src/utils/log.ts 45.45% <ΓΈ> (ΓΈ)
src/utils/string.ts 21.87% <50.00%> (ΓΈ)
src/consola.ts 63.13% <100.00%> (ΓΈ)
src/index.ts 85.71% <100.00%> (ΓΈ)