Virk
iamvirk.bsky.social
Virk
@iamvirk.bsky.social
Creator of AdonisJS
Just tagged a new release of Japa (a tests runner for Node.js). It includes:

- Bail mode to early exit the tests runner in case of an error.
- Github reporter to report errors as Github annotations.

japa.dev/docs/introdu...
January 16, 2025 at 8:24 AM
Alright. Just added support for ANSI output in Youch. You can also pretty print errors on the terminal 🤘
November 23, 2024 at 3:30 AM
Pushed an example to the README that showcases how to use shiki for code highlighting with Youch.

Here's an excerpt for the same. But do check the README for complete example:

github.com/poppinss/you...
November 17, 2024 at 10:30 AM
Tagged the first beta release of Youch and tried it with AdonisJS

Youch is an error parsing library to pretty print JavaScript errors on a web-page and the terminal

Give it a try if you are a framework author/user and want to properly view errors during development

Repo: github.com/poppinss/youch
November 17, 2024 at 1:30 AM
Newer version of Youch will have a `Pretty | Raw` toggle.

In the raw mode, you will be able to inspect all the Error properties (not just the stack).

This could be helpful for Errors thrown by HTTP clients that usually contains a lot more information within the Error object.
November 14, 2024 at 1:41 PM
Btw, we have got this toggle for the stack trace to be a pretty list with the source code snippet.

Or the raw output. The raw output can be great to view additional properties on the Error, other than the stack.
November 13, 2024 at 11:27 AM
Dark mode. Done 💅
November 13, 2024 at 11:26 AM
All done with the main tasks.

Now have to do some polishing, write docs, and publish a new release.
November 12, 2024 at 6:28 AM
Still a long way to go, but here's how the rewrite of Youch looks like.

PS: Youch is a Node.js library to pretty print errors in the browser and the terminal.
November 2, 2024 at 8:39 AM