Skip to content

Releases: poppinss/dumper

Add console formatter

27 Aug 11:28
Compare
Choose a tag to compare
Add console formatter Pre-release
Pre-release

You can use the console formatter as follows.

import { dump } from '@poppinss/dumper/console'

console.log(dump(value))

0.1.0-beta.6 (2024-08-27)

Bug Fixes

Features

Release 0.1.0-beta.5

25 Aug 15:35
Compare
Choose a tag to compare
Release 0.1.0-beta.5 Pre-release
Pre-release

0.1.0-beta.5 (2024-08-25)

Features

  • remove shell, head and title and use minimal arrow (543853f)

Release 0.1.0-beta.4

23 Aug 18:15
Compare
Choose a tag to compare
Release 0.1.0-beta.4 Pre-release
Pre-release

0.1.0-beta.4 (2024-08-23)

Features

  • export HTMLDumpConfig type (6b41c26)

Release 0.1.0-beta.3

23 Aug 18:00
Compare
Choose a tag to compare
Release 0.1.0-beta.3 Pre-release
Pre-release

0.1.0-beta.3 (2024-08-23)

Support for new themes, shell, title and source link

23 Aug 17:33
Compare
Choose a tag to compare

0.1.0-beta.2 (2024-08-23)

Bug Fixes

  • closing div tag and prefix ids to always start with a letter (0102411)

Features

  • add shell, title and source link support in HTML formatter (dafe2d7)

Add helpers for head style and script tags

23 Aug 10:25
Compare
Choose a tag to compare

In order to make the HTML formatter output interactive it requires JavaScript and CSS. You can grab that HTML and CSS from the following helpers and inject it inside the head tag. Ideally, multiple integrations will be required for different frameworks to make this process seamless.

import { createStyleSheet, createScript } from '@poppinss/dumper/html'

<html>
<head>
   <style> {{ createStyleSheet }} </style>
   <script> {{ createStyleSheet }} </style>
</head>
</html>

0.1.0-beta.1 (2024-08-23)

Features

  • add helpers to generate styles and script (bb075b9)

First beta release with HTML formatter

23 Aug 05:26
Compare
Choose a tag to compare
Pre-release

0.1.0-beta.0 (2024-08-23)

Features

  • add night owl html formatter theme (ef442c8)
  • initial working commit with parser and HTML formatter (6c9369e)