Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including devtext with all npm packages installed. Try it out:

var devtext = require("devtext")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

devtext v1.0.6

A small tool for beautifying dev texts (stack traces, log outputs, JSONs)

Node.js CI NPM version NPM downloads GitHub issues


A small tool for beautifying dev texts (stack traces, log outputs, JSONs, URLs).

Prettify your emails/Jira defects with formatted stack traces, JSONs and URLs.

  • Stack traces
  • URL encoded strings
  • Unformatted JSONs


npx devtext -h 'com.framework.FrameworkException: Error in web request\n\tat com.framework.ApplicationStarter.lambda$start$0(\n\tat spark.RouteImpl$1.handle(\n\tat spark.http.matching.Routes.execute(\n\tat spark.http.matching.MatcherFilter.doFilter(\n\tat spark.embeddedserver.jetty.JettyHandler.doHandle(\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(\n\tat org.eclipse.jetty.server.Server.handle(\n\tat org.eclipse.jetty.server.HttpChannel.handle(\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(\n\tat$ReadCallback.succeeded(\n\tat\n\tat$\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$\n\tat java.base/\nCaused by: com.project.module.MyProjectFooBarException: The number of FooBars cannot be zero\n\tat com.project.module.MyProject.anotherMethod(\n\tat com.project.module.MyProject.someMethod(\n\tat com.framework.ApplicationStarter.lambda$start$0(\n\t... 16 more\nCaused by: java.lang.ArithmeticException: The denominator must not be zero\n\tat org.apache.commons.lang3.math.Fraction.getFraction(\n\tat com.project.module.MyProject.anotherMethod(\n\t... 18 more'

Would produce:

Screen Shot 2020-02-04 at 22 58 32


-h  highlight strings relevant to devs (such as 'caused by')



npm install devtext -g

Local project

npm install devtext

And then:

let devText = require('devtext');




RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free